Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/kvdm-co-pilot/create-cmpnpx agentmods add skills/kvdm-co-pilot/create-cmp/plugin-refreshWrote 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/kvdm-co-pilot/create-cmp/plugin-refresh)<a href="https://agentmods.dev/skills/kvdm-co-pilot/create-cmp/plugin-refresh"><img src="https://agentmods.dev/badge/skills/kvdm-co-pilot/create-cmp/plugin-refresh/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/kvdm-co-pilot/create-cmp/plugin-refresh"><img src="https://agentmods.dev/badge/skills/kvdm-co-pilot/create-cmp/plugin-refresh.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.00183 | $0.01399 |
| Opus 5.5 | $0.00073 | $0.00560 |
| Sonnet 5.5 | $0.00037 | $0.00280 |
| Haiku 4.5 | $0.00018 | $0.00140 |
Grade A, and why
plugin-refresh 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 2mo 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 — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
plugin-refresh — refresh the plugin, and prove it by content
node scripts/plugin-refresh.mjs is the whole procedure. This file is not a copy of it.
node scripts/plugin-refresh.mjs --check # is it stale? changes nothing
node scripts/plugin-refresh.mjs # refresh, then prove it
node scripts/plugin-refresh.mjs --dry-run # print the plan, write nothing
--check also runs at SessionStart, as one line under the proof schedule. If that line says
current, there is nothing to do here — and it says current only when the bytes at every
scope's installPath (from installed_plugins.json) match the marketplace clone at HEAD, in
both directions. A matching version number or a sha that exists is not enough.
A refresh takes the documented path first — claude plugin marketplace update, then
claude plugin update for each scope — and reads the result back from installed_plugins.json
(version, installPath) and the bytes. Only if that leaves it stale (the update refuses a
version number that did not move) does it rebuild the cache directory itself. /reload-plugins
is then yours to type in each session it names.
Why a program and not a checklist
Every step of this has a failure mode that reports success. Measured on this machine over two days, all four at once:
/reload-pluginsre-reads disk. It never refetches from GitHub, and will happily rebuild a cache directory out of a clone 56 commits stale.- The cache is keyed by version. If a stale snapshot already declares the new number, the reinstall records the new sha and reuses the directory holding the old bytes.
installed_plugins.jsonholds one entry per scope. Updating the one you thought about leaves the other behind — and the one that serves is not necessarily the one you expect. A local entry was found pinned to a version whose sha no longer existed, rebased away.- The version number, the plugin count, and the reload's own "N skills" line are all blind to every one of the above.
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.
- 2mo ago Changed · +18 lines · -11 tokens per session 90df6c5a1ab1
- 2mo ago Changed · +2 lines · +37 tokens per session dee56ba1ed64
- 2mo ago First seen · 81 lines · 157 tokens per session scan A 21809b4eab3f
plugin-refresh is a skill published in the GitHub repository kvdm-co-pilot/create-cmp (0 stars, last pushed 7d ago), licensed MIT. It adds 183 tokens to every session and 1,399 once invoked, about $0.0007 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-09-10.
plugin-refresh compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| plugin-refreshkvdm-co-pilot/create-cmp | Skill | 0 | 7d ago | MIT | A | 183 | Claude Code |
| debugging-instrumentsTalissonVitorino/kmp-ios-skills | Skill | 16 | 18d ago | MIT | A | 221 | Claude Code, Codex |
| swift-concurrencyTalissonVitorino/kmp-ios-skills | Skill | 16 | 18d ago | MIT | A | 133 | Claude Code, Codex |
| error-handling-resultTalissonVitorino/kmp-ios-skills | Skill | 16 | 18d ago | MIT | A | 141 | Claude Code, Codex |
| kmp-loggingTalissonVitorino/kmp-ios-skills | Skill | 16 | 18d ago | MIT | A | 143 | Claude Code, Codex |
| perfetto-trace-analysisTalissonVitorino/kmp-ios-skills | Skill | 16 | 18d ago | MIT | A | 84 | Claude Code, Codex |
| r8-analyzerTalissonVitorino/kmp-ios-skills | Skill | 16 | 18d ago | MIT | A | 60 | Claude Code, Codex |