Contextpack — AI skill for Claude Code
Compile a repository into a lean, reusable context bundle for AI agents (Claude, GPT, Codex, Cursor): architecture, locked decisions, recent changes, current milestone - and warn when a proposal viola.
How to install Contextpack
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open beernathan87/contextpack and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Contextpack does
Compile a repository into a lean, reusable context bundle for AI agents (Claude, GPT, Codex, Cursor): architecture, locked decisions, recent changes, current milestone - and warn when a proposal violates a locked decision.
Alternatives in AI
- Delphi Complier MCP Server — Delphi Complier MCP Server for AI agent, Used for compile project and file to check ai code result 47 ★
- LLM Wiki Claude Skill — Karpathy-style LLM Wiki as a Claude Code skill — persistent markdown knowledge base with ingest/query/lint/com 13 ★
- Nab — Token-lean web microfetch for LLM agents: any URL → clean markdown via CLI, MCP server, and Claude Code plugin 12 ★
README
contextpack
Compile a repository into a lean, reusable context bundle for AI agents - Claude, GPT, Codex, Cursor, anything that reads a file. It preserves **decisions and constraints**, not just file summaries, and it warns when a proposal violates a locked decision.
npx contextpack . # writes CONTEXTPACK.md
npx contextpack . --for all # + CLAUDE.md, AGENTS.md, .cursor/rules/contextpack.mdc, contextpack.gpt.txt, contextpack.json
npx contextpack . --budget 6k # target ~6k estimated tokens (low-value sections trimmed first)
npx contextpack check plan.md # does this plan violate a locked decision? exit 2 if so
git diff | npx contextpack check . -
npx contextpack check . --staged # pre-commit: check staged changes
Zero dependencies, Node 20+. Nothing leaves your machine.
What goes in the bundle
- Identity - name, README's first paragraph, branch.
- Stack - runtime, languages, frameworks (from manifests), entry points, tests, scripts, Docker.
- Locked decisions - the part agents keep re-litigating. Rendered as rules with rationale, scope, and "do not introduce" lists.
- Current milestone / open work - unchecked boxes from
TODO.md/ROADMAP.md/CURRENT_TASK.md/.agent/*.md, plusTODO/FIXMEmarkers in code. - Architecture - directory layout with counts, most-imported local modules (JS/TS/Python import graph), largest files.
- Recent changes - last commits with touched files, hot files of the last 14 days, uncommitted work.
- How to work here - conventions derived from the above, including the test command.
Sections have priorities; `--budget` drops complete low-priority sections first. Identity and locked decisions are always retained, even if they exceed the budget. Tokens are estimated as JavaScript string length / 4 (rounded up), not counted with a model tokenizer; export wrappers and structured JSON are outside this budget.
Recording decisions
Any of these are pi
Related Skills
Project Recap
Generate a visual HTML project recap — rebuild mental model of a project's current state, recent decisions, an
Concept Update
Sweep recent changes and update the LLM-Wiki repo's concept docs, architecture diagram, AGENTS.md, and memory.
LLM Wiki Bootstrap
Bootstrap a compile-first knowledge system into the current project
Multipov Code
Run a multi-agent code review on $ARGUMENTS (default: current branch changes) via the multipov.ai MCP server.
Multipov Performance
Run a multi-agent performance-focused code review on $ARGUMENTS (default: current branch changes) via the mult
Agentfund MCP
Crowdfunding for AI agents. Milestone-based escrow on Base chain for proposals, project tracking, and payments
Related Agents
Gpt5 Cursor
Use this agent when you need to use gpt-5 for deep research, second opinion or fixing a bug. Pass all the cont
Flutter Template Refiner
Expert in iterative application-to-template refinement for Flutter applications. Use when stripping functional
Biz Model
Business analysis and business model proposal. Use to define a business model, create a Lean Canvas, or evalua