vaults
/vaults
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.
- Author
- ccplugins ↗
- Repository
- awesome-claude-code-plugins ↗
- Licence
- Apache-2.0
- Last repository change
- 12.08.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 12.08.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
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.
Triggers from the description
Original author description
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 it works
- Plugin Paths
- Overview
- Phase 0 — Parse Input
- Phase 1 — Read Registry
- Phase 2 — Execute Command
- Phase 3 — Write Registry
- Critical Rules
SKILL.md preview
---
name: vaults
description: >
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.
user_invocable: true
allowed-tools: Bash, Read, Write, Edit, Glob, Grep
---
# /bedrock:vaults — Vault Management
## Plugin Paths
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:
- Vault registry: `<base_dir>/../../vaults.json`
- Plugin CLAUDE.md: `<base_dir>/../../CLAUDE.md` (auto-injected into context)
Where `<base_dir>` is the path shown in "Base directory for this skill".
---
## Overview
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`).
---
## Phase 0 — Parse Input
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.
---
## Phase 1 — Read Registry
Resolve the registry path:
```
REGISTRY_PATH = <base_dir>/../../vaults.json
```
Read the registry file:
```bash
cat <REGISTRY_PATH> 2>/dev/null
```
**If the file does not exist or is empty:**
- For **list** mode: display "No vaults registered. Run `/bedrock:setup` in a vault directory to register your first vault."
- For **set-default** and **remove** modes: display "No vaults registered. Nothing to modify." and exit.
**If the file exists:** parse the JSON. Expected schema:
```json
{
"vaults": [
{
"name": "<string>",
"path": "<absolute-path>",
"default": true | false
}
]
}
```
Store the parsed vaults array as `VAULTS`.
---
## Phase 2 — Execute Command
### 2.1 List Mode
For each vault in `VAULTS`, check if the path still exists on disk:
```bash
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 |
```
- The `Default` column shows `*` for the default vault
- The `Status` column shows `ok` if the directory exists, `missing` if it does not
If 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.
```
### 2.2 Set-Default Mode
1. Find the vault with `name == TARGET_NAME` in `VAULTS`
2. If not found: display "Vault `<TARGET_NAME>` is not registered. Available vaults:" followed by a list of names. Exit.
3. If found:
- Set `"default": false` on all vaults
- Set `"default": true` on the matching vault
- Write the updated registry back to `REGISTRY_PATH`
- Display: "Default vault set to `<TARGET_NAME>` (<path>)."
### 2.3 Remove Mode
1. Find the vault with `name == TARGET_NAME` in `VAULTS`
2. If not found: display "Vault `<TARGET_NAME>` is not registered. Available vaults:" followed by a list of names. Exit.
3. If found:
- Remove the entry from `VAULTS`
- If the removed vault was the default AND other vaults remain, mark the first remaining vault as default and inform the user
- Write the updated registry back to `REGISTRY_PATH`
- Display: "Vault `<TARGET_NAME>` removed from registry. Files on disk were NOT deleted (<path>)."
---
## Phase 3 — Write Registry
When writing the registry (set-default or remove modes), use the Write tool to overwrite `REGISTRY_PATH` with the updated JSON:
```json
{
"vaults": [
{ "name": "...", "path": "...", "default": true },
{ "name": "...", "path": "...", "default": false }
]
}
```
Format the JSON with 2-space indentation for readability.
---
## Critical Rules
| # | 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 |
Versions
The database has no other skills named vaults.
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version da6395525aff (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 91setup
Initialize any folder as a Bedrock-powered Obsidian vault. Creates entity directories, copies templates, configures language and domain taxonomy, scaffolds connected example entities, and checks dependencies. Use when: "bedrock setup", "bedrock-setup", "/bedrock:setup",… - 91setup
Initialize any folder as a Bedrock-powered Obsidian vault. Creates entity directories, copies templates, configures language and domain taxonomy, scaffolds connected example entities, and checks dependencies. Use when: "bedrock setup", "bedrock-setup", "/bedrock:setup",… - 90using-obsidian
Manage Obsidian vault workflows. Use when managing daily notes, setting up vaults, saving conversation summaries, processing files, creating diagrams, or cleaning up vaults. 筆記・日記・整理。ノート・日記・整理。 - 100managing-obsidian-vaults
Interactive vault, wiki and Super-RAG setup in the main conversation. Use for "set up my wiki", "initialize the full knowledge stack" or combined RLM/vector/wiki setup. Manage Obsidian vaults and LLM wikis: initialize vaults, author Markdown and wikilinks, safely edit notes and… - 100list-contexts
List all CONTEXT files across code/, projects/, repos/, and vaults/ with status and metadata. Use when viewing context registry, checking saved sessions, or syncing INDEX.md. Triggers include "list contexts", "show contexts", "context registry", "sync index". - 98obsidian-vault-manager
This skill should be used when the user asks to "manage Obsidian vault", "create a daily note", "move notes without breaking links", "search vault content", or "organize Obsidian notes". Automatically activates when working with Obsidian vaults, markdown notes with…