Skills for Real Engineers. Straight from my .agents directory.
preserve
Agent skill fromccplugins/awesome-claude-code-plugins
Single write point for the vault. Centralizes entity detection, textual matching, entity creation/update, and bidirectional linking. Accepts structured input (list of entities), free-form input (text, meeting notes, session context), or graphify output (graph.json + obsidian markdown from /graphify pipeline). Use when: "bedrock preserve", "bedrock-preserve", "save to vault", "record in vault", "/bedrock:preserve", or when another skill (e.g., /bedrock:teach) needs to persist entities in the vault.
How to install preserve
npx skills add ccplugins/awesome-claude-code-plugins# or add only this skill to Claude Code: copy the folder
plugins/bedrock/skills/preserve/
# into
~/.claude/skills/preserve/ (all projects)
.claude/skills/preserve/ (one project)
1# /bedrock:preserve — Single Write Point for the Vault23## Plugin Paths45Entity definitions and templates are in the plugin directory, not in the vault root.6Use the "Base directory for this skill" provided at invocation to resolve paths:78- Entity definitions: `<base_dir>/../../entities/`9- Templates: `<base_dir>/../../templates/{type}/_template.md`10- Plugin CLAUDE.md: `<base_dir>/../../CLAUDE.md` (already injected automatically into context)1112Where `<base_dir>` is the path provided in "Base directory for this skill".1314---1516## Vault Resolution1718Resolve which vault to operate on. This skill can be invoked from any directory.1920**Step 1 — Parse `--vault` flag:**21Check if the input arguments include `--vault <name>`. If found, extract the vault name and remove it from the arguments before further parsing.2223**Step 2 — Resolve vault path:**24251. **If `--vault <name>` was provided:**26 Read the vault registry at `<base_dir>/../../vaults.json`. Find the entry matching the name.27 If not found: error — "Vault `<name>` is not registered. Run `/bedrock:vaults` to see available vaults."28 If found: set `VAULT_PATH` to the entry's `path` value.29302. **If no `--vault` flag — CWD detection:**31 Read `<base_dir>/../../vaults.json`. Check if the current working directory is inside any registered vault path32 (CWD starts with a registered vault's absolute path). If multiple match, use the longest path (most specific).33 If found: set `VAULT_PATH` to the matching vault's `path`.34…
Excerpt shown under the repository's Apache-2.0 license.
More skills in awesome-claude-code-plugins
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
