Skip to content

AI Context SystemExternalize AI context. Enable session continuity.

3 files. 8 commands. Zero scripts. Built for Claude Code.

Quick Start

bash
# Clone and copy to your project
git clone --depth 1 https://github.com/rexkirshner/ai-context-system.git
mkdir -p /path/to/your/project/.claude
cp -r ai-context-system/.claude/commands /path/to/your/project/.claude/
cp ai-context-system/.claude/VERSION /path/to/your/project/.claude/
rm -rf ai-context-system

# In Claude Code, initialize
/init-context

This creates CLAUDE.md, context/STATUS.md, and context/DECISIONS.md.

What Gets Created

your-project/
├── CLAUDE.md              # Entry point (auto-loaded by Claude Code)
├── .claude/
│   ├── VERSION            # Installed version (6.0.2)
│   └── commands/          # 8 slash commands
└── context/
    ├── STATUS.md          # Current state + Working Set
    └── DECISIONS.md       # Decision log (why)

The Session Loop

Every session follows this pattern:

  1. Start → Read context/STATUS.md
  2. Work → Edit files in Working Set
  3. End → Run /save

That's it. No complex workflows. No validation machinery.

Commands

CommandPurpose
/init-contextCreate context files (never overwrites)
/saveUpdate STATUS.md, record decisions autonomously
/update-context-systemUpdate commands (v6.x only)
/review-securitySecurity audit (report only)
/review-performancePerformance review (report only)
/review-accessibilityAccessibility review (report only)
/review-seoSEO review (report only)
/review-costCost optimization review (report only)

Current Version

v6.0.2 — Migration Improvements

  • Two upgrade paths — Pre-v6 uses migrate-to-v6.sh script, v6.x uses /update-context-system
  • Format guards/save detects v5.x format and stops instead of corrupting files
  • Migration script — One-time bootstrap for pre-v6 → v6.0 with backup and cleanup

See full changelog →

Philosophy

The value is in the subtraction.

v5.x had 22 commands, 14 agents, and 150KB of shell scripts. It was overengineered.

v6.0 asks: what's the minimum needed for session continuity? Three files and a simple loop.