vaults
Agent skill fromccplugins/awesome-claude-code-plugins
Manage registered Bedrock vaults. List all vaults, set a default vault, or remove a vault from the registry. The registry lives in the plugin directory and maps vault names to filesystem paths. Use when: "bedrock vaults", "bedrock-vaults", "/bedrock:vaults", "list vaults", "set default vault", "remove vault", "show vaults", "which vault", "my vaults", or when a user wants to manage their registered vaults.
How to install vaults
install vaults
# install the awesome-claude-code-plugins pack with the skills CLI
npx skills add ccplugins/awesome-claude-code-plugins# or add only this skill to Claude Code: copy the folder
plugins/bedrock/skills/vaults/
# into
~/.claude/skills/vaults/ (all projects)
.claude/skills/vaults/ (one project)
1# /bedrock:vaults — Vault Management23## Plugin Paths45The vault registry lives in the plugin root directory, not in any vault.6Use the "Base directory for this skill" provided at invocation to resolve paths:78- Vault registry: `<base_dir>/../../vaults.json`9- Plugin CLAUDE.md: `<base_dir>/../../CLAUDE.md` (auto-injected into context)1011Where `<base_dir>` is the path shown in "Base directory for this skill".1213---1415## Overview1617This skill manages the global vault registry — the file that maps vault names to18filesystem paths and tracks which vault is the default.1920**You are a management agent.** This skill is read-only with respect to vaults themselves —21it never reads or modifies vault entities, never runs git operations inside vaults, and22never touches `.bedrock/config.json`. It only reads and writes the registry file (`vaults.json`).2324---2526## Phase 0 — Parse Input2728Parse the user's input to determine the command mode:2930| Input pattern | Mode | Variables |31|---|---|---|32| No flags / empty / `list` | **list** | — |33| `--set-default <name>` | **set-default** | `TARGET_NAME = <name>` |34| `--remove <name>` | **remove** | `TARGET_NAME = <name>` |3536If the input doesn't match any pattern, default to **list** mode.3738---3940## Phase 1 — Read Registry4142Resolve the registry path:4344```45REGISTRY_PATH = <base_dir>/../../vaults.json46```4748Read the registry file:4950```bash51cat <REGISTRY_PATH> 2>/dev/null52```5354**If the file does not exist or is empty:**55…
Excerpt shown under the repository's Apache-2.0 license.
