Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add Pinperepette/context-kernel/plugin install context-kernelWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/pinperepette/context-kernel/ck-doctor)<a href="https://agentmods.dev/commands/pinperepette/context-kernel/ck-doctor"><img src="https://agentmods.dev/badge/commands/pinperepette/context-kernel/ck-doctor/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/pinperepette/context-kernel/ck-doctor"><img src="https://agentmods.dev/badge/commands/pinperepette/context-kernel/ck-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00032 | $0.00210 |
| Opus 5.5 | $0.00013 | $0.00084 |
| Sonnet 5.5 | $0.00006 | $0.00042 |
| Haiku 4.5 | $0.00003 | $0.00021 |
Grade A, and why
ck-doctor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
context-kernel — doctor
Esegui il preflight deterministico e mostra il referto a righe [ok]/[warn]/[ko]:
python3 "${CLAUDE_PLUGIN_ROOT}/hooks/doctor.py"
Controlla: Python ≥ 3.8, hook registrati (hooks.json cita compress.py), script core presenti, MCP server, superficie comandi /ck-*, stato canary, coda A/B. Exit 1 se ci sono bloccanti ([ko]), 0 altrimenti.
Mostra l'output e, se ci sono [warn], chiudi con la prossima azione consigliata (es. /ck-verify per la coda A/B, /ck-savings reset-canary per il canary).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 17 lines · 32 tokens per session scan A 826c65a97330
ck-doctor is a command published in the GitHub repository Pinperepette/context-kernel (24 stars, last pushed 4mo ago), licensed MIT. It adds 32 tokens to every session and 210 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
ck-doctor compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ck-doctorPinperepette/context-kernel | Command | 24 | 4mo ago | MIT | A | 32 | Claude Code |
| qa-changesOpenHands/extensions | Command | 190 | yesterday | MIT | A | 63 | Claude Code |
| auditar-cascadingluanpdd/kit-mcp | Command | 5 | yesterday | MIT | A | 54 | Claude Code |
| react-nativegetsentry/toolkit | Command | 977 | yesterday | none | A | 0 | Claude Code |
| http-serviceMadAppGang/magus | Command | 16 | today | MIT | A | 27 | Claude Code |
| doctordoncheli/don-cheli-sdd | Command | 59 | 3mo ago | Apache-2.0 | A | 76 | Claude Code |
| doctorfatihkan/badi | Command | 8 | 1mo ago | MIT | A | 0 | Claude Code |