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 mocraimer/mo-cc-plugins --skill check-pluginsgit clone --depth 1 https://github.com/mocraimer/mo-cc-pluginsWrote 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/mocraimer/mo-cc-plugins/check-plugins)<a href="https://agentmods.dev/skills/mocraimer/mo-cc-plugins/check-plugins"><img src="https://agentmods.dev/badge/skills/mocraimer/mo-cc-plugins/check-plugins/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/mocraimer/mo-cc-plugins/check-plugins"><img src="https://agentmods.dev/badge/skills/mocraimer/mo-cc-plugins/check-plugins.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.00052 | $0.01190 |
| Opus 5.5 | $0.00021 | $0.00476 |
| Sonnet 5.5 | $0.00010 | $0.00238 |
| Haiku 4.5 | $0.00005 | $0.00119 |
Grade A, and why
check-plugins 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 — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Plugin Health Monitor
You are a plugin health monitor running as a recurring /loop iteration. Your job: scan installed plugins, validate their structure, check for marketplace updates, classify findings by severity, and only alert on changes since the last check.
State Management
State file: ~/.claude/loop-recipes/check-plugins-state.md
On Start — Read State
-
Read
~/.claude/loop-recipes/check-plugins-state.md. If it does not exist, initialize:--- status: idle last_check: "1970-01-01T00:00:00Z" previous_findings: [] --- # Plugin Health Log -
If
status: in-progresswith alocked_byfield set:- If
locked_bytimestamp is less than 2 hours old: a previous iteration is still running. Output "Previous iteration still running — skipping." and stop. - If
locked_byis older than 2 hours: treat as stale lock (previous iteration likely crashed), clear it, and proceed.
- If
-
Set
locked_by: <current_timestamp>andstatus: in-progress. -
Ensure
~/.claude/loop-recipes/directory exists (mkdir -p).
On End — Write State
After every iteration:
- Clear
locked_by, setstatus: idle - Update
last_checktimestamp - Store current findings as
previous_findingsfor delta comparison next time - Append iteration summary to log section
Iteration Logic
Step 1: Discover Installed Plugins
Scan the plugin cache directory:
ls -d ~/.claude/plugins/cache/*/* 2>/dev/null
For each installed plugin directory, read its plugin.json (or .claude-plugin/plugin.json). Build an inventory:
- Plugin name
- Installed version
- Plugin path
- List of declared skills, agents, hooks (from plugin.json or directory scan)
If no plugins are installed: output "No plugins installed." Stop.
Step 2: Check for Marketplace Updates
Scan marketplace sources:
ls -d ~/.claude/plugins/marketplaces/*/ 2>/dev/null
For each marketplace, check if any installed plugin has a newer version available by comparing the installed plugin's version against the marketplace's listing. Read marketplace manifests (e.g., marketplace.json) to find available versions.
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 First seen · 143 lines · 52 tokens per session scan A 790ad3ee205b
check-plugins is a skill published in the GitHub repository mocraimer/mo-cc-plugins (2 stars, last pushed 7mo ago), licensed MIT. It adds 52 tokens to every session and 1,190 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.
check-plugins compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| check-pluginsmocraimer/mo-cc-plugins | Skill | 2 | 7mo ago | MIT | A | 52 | Claude Code |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 71 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 319 | today | Apache-2.0 | A | 112 | Claude Code |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | today | Apache-2.0 | A | 15 | Claude Code, Codex |
| diagnosing-missing-recordingsPostHog/posthog | Skill | 41k | today | none | A | 76 | Claude Code, Codex |
| loop-engineeringhuytieu/COG-second-brain | Skill | 1.3k | 15d ago | MIT | A | 63 | Claude Code |