SuperContext: A Persistent Memory Framework for AI Coding Agents

What SuperContext Solves
The developer built this after 1,500+ sessions and months of daily use across 60+ projects, getting tired of re-explaining their codebase every session. The core problem they identified: typical solutions involve making instruction files larger, but a 2,000-line CLAUDE.md eats context window space before questions are asked, and AI ends up ignoring half of it.
Architecture: Targeted Files Instead of Monolithic Docs
SuperContext takes the opposite approach with small, targeted files loaded only when relevant:
- Constitution (~200 lines, always loaded): Global rules, routing, preferences
- Living Memory (~50 lines, always loaded): Behavioral gotchas that prevent repeated mistakes
- Project Brains (loaded on entry): Per-project business rules, schemas, changelogs
- Knowledge Store (on demand): Searchable SQLite database for infrastructure, APIs, reference data
- Session Memory: Automatic conversation logging so your AI recalls past decisions
What's Included
The repository contains two main components:
- The full guide covering theory, architecture, anti-patterns, and tool-specific setup for Claude Code, Cursor, Copilot, Codex, Aider, and others
- An executable prompt that you hand to your AI with the instruction "run this" - it discovers your projects, migrates existing content, and builds the whole system in approximately 10 minutes with no manual setup
Development Context
The framework was developed while building construction management integrations (Vista, Procore, Monday.com), where getting context wrong means real production problems. The developer reports that with this system, their AI went from "helpful but forgetful" to genuinely knowing their systems.
📖 Read the full source: r/ClaudeAI
👀 See Also

Jan Adds One-Click OpenClaw Installation with Jan-v3-Base Model Integration
Jan now supports one-click installation of OpenClaw with direct integration to the Jan-v3-base model, keeping all operations local and private on your computer.

Off Grid: Utilizing Phone Hardware for Offline AI Applications
Off Grid is an open-source app that uses your phone's hardware for offline AI tasks like text generation and voice transcription.

Custom Output Styles Collection for Claude Code
A developer has created 13 custom output styles for Claude Code that modify the AI's behavior through system prompts. The styles include Roast for brutal code critique, Socratic for guided questioning, Breaker for adversarial testing, Ship It for pragmatic solutions, Paranoid for security focus, and TDD for test-driven development.

nah: A context-aware permission guard for Claude Code
nah is a PreToolUse hook that intercepts every tool call in Claude Code, classifying commands by action type like filesystem_read or git_history_rewrite and applying policies based on context. It runs a deterministic classifier in milliseconds with optional LLM escalation for ambiguous cases.