By finereli
Give your coding agent architectural memory. Processes git history into developer-notes-style models.
Give your coding agent architectural memory.
code-aware processes git history to build a mental model of your codebase — not just what exists, but why it was built that way and how it evolved. The output is a set of developer-notes-style markdown files that any coding agent can read before making changes.
Works with Claude Code, Codex, Copilot, Cursor, and any tool that supports the Agent Skills standard.
In Claude Code, run:
/plugin marketplace add finereli/code-aware
/plugin install code-aware@finereli
That's it. The skill is now available across all your projects.
For development or if you prefer a local install:
git clone https://github.com/finereli/code-aware.git ~/code-aware
cd ~/code-aware && npm install
claude --plugin-dir ~/code-aware
git clone https://github.com/finereli/code-aware.git ~/code-aware
cd ~/code-aware && npm install
ln -s ~/code-aware/skills/code-aware ~/.claude/skills/code-aware
Your agent will discover code-aware automatically and use it when relevant.
Ask your agent to scan the codebase — code-aware automatically uses whatever LLM is available in your environment (Haiku on Claude Code, GPT-4.1-mini on Codex).
Or run manually:
cd /path/to/your/project
~/code-aware/skills/code-aware/scripts/scan.sh
The default quick scan processes the last 50 commits (~2 minutes). For full history:
~/code-aware/skills/code-aware/scripts/scan.sh . --full
Output lands in .code-aware/:
index.md — list of all models with descriptionsmodels/*.md — one file per architectural componentINSIGHTS.md — six opinionated observations about the codebaseModels are adaptive — no hardcoded categories. The system samples observations from your actual codebase and discovers the right boundaries. A Flutter app gets different models than a Python CLI or a Cloudflare Workers API.
Each model file reads like a senior developer's personal notes:
# Contact Management
> CRUD operations, referral tracking, follow-up scheduling, and archiving
## Follow-up Scheduling
- Follow-ups include both `followup_date` and `followup_type` fields.
Both must remain synchronized — partial updates caused 500 errors previously.
- UI refactored from two-step modal to single dialog...
## Important Invariants
- Entries with `removed_at` set are excluded from active listings and statistics.
- Only entries with neither timestamp set are considered "active and pending."
...
Real file names, real function names, actual gotchas and invariants. Not a database dump — useful context.
code-aware creates a virtuous cycle: the more context your agent has about the codebase, the better its commit messages become. Better commit messages feed richer information back into the models. The system improves its own input quality over time.
After committing new work, sync to process only new commits:
~/code-aware/skills/code-aware/scripts/sync.sh
Check staleness without updating:
~/code-aware/skills/code-aware/scripts/status.sh
Or just ask your agent — the skill knows when to check and update.
code-aware auto-detects your LLM provider from environment variables:
| Provider | Key | Default model | Default insights model |
|---|---|---|---|
| OpenAI | OPENAI_API_KEY | gpt-4.1-mini | gpt-4.1 |
| Anthropic | ANTHROPIC_API_KEY | claude-haiku-4 | claude-sonnet-4 |
Override with:
| Variable | Description |
|---|---|
CODE_AWARE_MODEL | Override the model for observation extraction and synthesis |
CODE_AWARE_INSIGHTS_MODEL | Override the model for codebase insights |
.code-aware/MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub finereli/code-aware --plugin code-awareDisciplined refactoring using small, verifiable steps based on Fowler's 'Refactoring' and Feathers' 'Working Effectively with Legacy Code'
OpenLTM — Long-Term Memory for AI coding agents: semantic search, context injection, session learning
Full AI context layer over MCP — tree-sitter code-map, document RAG (PDF/Office/HTML/email + OCR + reranker), shared agent memory, on-demand web crawl, git history + blame + per-symbol diff. 300+ languages, 8 coding-agent harnesses, content-addressed Fjall + LanceDB.
AI-powered codebase understanding assistant. Learn design patterns, analyze impact, trace code flows, and understand any codebase through information theory principles. Includes 6 Agent Skills for automatic analysis triggering.
Codebase intelligence for Claude Code. Indexes your codebase into five layers (Graph, Git, Docs, Decisions, Code Health) and exposes them through nine task-shaped MCP tools — so Claude understands architecture, ownership, hotspots, why code is built the way it is, and where the defect risk lives.
Codebase exploration, refactoring, and quality analysis
Personal Claude Code + Codex dev stack: security hooks, AI-first code conventions, /security-review, /repo-map, /stack-check, portable statusline. Designed to complement other skills-based plugins, not replace them.