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 agentmods add skills/mgiovani/cc-arsenal/inject-docsnpx skills add mgiovani/cc-arsenal --skill inject-docsgit clone --depth 1 https://github.com/mgiovani/cc-arsenalWrote 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/mgiovani/cc-arsenal/inject-docs)<a href="https://agentmods.dev/skills/mgiovani/cc-arsenal/inject-docs"><img src="https://agentmods.dev/badge/skills/mgiovani/cc-arsenal/inject-docs.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.00143 | $0.01678 |
| Opus 5 | $0.00072 | $0.00839 |
| Sonnet 5 | $0.00029 | $0.00336 |
| Haiku 4.5 | $0.00014 | $0.00168 |
Grade A, and why
inject-docs 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 6d 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 — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Framework Documentation Injector
Inject compressed framework-specific best practices and documentation into the current project's CLAUDE.md or AGENTS.md file. This gives AI coding agents passive access to framework knowledge without requiring tool calls or skills.
Supported Frameworks
| Framework | Detection Method | Documentation Source |
|---|---|---|
| Next.js | next in package.json |
Vercel's agents-md codemod (version-aware) |
| FastAPI | fastapi in requirements.txt/pyproject.toml |
zhanymkanov/fastapi-best-practices |
Anti-Hallucination Guidelines
CRITICAL:
- Auto-detect the framework before running anything - check project files to identify the framework
- Do NOT assume tools are available - verify Node.js/Python tooling exists based on framework
- Do NOT claim success until verifying the target file exists and contains actual content
- Read actual output - report what the commands say, not what is expected
Implementation Workflow
Phase 0: Framework Detection & Validation (REQUIRED)
Before running anything, auto-detect the framework and verify prerequisites:
-
Detect the framework:
- Check for
package.jsonwithnextdependency → Next.js project - Check for
pyproject.tomlwithfastapidependency → FastAPI project - Check for
requirements.txtcontainingfastapi→ FastAPI project - If multiple frameworks detected, prioritize based on arguments or ask user
- If no framework detected, STOP and inform the user: "Could not detect a supported framework (Next.js or FastAPI)."
- Check for
-
Detect framework version (if applicable):
- For Next.js: extract version from
package.json - For FastAPI: extract version from
pyproject.tomlorrequirements.txt - Report the detected version to the user
- For Next.js: extract version from
-
Detect target file:
- Check if
CLAUDE.mdexists in the project root - useCLAUDE.md - Else check if
AGENTS.mdexists - useAGENTS.md - If neither exists, default to
CLAUDE.md(Claude Code's native format) - Inform the user which file will be updated
- Check if
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 6d ago First seen · 161 lines · 143 tokens per session scan A c905d245b27d
inject-docs is a skill published in the GitHub repository mgiovani/cc-arsenal (7 stars, last pushed 6d ago), licensed MIT. It adds 143 tokens to every session and 1,678 once invoked, about $0.0007 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
ops-demo
CocoOps demo mode activator — populates .cocoplus/ops/demo/ with realistic mock data and sets cocoplus.toml [demo] enabled = true. Invoked via $ops demo.
acl-rule-analysis
Vendor-agnostic ACL and firewall rule analysis with shadowed rule detection, overly permissive rule identification, unused rule discovery, redundant rule flagging, and rule ordering optimization. Covers ACLs (Cisco/JunOS/EOS) and firewall policies (PAN-OS/FortiGate/CheckPoint).
agent-teams-simplify-and-harden
Implementation + audit loop using parallel agent teams with structured simplify, harden, and document passes. Spawns implementation agents to do the work, then audit agents to find complexity, security gaps, and spec deviations, then loops until code compiles cleanly, all tests pass, and auditors find zero issues or…
agent-team-orchestration
Orchestrate multi-agent teams with defined roles, task lifecycles, handoff protocols, and review workflows. Use when: (1) Setting up a team of 2+ agents with different specializations, (2) Defining task routing and lifecycle (inbox → spec → build → review → done), (3) Creating handoff protocols between agents, (4)…
agent-bom-enforce
Enforce security policies on MCP tool calls and block dangerous operations at runtime. Use when: "block risky calls", "apply policy", "proxy", "runtime protection", "policy enforcement", "intercept MCP calls".
diary
Show CocoDiary operator-facing work journal status.