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

3D-Printed Clawd Mascot with ESP32-Powered Mochi Bot
A developer built a physical 3D Clawd inspired by the Claude Code mascot, with an ESP32-driven Mochi bot featuring a small display. Files and code available on MakerWorld and GitHub.

Reflect MCP Server Implements Reflexion Paper for Persistent Coding Agent Memory
A developer implemented the Reflexion paper (Shinn et al., NeurIPS 2023) as an MCP server to give local coding agents persistent memory of their mistakes. The system uses regex-based pattern matching on error messages and stores lessons in SQLite with FTS5.

ClawProxy: Self-Hosted AI Routing Proxy for Rotating Free-Tier API Keys
ClawProxy is a self-hosted AI routing proxy that manages multiple free-tier AI API keys to avoid rate limits and provider overloads. It features in-flight key rotation, weighted load balancing, model translation, and a dashboard with deep-parsed logs.

LamBench: A Lambda Calculus Benchmark Suite for AI Coding Agents
LamBench is a benchmark suite evaluating AI agents on lambda calculus tasks, measuring intelligence, speed, and elegance. The v1 release includes problems and a matrix of scores.