Run with npx
$ npx scopekit setup
Published on npm · Context packs · Optional MCP
Context packs for AI coding assistants
ScopeKit gives Claude, Codex, and Cursor a small task pack: files, symbols, tests, relationships, risks, and validation commands for one job.
The right files, not a graph to wander.
$ npx scopekit setup
or npm install -g scopekit && scopekit setup
Scoped benchmark results. Context-compression comparison, not a universal end-to-end token claim.
$ npx scopekit setup
$ npm install -g scopekit
$ scopekit setup
Three commands cover the common loop.
$ scopekit index .
$ scopekit pack "Find auth/session logic" --profile claude
$ scopekit query "Where is auth handled?"
$ scopekit pack "Plan a safe edit" --profile ultra
defaultultraclaudeFind auth/session logic
src/auth/login.ts login entrypoint
src/auth/session.ts session validation
src/server/auth.controller.ts API route layer
src/ui/LoginPage.tsx user login flow
controller -> session service
login page -> auth endpoint
tests -> session behavior
session changes can break login persistence
API and UI need matching assumptions
npm test
npm run test:auth
Illustrative pack. File names are an example, not files in every repo.
What the scoped benchmarks and the npm package actually showed.
Five repo-understanding tasks. ScopeKit used ~94% less supplied context and lower median Codex usage on every measured task.
ScopeKit's Claude profile used 79–88% less supplied context with equal-or-better answers on every measured task. Exact Claude token usage was not available from Cursor.
Scoped Codex MCP proofs showed 80.0% mean reduction on auth-discovery and 94.3% mean reduction on impact-analysis.
Published as scopekit. Works with npm install -g scopekit
and npx scopekit setup.
Scoped to this repo, these tasks, and these clients. Artifacts and failed runs are preserved.
| Metric | Graphify best-effort / derived | ScopeKit |
|---|---|---|
| Context size | Larger query/report context | ~94% smaller median context in Codex suite |
| Codex quality | Baseline | Equal-or-better on every measured task |
| Codex median usage | Baseline | Lower on every measured task |
| Claude quality | Baseline | Equal-or-better on every measured task |
| Claude tokens | Not captured | No Claude token claim |
| Indexing cost | LLM backend for semantic extraction / clustering | 0 external LLM indexing tokens |
In this scoped supplied-context suite, ScopeKit produced smaller task packs, matched or improved answer quality, and lowered Codex median usage.
Scoped benchmark claims, tied to specific repos, tasks, and clients (5/5 measured tasks). Not a universal superiority claim.
Graphify reports 71.5× fewer tokens than reading a full corpus. In our benchmark, ScopeKit's supplied context was about 18× smaller than Graphify best-effort on median. Using the same full-context baseline style, that is roughly 1,280× baseline-equivalent context compression.
Baseline-equivalent context compression
Context-compression comparison, not a universal end-to-end token claim.
Index repo structure
Scans files, symbols, imports, and configs locally.
Read the task
Maps the task text to relevant repo areas.
Rank what matters
Scores files, symbols, tests, and configs.
Add relationships and risks
Notes how files connect and what an edit might break.
Emit a markdown pack
Outputs a compact packet the agent can read directly.
Optional MCP
Expose the same workflow over stdio when a client wants live tools.
Graph tools are useful when you want to explore. ScopeKit is for the moment an agent needs to act.
Graphify gives the agent a graph to query. ScopeKit gives the agent the packet it needs.
scopekit is installable with npm and npx.
Indexing and packing are local.
ScopeKit does not need an external model to build task packs.
Setup writes local instruction files; it does not install into your AI account.
Use CLI packs by default; run MCP only when a client wants live tools.
Benchmarks are tied to specific repos, tasks, and clients.
These write repo-local files. For remote or cloud agents, commit them.
$ scopekit install claude
$ scopekit install codex
$ scopekit install cursor
$ scopekit install mcp
Every setup, pack, query, install, and MCP command.
Use the Claude profile for richer relationship context.
Use ultra packs when Codex should stay small.
Run ScopeKit as a stdio MCP server.
How supplied-context comparisons were measured.
What is proven, what is not.
No. Graphify is for exploring a knowledge graph. ScopeKit is for giving an agent the smallest useful task packet. They overlap, but the workflows are different.
No. Indexing and packing are local.
No for indexing and packing. It creates context that you choose to give to your assistant.
No. It writes repo-local instruction files. For remote or cloud agents, commit those files.
Yes. CLI and skill mode is the default.
Run setup, commit the generated instruction files, and the remote agent can read them.
Yes. repo-context and repo-context-mcp are deprecated
aliases.
Scoped Codex and Claude supplied-context benchmarks, plus scoped Codex MCP proofs. See docs/benchmarks.md and docs/proofs/.
No universal superiority claim, no Claude token savings claim, no MCP-vs-Graphify claim.