Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Pinperepettev1.34.0MITIn 1 marketplace
Cuts token use in Claude Code sessions by projecting tool outputs and repo context onto the task's working set. Claims −79% end-to-end savings on a real session; hooks rewrite tool outputs and can block edits to files cited in a task charter.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Via selectionis: of everything the repository affords, only the task-indexed path is lit. The rest is not deleted — it remains as roots, omnia possibilia, one page fault away. Solum quod refert, manet.
Context engineering for Claude Code, Codex and AI coding agents: task-induced context optimization with measured answer preservation.
context-kernel is an open-source context engineering framework for coding agents: repositories and tool outputs get projected onto task-equivalent working sets, cutting token usage — measurably — without changing what the agent can answer.
Modern coding agents waste most of their context window on information that is irrelevant to the current task. context-kernel — a native Claude Code plugin, with a Pi port, a Codex fallback and MCP tools any AI coding assistant can call — reduces that context while preserving the agent's ability to solve the task: the repository is projected onto a representative of its equivalence class with respect to the task. Deterministic, stdlib-only, zero API keys — and every claim below is measured, not estimated, and reproducible from this repository.
"There is no such thing as the context" is not a slogan: there is no task-independent context. A context only exists with respect to a task, and the task is what induces the projection (the model). context-kernel is one implementation; the underlying idea — task-induced context projection — is independent of Claude Code and applies to local or hosted coding agents alike.
This is not compression. gzip makes text smaller and unreadable; normalization maps a context to a canonical, smaller member of the same answer-equivalence class. The output is still code, still readable, still sufficient — by construction where possible, by measurement everywhere else.
One real measured case (Django, from the sufficiency benchmark):
Repository: Django — 2,972 source files
│
▼ task-induced projection (the symptom: one traceback)
Task state: 44 files (−98.5% of the repository)
│
▼
Agent solves the same bug — sufficiency verified: the raise site
is in the working set for 60/60 real fault cases
The whole project is this arrow, made deterministic, measured, and safe to rely on (how).
Claude Code, native plugin — no API key, no config, nothing to sign up for:
/plugin marketplace add pinperepette/context-kernel
/plugin install context-kernel
The hooks now normalize tool outputs automatically. You'll see a
[context-kernel: …] footer on long outputs and the cumulative savings in the
status line; confirm it's live with /hooks and /plugin.
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub pinperepette/context-kernel --plugin context-kernelPlugins from other owners that cover similar ground