Help us improve
Share bugs, ideas, or general feedback.
Automatic context engineering - project conventions accumulate and refine as you code
npx claudepluginhub tumblecat44/auto-contextAutomatic context engineering - project conventions accumulate and refine as you code
Harness-native ECC skills, hooks, rules, MCP conventions, and operator workflows
Development marketplace for Superpowers core skills library
Open Design — local-first design app exposed to coding agents over MCP. Install once with your agent's plugin command and projects/files/skills are reachable through stdio.
Share bugs, ideas, or general feedback.
Auto-Context is a Claude Code plugin that automatically accumulates and refines project context as you code. Instead of manually maintaining CLAUDE.md, it observes your sessions, extracts coding patterns, detects anti-patterns from corrections, and progressively updates CLAUDE.md so Claude gets smarter about your project over time.
Think of it as Peter Steinberger's hand-crafted "organizational scar tissue" approach — but automated.
It starts the moment you open a Claude Code session. Auto-Context injects your project's accumulated conventions into CLAUDE.md — conventions it learned from watching you work.
As you code, it quietly observes. Every file you write, every edit you make, every command you run gets logged. When you correct Claude ("don't use semicolons", "always use named exports"), it captures that immediately with maximum confidence.
When your session ends, a pattern extraction agent analyzes the session log. It looks for intentional coding patterns — consistent naming, import styles, error handling — and separates them from incidental noise. Patterns that show up 3+ times across 2+ sessions get promoted to candidates.
But nothing reaches your CLAUDE.md without your say-so. You run /ac-review, see each candidate with its evidence, and approve, reject, or edit. Only then does it become an active convention.
Conventions that stop being relevant decay automatically. The system tracks which conventions Claude actually references, and quietly removes stale ones after 5 sessions of disuse.
The result: your CLAUDE.md stays current, relevant, and growing — without you ever having to maintain it.
First, add the marketplace:
/plugin marketplace add tumblecat44/auto-context
Then install the plugin:
/plugin install auto-context@tumblecat44-auto-context
You can also open the interactive plugin manager with /plugin, navigate to the Marketplaces tab to add the marketplace, then switch to Discover to install.
Start a new Claude Code session. You should see "Auto-Context: injecting conventions..." in the status line. Then run:
/ac-status
If it says "Auto-context is not initialized", run /ac-init to bootstrap.
/plugin update auto-context@tumblecat44-auto-context
/ac-init — Scans your project structure, tech stack, config files, and git history. Generates initial conventions with conservative confidence scores (0.6–0.9). This is your starting point — it already catches more than Claude Code's built-in /init.
Session hooks — Once initialized, everything is automatic. Seven hooks fire at different points in your session:
| Event | What happens |
|---|---|
| Session start | Injects active conventions into CLAUDE.md |
| Your message | Detects "remember this" / "don't do this" feedback |
| Tool use | Logs file writes, edits, and bash commands |
| Tool failure | Tracks error patterns |
| Session stop | Runs pattern extraction agent |
| Pre-compact | Backs up context before compression |
| Session end | Rotates session log |
/ac-review — The review gate. Candidates that have enough evidence get promoted to review_pending. You see each one with its confidence score, observation count, and file-level evidence. Approve, reject, or edit. Each decision persists immediately — no batch, no risk of losing work to context compaction.
/ac-status — Dashboard showing active conventions, pending candidates, anti-patterns, reward signals, and trend analysis. Read-only.
/ac-reset — Nuclear option. Clears all auto-context data and removes the auto-generated section from CLAUDE.md.
| Skill | Purpose |
|---|---|
/ac-init | Deep project scan and bootstrap |
/ac-status | Pipeline status dashboard |
/ac-review | Convention review gate |
/ac-reset | Clear all data |