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 coco-research/coco --skill code-verificationgit clone --depth 1 https://github.com/coco-research/cocoWrote 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/coco-research/coco/code-verification)<a href="https://agentmods.dev/skills/coco-research/coco/code-verification"><img src="https://agentmods.dev/badge/skills/coco-research/coco/code-verification/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/coco-research/coco/code-verification"><img src="https://agentmods.dev/badge/skills/coco-research/coco/code-verification.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.00056 | $0.03200 |
| Opus 5.5 | $0.00022 | $0.01280 |
| Sonnet 5.5 | $0.00011 | $0.00640 |
| Haiku 4.5 | $0.00006 | $0.00320 |
Grade A, and why
code-verification 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 — 327 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Verification Skill
A systematic post-implementation verification workflow that catches the bugs AI coding assistants most commonly introduce. This is NOT a code review for style or architecture — it is a mechanical correctness checklist that catches structural errors (TDZ, imports, dead code, mock leakage, CSS orphans, React anti-patterns) that humans and AI both miss during implementation.
When to Use
- After every code change (1-2 files changed -> run immediately)
- After a multi-file feature (run on all changed files in one pass)
- After writing/modifying tests (switch to Test Verification mode)
- Before marking any task complete (final gate)
- When a subagent completes work (verify their output)
- When user says: "verify", "check quality", "audit code", "run verification", "quality gate", "pre-commit check"
Quick Start
1. Identify changed files (git diff --name-only or manual list)
2. Run the 7-category checklist below on each file
3. Run automated checks (build, lint, tests)
4. Report findings as PASS / FAIL / WARNING
5. Fix all FAIL items before proceeding
The 7-Category Verification Checklist
Category 1: Variable Declaration Order (TDZ Prevention)
What to check: Variables, constants, and hooks used BEFORE their declaration in the same scope.
How it breaks: JavaScript const and let have a "temporal dead zone" — referencing them before their declaration line throws ReferenceError at runtime, but no build error.
React-specific: useMemo, useCallback, useEffect that reference state or derived values declared later in the component. This is the #1 AI-introduced bug.
Scan pattern:
- For every
useMemo,useCallback,useEffect: check that ALL variables in the dependency array AND the callback body are declared ABOVE that hook. - For every function that references a
const/let: check the declaration is above the function definition. - For every destructured import used in a module-level
const: check for circular dependencies.
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 · -38 tokens per session 97248759f3d1
- 3mo ago First seen · 327 lines · 94 tokens per session scan A 11dee493bc59
code-verification is a skill published in the GitHub repository coco-research/coco (323 stars, last pushed yesterday), licensed Apache-2.0. It adds 56 tokens to every session and 3,200 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-30.
code-verification compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-verificationcoco-research/coco | Skill | 323 | yesterday | Apache-2.0 | A | 56 | Claude Code, Codex |
| browser-tracemxyhi/ok-skills | Skill | 518 | 10d ago | Apache-2.0 | A | 88 | Claude Code |
| orca-replaymxyhi/ok-skills | Skill | 518 | 10d ago | Apache-2.0 | A | 67 | Claude Code |
| refactoring-guruciembor/agent-rules-books | Skill | 3.4k | 2mo ago | MIT | A | 29 | Claude Code, Codex |
| refactoringciembor/agent-rules-books | Skill | 3.4k | 2mo ago | MIT | A | 20 | Claude Code, Codex |
| working-effectively-with-legacy-codeciembor/agent-rules-books | Skill | 3.4k | 2mo ago | MIT | A | 37 | Claude Code, Codex |
| infrastructure-doctordocxology/template | Skill | 25 | today | Apache-2.0 | A | 79 | Claude Code, Codex |