vault-capture
Skill10 starsChanged 39 days agoMITView on GitHub
Captures an important insight, decision, constraint, pattern, or discovery to persistent memory via the vault CLI — distinct from general note-taking in that entries are tagged, tiered, and retrievable across future sessions. Use when the user says "save this", "remember this", "note for later", "don't forget", or "keep this in mind", or when the conversation produces something worth preserving: architectural decisions, recurring bugs, hard-won constraints, naming conventions, or user preferences.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- anotherben/claude-harnesstheir own version, first seen Nov 8, 2026
- meaningfy-ws/skillerytheir own version, first seen Oct 27, 2026
- sjkeller/second-brain-templatetheir own version, first seen Oct 9, 2026
- jayantak/vaultmemtheir own version, first seen Jul 23, 2026
- angelestrada14019/obsidian-second-braintheir own version, first seen Jul 8, 2026
- az9713/claude-code-obsidiantheir own version, first seen Mar 28, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- anotherben/claude-harness★ 7same name
- az9713/claude-code-obsidian★ 4same name
- jayantak/vaultmem★ 3same name
- meaningfy-ws/skillery★ 2same name
- sjkeller/second-brain-template★ 2same name
- angelestrada14019/obsidian-second-brain★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository81 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/development/biome-complete/AGENTS.mdAGENTS.md
- skills/development/bun-development/AGENTS.mdAGENTS.md
- skills/development/commanderjs/AGENTS.mdAGENTS.md
- skills/documentation/markdown-authoring/AGENTS.mdAGENTS.md
- skills/package-mgmt/mise-complete/AGENTS.mdAGENTS.md
- skills/testing/bdd-testing/AGENTS.mdAGENTS.md
- agents-mdSkill
- cache-auditSkill
- context-radar-auditSkill
- create-contextSkill
- guided-interviewSkill
- handover-document-creatorSkill
- load-contextSkill
- pick-modelSkill
- pinSkill
- professional-honestySkill
- rules-managementSkill
- save-contextSkill
- session-reflectionSkill
- socratic-methodSkill
- vault-consolidateSkill
- vault-fetchSkill
- vault-searchSkill
- bird-fortune-political-satireSkill
- brooker-esque-media-satireSkill
- clarke-dawe-esqueSkill
- comedy-style-skill-generatorSkill
- cunk-esque-mockumentarySkill
- gervais-esque-cringe-satireSkill
- monty-python-esqueSkill
- pryor-esque-confessional-standupSkill
- rock-esque-observational-standupSkill
- biome-completeSkill
- bun-developmentSkill
- commanderjsSkill
- conventional-commitsSkill
- humanizerSkill
- journal-entry-importSkill
- markdown-authoringSkill
- mermaid-diagramsSkill
- plain-englishSkill
- professional-communicationSkill
- sop-structureSkill
- logql-generatorSkill
- mise-completeSkill
- context-indexSkill
- create-context-fileSkill
- follow-upSkill
- goal-trackerSkill
- nasa-pm-lessonsSkill
- plan-createSkill
- plan-executeSkill
- plan-reviewSkill
- risk-registerSkill
- tech-debtSkill
- tech-evaluationSkill
- blast-radiusSkill
- bridgeSkill
- challengeSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Before capturing, answer two questions:
- Very specific: line 22
Is this time-bound?: If yes → episodic. If no, continue.
- Very specific: line 23
Is this a how-to process?: If yes → procedural. If no → semantic.
- Very specific: line 25
Always capture with --project when working in a project context.
- Distinctive: line 31
Use whenever the conversation produces:
- Very specific: line 44
Always double-quote the --text value to handle apostrophes and special characters.
- Very specific: line 73
Never omit
--project: when working inside a project — global memories pollute cross-project searches
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
vault-capture
Persist a memory to the vault so it can be retrieved in future sessions.
Mindset
Before capturing, answer two questions:
- Is this time-bound? If yes →
episodic. If no, continue. - Is this a how-to process? If yes →
procedural. If no →semantic.
Always capture with --project when working in a project context. Always add
--tags with at least two relevant keywords — they are the primary BM25 signal
for future retrieval.
When to use
Use whenever the conversation produces:
- A confirmed decision ("we're using X instead of Y")
- A constraint that must not be violated
- A recurring bug or workaround
- A project convention or naming pattern
- A user preference expressed explicitly
How to use
vault-cli capture --text "<memory content>" [--tier episodic|semantic|procedural] [--project <id>] [--tags tag1,tag2]Always double-quote the --text value to handle apostrophes and special characters.
Or pipe from stdin:
echo "<memory content>" | vault-cli captureTier selection
| Question | Answer | Tier |
| Is this tied to today's session or a specific event? | Yes | episodic (default) |
| Is this a rule, fact, or convention that should persist indefinitely? | Yes | semantic |
| Is this a step-by-step process or how-to? | Yes | procedural |
Examples
vault-cli capture --text "Decided to use Bun instead of Node for all scripts. Reason: workspace protocol support." --tier semantic --tags bun,tooling --project vault-core
vault-cli capture --text "Never use --force-push on main. CI enforces branch protection." --tier procedural --tags git,ci
vault-cli capture --text "Auth service fails silently when DB not ready — add depends_on with condition: service_healthy in docker-compose." --tier episodic --tags docker,auth,bug --project apiNever
- Never omit
--tierfor a rule or convention — defaulting toepisodicmeans it will decay and be consolidated away - Never capture without
--tags— untagged memories score poorly in BM25 retrieval - Never omit
--projectwhen working inside a project — global memories pollute cross-project searches - Never use single quotes around
--text— apostrophes in content will break the shell command
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

