Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add underpass-ai/kmp --skill kmp-setupgit clone --depth 1 https://github.com/underpass-ai/kmpWrote 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/skills/underpass-ai/kmp/kmp-setup)<a href="https://agentmods.dev/skills/underpass-ai/kmp/kmp-setup"><img src="https://agentmods.dev/badge/skills/underpass-ai/kmp/kmp-setup/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/skills/underpass-ai/kmp/kmp-setup"><img src="https://agentmods.dev/badge/skills/underpass-ai/kmp/kmp-setup.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.00042 | $0.01330 |
| Opus 5.5 | $0.00017 | $0.00532 |
| Sonnet 5.5 | $0.00008 | $0.00266 |
| Haiku 4.5 | $0.00004 | $0.00133 |
Grade A, and why
kmp-setup 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 13d 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.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
KMP setup
Resolve the plugin root as two directories above this SKILL.md. Diagnose
first with <plugin-root>/scripts/kmp-doctor.sh; it is a thin adapter into
kmp-mcp doctor, whose Rust lifecycle diagnosis owns host inventory, engine
proof, effective wiring and plugin-tree parity.
When a session notice or version comparison says a newer release exists, run
<plugin-root>/scripts/kmp-update.sh. That inventories every installed host,
updates every installed KMP plugin, and installs the checksummed engine from
the same release. An ordinary update resolves the latest public release in
the native lifecycle; --version <release> selects an explicit target.
The installed plugin's manifest only selects the initial bootstrap engine
and the default setup version. Do not update only one host or one half.
Once the release is proved and every host points at it, the update names the
superseded versions each host's plugin cache still holds, leaving the installed
release and the one before it for rollback. It removes none of them: a session
that was already open dispatches its skills out of the version directory it
started in, and deleting that directory breaks the session until its host
restarts. The next time the engine starts, that start removes them. The receipt
names what is still there under plugin_caches as deferred; report it as
deferred rather than as freed space.
For an enabled Codex plugin, the plugin owns MCP. Install or update the engine
with <plugin-root>/scripts/kmp-install-binary.sh, but do not add a global
mcp_servers.kmp registration, copied prompts, or an AGENTS snippet. If a
global registration also exists, report the collision and remove it only as
the explicit ownership repair for the requested setup.
Standalone Codex wiring is retired. The native plugin is the single MCP owner;
reject --standalone and diagnose any old global registration as a collision.
Show the active configuration with kmp-mcp config. It reports the agent
policy and the user memory selection, and starts no host.
memory store is which memory KMP opens. Selection runs in one order:
KMP_MCP_DATA_DIR, then the nearest project root (a git checkout, whose
worktrees share its store, or a directory that already holds a .kernel/
store), then the saved selection, then the per-user default. kmp-mcp config prints the saved selection, the
effective one, and which of those rules won, so a workspace that is not a
repository never reaches a store nobody chose without saying so.
A valid explicit override wins even if the saved selection is invalid;
report the unused setting's warning and repair it before removing the override.
Save a selection with kmp-mcp config memory-store <absolute-path>, and undo
it with kmp-mcp config memory-store --clear. The selection is one line in
the user config file, so it survives a normal desktop restart with no
environment variable and no launcher script. It creates no store: the first
write does. A relative or ~ path is refused, because a saved selection has
to mean one directory from every working directory.
A directory holding memory this engine cannot open is refused with the reason and the repair. Never present that as a reason to migrate: KMP does not migrate, move, convert or overwrite an existing store, and setup and update must not select or write one. Selecting a fresh store is the user's explicit decision, and the old store stays exactly where it is.
memory routing decides whether an agent enters KMP unasked. The default is
on request: memory is called when the user asks for KMP, when a kmp skill or
command runs, or when the project opts in. Change it only when the user asks
for always-on recall, with kmp-mcp config memory-routing always;
on-request returns to the default. Never turn it on as part of an install.
There is no language setting to configure. A semantic question is asked in
English with the user's own words passed as asked_as, and the answer is
given in the user's language with stored evidence, refs, relation why and
source metadata preserved byte-for-byte. kmp-mcp doctor and kmp-mcp info
name the lexical-bridge table a store would read, or say there is none and
what that means for Ask; report that line when the user asks about
languages. An older config file may still carry an ask_fallback_languages
line; it is ignored and the doctor says so. Questions in Chinese, Japanese or
Thai are not segmented by word yet; storage remains byte-exact. Upgrades must
leave the policy file intact.
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.
- 13d ago Changed · +1 lines · +9 tokens per session 8fe3a7f1e1e4
- 1mo ago Changed · +5 lines b6e4efe8a02b
- 2mo ago Changed · +1 lines 2a656cefd880
- 2mo ago Changed · +25 lines 6a165436beae
- 2mo ago Changed · +3 lines 98a10d70fe07
- 3mo ago Changed · +1 lines b4eff70ca363
- 3mo ago Changed · +8 lines aa4cbe002a14
- 3mo ago First seen · 58 lines · 33 tokens per session scan A 02037a226284
kmp-setup is a skill published in the GitHub repository underpass-ai/kmp (0 stars, last pushed 5d ago), licensed Apache-2.0. It adds 42 tokens to every session and 1,330 once invoked, about $0.0002 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-31.
kmp-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kmp-setupunderpass-ai/kmp | Skill | 0 | 5d ago | Apache-2.0 | A | 42 | Claude Code |
| simple-englishNousResearch/hermes-agent | Skill | 269k | today | MIT | A | 16 | Claude Code, Codex |
| website-maintaineryamadashy/repomix | Skill | 30k | today | MIT | A | 37 | Claude Code |
| openclwUnicomAI/wanwu | Skill | 2.4k | 11d ago | Apache-2.0 | A | 64 | Claude Code, Codex |
| i18n-date-patternsyonatangross/orchestkit | Skill | 317 | today | MIT | A | 53 | Claude Code |
| inclusive-designevanca/flutter-ai-rules | Skill | 678 | 23d ago | MIT | A | 50 | Claude Code |
| rewrite-twKerberosClaw/kc_ai_skills | Skill | 81 | 2d ago | MIT | A | 152 | Claude Code |