/bedrock:vaultsfrom bedrock
Manages the Bedrock vault registry: lists registered vaults with disk status, sets a default vault, or removes vaults from the registry.
Ships in bedrock. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The vault registry lives in the plugin root directory, not in any vault. Use the "Base directory for this skill" provided at invocation to resolve paths:
<base_dir>/../../vaults.json<base_dir>/../../CLAUDE.md (auto-injected into context)Where <base_dir> is the path shown in "Base directory for this skill".
This skill manages the global vault registry — the file that maps vault names to filesystem paths and tracks which vault is the default.
You are a management agent. This skill is read-only with respect to vaults themselves —
it never reads or modifies vault entities, never runs git operations inside vaults, and
never touches .bedrock/config.json. It only reads and writes the registry file (vaults.json).
Parse the user's input to determine the command mode:
| Input pattern | Mode | Variables |
|---|---|---|
No flags / empty / list | list | — |
--set-default <name> | set-default | TARGET_NAME = <name> |
--remove <name> | remove | TARGET_NAME = <name> |
If the input doesn't match any pattern, default to list mode.
Resolve the registry path:
REGISTRY_PATH = <base_dir>/../../vaults.json
Read the registry file:
cat <REGISTRY_PATH> 2>/dev/null
If the file does not exist or is empty:
/bedrock:setup in a vault directory to register your first vault."If the file exists: parse the JSON. Expected schema:
{
"vaults": [
{
"name": "<string>",
"path": "<absolute-path>",
"default": true | false
}
]
}
Store the parsed vaults array as VAULTS.
For each vault in VAULTS, check if the path still exists on disk:
test -d "<vault_path>" && echo "exists" || echo "missing"
Present a table:
## Registered Vaults
| Name | Path | Default | Status |
|---|---|---|---|
| my-vault | /Users/me/vaults/my-vault | * | ok |
| team-vault | /Users/me/vaults/team-vault | | ok |
| old-vault | /Users/me/vaults/old-vault | | missing |
Default column shows * for the default vaultStatus column shows ok if the directory exists, missing if it does notIf any vault has status missing, add a note:
> Vaults marked as "missing" have paths that no longer exist on disk.
> Run `/bedrock:vaults --remove <name>` to clean up, or re-create the vault at the registered path.
name == TARGET_NAME in VAULTS<TARGET_NAME> is not registered. Available vaults:" followed by a list of names. Exit."default": false on all vaults"default": true on the matching vaultREGISTRY_PATH<TARGET_NAME> ()."name == TARGET_NAME in VAULTS<TARGET_NAME> is not registered. Available vaults:" followed by a list of names. Exit.VAULTSREGISTRY_PATH<TARGET_NAME> removed from registry. Files on disk were NOT deleted ()."When writing the registry (set-default or remove modes), use the Write tool to overwrite REGISTRY_PATH with the updated JSON:
{
"vaults": [
{ "name": "...", "path": "...", "default": true },
{ "name": "...", "path": "...", "default": false }
]
}
Format the JSON with 2-space indentation for readability.
| # | Rule |
|---|---|
| 1 | NEVER modify vault files — this skill only touches vaults.json |
| 2 | NEVER run git operations — no git pull, commit, push, or any git command |
| 3 | NEVER delete files on disk — --remove only removes the registry entry |
| 4 | ALWAYS validate vault name exists before set-default or remove |
| 5 | ALWAYS check path existence when listing vaults — flag missing paths |
| 6 | ALWAYS maintain exactly one default — if the default is removed, auto-assign the first remaining vault |
| 7 | Vault names are kebab-case — lowercase, no spaces, no special characters beyond hyphens |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
10 skills in this plugin
/askAdaptive vault reader skill. Receives a natural language question, uses graph.json as the primary index (Phase 2.0) before any glob/grep, then self-assesses whether more context is needed. Escalates to live /graphify only when graph coverage is insufficient, or to /bedrock:learn for remote content ingestion. Answers simple questions with zero graphify calls. Use when: "bedrock ask", "bedrock-ask", "/bedrock:ask", any question about the vault, "what do we know about", "who owns", "what's the status of", "tell me about", "how does it work", or any Second Brain query.
/compressVault alignment engine. Detects and fixes 5 types of structural misalignments: broken backlinks, concept fragmentation, entity miscategorization, duplicated entities, and misnamed entities. Delegates all writes to /bedrock:preserve. Supports interactive mode (user confirmation) and cron mode (autonomous mechanical fixes + queued semantic proposals). Use when: "bedrock compress", "bedrock-compress", "align vault", "fix backlinks", "fix misalignments", "/bedrock:compress".
/confluence-to-markdownInternal fetcher module for Confluence pages. Fetches content via Atlassian MCP (preferred), REST API with Basic Auth (fallback), or browser DOM extraction via Claude in Chrome (last resort) and returns Markdown. Used by /bedrock:learn and /bedrock:sync — not intended for direct user invocation.
npx claudepluginhub iurykrieger/claude-bedrock --plugin bedrock2 plugins ship this exact skill · first indexed Jul 17, 2026
Other plugins' skills for the same job