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.
Claude hands work to one, or you mention it with @.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Compile large codebases for machine attention.
Lazy semantic context for repositories too large to keep raw in a model window, with an exact-source path before every write.
Website · Proof · Install · How it works · Docs · Contributing
KERN is designed for large codebases. It maintains a lazy, content-addressed intermediate-language mirror of a software repository, gives coding agents a compact semantic working set, recompiles files only when their contents change or become relevant, and faults authoritative source back into context before an edit.
In the initial pilot, a 3,704-line Python file moved through three representations:
| Stage | Representation | Estimated tokens | Compression vs. source |
|---|---|---|---|
| Source | Authoritative Python | 36,674 | 1.00× |
| KERN IL | Verified semantic text | 5,795 | 6.33× |
| Dense | Two lossless-WebP IL pages | 2,877 | 12.75× |
That is an estimated 92.2% representation reduction from raw source to dense pages. The selected dense layout passed the pilot's five-fact retrieval check; a more aggressive 9 px layout drifted and is not recommended.
[!IMPORTANT] These are representation estimates from one redacted pilot file—not total agent-loop savings. System instructions, tool schemas, reasoning, repeated turns, and resident context add cost. The retrieval check was small and compressor-selected; it is not a patch-correctness benchmark or a general accuracy claim.
Read the methodology, fidelity observations, and limitations.
KERN packages one canonical skill for three coding-agent environments. Install it in each environment where you want to use it.
codex plugin marketplace add enoch3712/KERN && codex plugin add kern@kern
Start a new task after installation. In the Codex desktop app, KERN can also be managed from the plugin directory.
claude plugin marketplace add enoch3712/KERN --scope user && claude plugin install kern@kern --scope user
Start a new session, or reload plugins if the skill is not yet visible.
git clone --depth 1 https://github.com/enoch3712/KERN.git ~/.cursor/plugins/local/kern
Restart Cursor or run Developer: Reload Window.
For project-local installation, updates, uninstallation, and compiler-model routing, see the installation guide.
KERN activates when an agent needs to understand a large repository, refresh changed context, answer from compressed code, or prepare an exact-source edit. A useful first request is:
Use KERN to map this repository. Report changed, stale, and missing IR pages,
then load the architecture without editing source.
KERN creates a disposable .kern/ mirror beside the repository:
.kern/
├── manifest.json
├── config.json
├── ir/<source-path>.kern-il.txt
├── images/<source-path>/page-*.webp
├── jobs/<source-path>.job.json
└── staging/...
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.
Plugins from other owners that cover similar ground