contextvault

Store project and reusable knowledge in a two-tier markdown vault.

8|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/ahmadzein/ContextVault --skill contextvault
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: contextvault
Source: https://github.com/ahmadzein/ContextVault/tree/main/docs
Command: npx skills add https://github.com/ahmadzein/ContextVault --skill contextvault

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

ContextVault solves the session-death problem by persisting your project knowledge as structured markdown documents, so your AI coding assistant doesn’t lose important decisions, fixes, and learnings between sessions.

Core Features & Use Cases

  • Two-tier vault (Global + Project): Save reusable patterns in the global vault and project-specific context in the project vault for fast, relevant loading.
  • Milestone documentation commands: Capture learnings, bug fixes, architectural decisions, and plans using dedicated commands.
  • Index-driven retrieval: Read compact index files at session start and load only the most relevant documents when needed.
  • Session handoffs: Generate continuity summaries so the next session can resume with minimal re-explaining.
  • Works via MCP or native Claude Code integration: Use the MCP server for any MCP-compatible AI tool, or native slash commands/hooks for Claude Code.

Quick Start

Ask your AI assistant to initialize ContextVault in your current project by running the ctx_init command.

Frequently Asked Questions about contextvault

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I persist AI coding session context for cross-session documentation?

Cross-session documentation is achieved by storing project knowledge and architectural decisions in a two-tier markdown vault, enabling persistent context retrieval and session handoffs across repeated AI coding sessions.

What is the best way to generate session handoffs for AI coding assistants?

Generating session handoffs involves creating continuity summaries from your stored markdown vault, allowing the next AI coding session to resume work with minimal re-explaining of previous bug fixes and plans.

Can I use MCP server tools to manage architectural decision records for AI?

Yes, an MCP server provides dedicated tools like ctx_decision and ctx_doc to manage architectural decision records, storing them as structured markdown documents for AI assistants to retrieve via index-based routing.

Does ContextVault work with native Claude Code slash commands or only MCP?

ContextVault works with both native Claude Code slash commands and an MCP server, providing consistent vault routing and index-based retrieval for any MCP-compatible AI tool.

How do I structure reusable coding patterns separately from project-specific bug fixes?

You structure them using a two-tier vault system, saving reusable patterns in the global vault and project-specific context like bug fixes in the project vault for fast, relevant loading.

When do I need to initialize a documentation vault for my AI coding project?

You need to initialize a documentation vault when starting a project requiring continuity, running the ctx_init command to set up the markdown storage structure for capturing learnings and plans.