Agent Memory Vault — Security skill for Claude Code
Markdown-first shared memory vault for Claude Code and Codex with SQLite, Zvec, Git, closeout, and audit.
How to install Agent Memory Vault
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open mcncarl/agent-memory-vault and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Memory Vault does
Markdown-first shared memory vault for Claude Code and Codex with SQLite, Zvec, Git, closeout, and audit.
Alternatives in Security
- Om Vault Audit — Vault Audit 4.6k ★
- Azure Key Vault .net — Cryptographic key management 1.8k ★
- Imcodes — The IM for agents 960 ★
README
Agent Memory Vault: Shared Memory for Claude Code and Codex
**English** | [简体中文](./README.zh-CN.md)
[](./LICENSE) [](https://www.python.org/)
Agent Memory Vault is a local-first, Git-backed long-term memory system that Claude Code and Codex can safely share. Markdown remains the source of truth; SQLite provides structured and full-text retrieval; optional EmbeddingGemma + Zvec adds local semantic search.
The repository contains only reusable templates, scripts, and fictional examples. Your real memories, paths, credentials, project names, and conversation content stay in your private local vault.
Why it exists
AI coding agents are useful inside one session, but durable collaboration needs more than chat history. This project provides a verifiable memory lifecycle:
- Start important work by retrieving only the relevant long-term context.
- Preserve stable facts, decisions, workflows, project state, and agent lessons as readable Markdown.
- Let Claude Code and Codex use one vault, one Git history, and one retrieval index.
- Prevent sessions from accidentally committing each other's changes with session-scoped claims.
- Validate high-impact writes with source checks, content-bound intents, approvals, and immutable receipts.
- Keep every derived store rebuildable from Markdown.
Obsidian is optional. The vault is an ordinary Markdown directory and works with any editor.
Design
Private Markdown vault (source of truth)
│
├── Git history and rollback
├── SQLite metadata + FTS search
├── optional EmbeddingGemma + Zvec semantic search
└── session claims, write intents, closeout, and audit
│
┌───────┴───────┐
│ │ │
Claude Code Codex
Related Skills
Audit Flow
Claude Code skill for interactive system flow tracing across CODE, API, AUTH, DATA, NETWORK layers. SQLite per
Peon Mem
Local-first hierarchical memory brain for AI coding agents — auto-capture, LLM consolidation, hybrid retrieval
J Config Audit
Security audit of Claude, Codex, Gemini, and shared agent configuration for secrets, over-broad permissions, a
HarnessDesk
Open-source control plane for coding agents you own — run Codex, Claude Code, Gemini, Cursor and ACP agents si
OpenVault
OpenVault: a bootstrap CLI that generates a retrieval-first Obsidian vault for SOC work (IR, DFIR, Threat Hunt
Orca
A local harness for the coding agents you already run: let Claude Code or Codex spawn and depend on subagents
Related Agents
Spec Writer.Agent
Use when discovery evidence, requirements/design/tasks, ADRs, execution-plan status, closeout records, or memo
Memory Master
Use when a repeated failure, user correction, or WF recovery loop triggers memory writing; also use during WF
Git Pull
Safely pull updates (fork/upstream aware), stash-first, resolve conflicts via memory-bank context, no auto-sta