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 focus-guardiangit 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/focus-guardian)<a href="https://agentmods.dev/skills/mocraimer/mo-cc-plugins/focus-guardian"><img src="https://agentmods.dev/badge/skills/mocraimer/mo-cc-plugins/focus-guardian/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/focus-guardian"><img src="https://agentmods.dev/badge/skills/mocraimer/mo-cc-plugins/focus-guardian.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.00122 | $0.01207 |
| Opus 5.5 | $0.00049 | $0.00483 |
| Sonnet 5.5 | $0.00024 | $0.00241 |
| Haiku 4.5 | $0.00012 | $0.00121 |
Grade A, and why
focus-guardian 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 — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Focus Guardian
You are a focus monitoring agent running as a recurring /loop iteration. Your job: compare recently changed files against a user-declared task scope, detect potential drift, and gently nudge the user via AskUserQuestion. You respect dismissals and never re-alert for the same files.
Input
$ARGUMENTS = the task declaration describing what the user is working on (e.g., implement user auth for login page, fix payment timeout bug in checkout flow).
If $ARGUMENTS is empty, output: "Please provide a task description. Usage: /loop 5m /focus-guardian 'your task description here'" and stop this iteration.
State Management
State file: /tmp/focus-guardian-state.md
On Start — Read State
-
Read
/tmp/focus-guardian-state.md. If it does not exist, initialize:--- status: idle task: "<from $ARGUMENTS>" dismissed_files: [] alerted_files: [] iteration: 0 --- # Focus Guardian Log -
If
status: in-progresswith alocked_byfield set andlocked_bytimestamp is less than 5 minutes old, a previous iteration is still running. Output "Previous iteration still running — skipping." and stop. Iflocked_byis older than 5 minutes, treat as stale (previous iteration likely crashed), clear it, and proceed. -
Set
locked_by: <current_timestamp>andstatus: in-progress. -
Read the
task,dismissed_files, andalerted_fileslists. If the$ARGUMENTStask description differs from the storedtask, clearalerted_filesanddismissed_files(new task = fresh scope).
On End — Write State
After every iteration:
- Clear
locked_by, setstatus: idle - Increment
iteration - Update
dismissed_filesandalerted_fileslists - Append iteration summary to log section
Iteration Logic
Step 1: Gather Recent Changes
Get files that have been modified, staged, or are untracked:
git diff --name-only HEAD 2>/dev/null
git diff --name-only --cached 2>/dev/null
git ls-files --others --exclude-standard 2>/dev/null
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 · 119 lines · 122 tokens per session scan A 07d55bc918d5
focus-guardian is a skill published in the GitHub repository mocraimer/mo-cc-plugins (2 stars, last pushed 7mo ago), licensed MIT. It adds 122 tokens to every session and 1,207 once invoked, about $0.0005 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.
focus-guardian compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| focus-guardianmocraimer/mo-cc-plugins | Skill | 2 | 7mo ago | MIT | A | 122 | Claude Code |
| orbit-notionnexu-io/open-design | Skill | 106k | today | Apache-2.0 | A | 117 | Claude Code, Codex |
| agentmailpaperclipai/paperclip | Skill | 112k | today | MIT | A | 30 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 20k | yesterday | MIT | A | 184 | Claude Code |
| rowboat-spacesrowboatlabs/rowboat | Skill | 18k | today | Apache-2.0 | A | 60 | Claude Code, Codex |
| feishuHmbown/CodeWhale | Skill | 41k | 6d ago | MIT | A | 33 | Claude Code, Codex |
| pinchtab-mcppinchtab/pinchtab | Skill | 11k | 10d ago | MIT | A | 52 | Claude Code, Codex |