What problem does it solve? AI coding assistants like Claude Code and Codex lose context between sessions and cannot share a consistent long-term memory. This Skill provides the operational runbook for installing, upgrading, searching, writing to, and troubleshooting the Agent Memory Vault, a shared memory system where Markdown files are the single source of truth. ## Core Features & Use Cases - Install and Upgrade Runtime: Run plan-then-apply installers on POSIX or Windows with backups, config/state migration, and fail-closed integrity checks. - Gateway-Controlled Writes: Add or update formal memory through a read-target, prepare, apply sequence with path leases, fencing tokens, and CAS protection. - Search and Retrieval: Query memory via memoryctl with SQLite/FTS and optional Zvec semantic indexing, always re-reading Markdown before trusting results. - Audit and Maintenance: Run audits, Doctor health checks, hook configuration, and troubleshooting for failed transactions or index drift. - Use Case: A developer wants Claude Code and Codex to share project memory. Use this Skill to install the vault, configure both hosts' hooks, and safely write verified facts that persist across sessions. ## Quick Start Ask the agent to install the Agent Memory Vault for Codex and Claude using the yichen-agent-memory skill, starting with the read-only install plan.