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 Totes-MickGOATs/opus-pocus --skill protegogit clone --depth 1 https://github.com/Totes-MickGOATs/opus-pocusWrote 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/totes-mickgoats/opus-pocus/protego)<a href="https://agentmods.dev/skills/totes-mickgoats/opus-pocus/protego"><img src="https://agentmods.dev/badge/skills/totes-mickgoats/opus-pocus/protego.svg" alt="Measured on agentmods" 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.00160 | $0.01545 |
| Opus 5 | $0.00080 | $0.00772 |
| Sonnet 5 | $0.00032 | $0.00309 |
| Haiku 4.5 | $0.00016 | $0.00154 |
Grade A, and why
protego 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 8d 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 — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
🦋 Protego
"The cheapest curse to remove is the one that never lands."
This book has one loud doctrine — if a rule matters enough to shout, it matters enough to enforce with a hook; blocking hooks achieve near-total compliance, prose is best-effort — and until this spell it was entirely prose: a whole book of advice about mechanism, delivered as text, to be obeyed by goodwill.
Protego is the shield: a hook that runs when an instruction artifact is written, catching the mechanically-decidable defects at the moment they are introduced. Not so the audit becomes unnecessary, but so it stops re-finding the same five classes every quarter.
What ships
hooks/protego.sh— the check itself. Reads the hook payload on stdin, works out whether the edited file is an instruction artifact, runs the checks, and emits only when it has a finding.- A
hooksblock for the plugin manifest wiring it toPostToolUseonWrite|Edit.
Installed as part of the plugin, it is already wired. Copied into a repo by hand, wire it in that repo's settings file with the same event and matcher.
What it checks
Only what a script can decide without a model. Each finding names the spell that owns the full treatment, because the hook's job is to notice, not to adjudicate:
| Check | Fires when | Owner |
|---|---|---|
| Emphasis inflation | over 6 emphasis tokens in a file under 500 words, or over ~10 per 1k words above that — the small-N split quietus-capslockius uses, because one NEVER in a 300-word file is a rate of 3.3/1k and means nothing |
quietus-capslockius |
| Description length | a skill or agent description: over 1,200 characters, conservatively under the commonly-measured cliff |
descriptio-reducio |
Late NOT for |
the disambiguation clause starts past character 900 — the part that prevents wrong routing is the part most likely truncated | descriptio-reducio |
| Undeclared model tier | an agent with no model:, and only on a roster of 5 or more — below that, inheriting is correct and sorting-hat says so |
sorting-hat |
| Dead rule glob | a paths: entry matching zero tracked files under both git pathspec modes |
accio-rulebook |
| Memory file size | over 25,000 bytes | obliviate-fossilium |
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.
- 8d ago First seen · 97 lines · 0 tokens per session scan A c9d3b15b5e82
protego is a skill published in the GitHub repository Totes-MickGOATs/opus-pocus (10 stars, last pushed 29d ago), licensed MIT. It adds 160 tokens to every session and 1,545 once invoked, about $0.0008 per session on Opus 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.
Other skills, from other repositories
claude-md-architect
Design, create, extract, or audit CLAUDE.md files and their supporting docs/ folder structure for Claude Code projects. Use this skill whenever the user asks to create a new CLAUDE.md, extract context from a long session into a CLAUDE.md system, audit/refactor an existing CLAUDE.md that has bloated, review whether…
huggingface-llm-trainer
Train or fine-tune language models with TRL or Unsloth on Hugging Face Jobs, including SFT, DPO, GRPO, reward models, and GGUF conversion. Use for cloud LLM training; use huggingface-vision-trainer for vision tasks.
feature-dev
Guide a feature implementation through a structured seven-phase workflow with deep codebase understanding, clarifying questions, parallel architecture design, and quality review. Use this skill when the user asks to build a new feature, add functionality, or wants a methodical approach to implementation rather than…
memstack-business-gdpr
Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…
memstack-development-refactor-planner
Use this skill when the user says 'refactor', 'refactoring plan', 'code cleanup', 'reduce duplication', 'simplify code', 'tech debt', 'god class', 'tight coupling', or needs to systematically improve existing code. Identifies targets, assesses risk, and builds incremental execution plans. Do NOT use for writing new…
memstack-product-feedback-analyzer
Use this skill when the user says 'analyze feedback', 'feedback analysis', 'what are customers asking for', or has support tickets, reviews, or survey data to categorize, score, and prioritize into actionable reports. Do NOT use for competitor analysis or market research.