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 asfbay-bit/opchain-skills --skill oc-bug-checkgit clone --depth 1 https://github.com/asfbay-bit/opchain-skillsWrote 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/asfbay-bit/opchain-skills/oc-bug-check)<a href="https://agentmods.dev/skills/asfbay-bit/opchain-skills/oc-bug-check"><img src="https://agentmods.dev/badge/skills/asfbay-bit/opchain-skills/oc-bug-check/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/asfbay-bit/opchain-skills/oc-bug-check"><img src="https://agentmods.dev/badge/skills/asfbay-bit/opchain-skills/oc-bug-check.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.00133 | $0.09473 |
| Opus 5.5 | $0.00053 | $0.03789 |
| Sonnet 5.5 | $0.00027 | $0.01895 |
| Haiku 4.5 | $0.00013 | $0.00947 |
Grade A, and why
oc-bug-check 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 2d 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 — 911 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bug Check
On first invocation, read references/orchestrator.md and follow its welcome protocol.
Pre-commit QA gate. Runtime depends on the configured checks and project size. Catches the bugs, type errors, test failures, and anti-patterns that shouldn't make it into a commit — before they cost real debugging time downstream.
This is NOT oc-code-auditor. Code-auditor runs a deep tri-agent sweep (Auditor → Fixer → Verifier) that takes 30+ minutes and produces a graded report. Bug-check is the metal detector at the door — fast and blunt: the gate verdict is PASS, FAIL, or UNSUPPORTED (a required check cannot run — never a pass). Individual checks may emit advisory WARN notes (e.g. "no test suite detected") that ride on a PASS as a count; in strict mode they become FAIL. Only PASS clears the commit.
/oc-bugcheck — Command Reference
BUG CHECK COMMANDS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GATE
/oc-bugcheck Run all checks on staged/changed files
/oc-bugcheck run Same as /oc-bugcheck
/oc-bugcheck run --all Run on entire codebase (not just changes)
/oc-bugcheck fix Auto-fix what's fixable (lint, formatting)
CONFIG
/oc-bugcheck config Show or edit check configuration
/oc-bugcheck config strict Enable strict mode (zero warnings allowed)
/oc-bugcheck config lenient Allow warnings, block only on errors
REPORT
/oc-bugcheck report Show last run results from checkpoint
/oc-bugcheck history Show pass/fail trend from checkpoint
OVERRIDE
/oc-bugcheck bypass Skip gate this once (logs the bypass in checkpoint)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Runs automatically before /oc-commit and /oc-git-sync.
--all, strict, and lenient are arguments to the declared run and config verbs,
not separate commands.
Session Persistence (Checkpoint Protocol)
The shared checkpoint schema, write rules and resume protocol live in
references/checkpoint-protocol.md, bundled with this skill. This section adds only
what is specific to oc-bug-check.
What ships with it
5 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.
- 2d ago Changed 850ad3bbf49f
- 24d ago Changed ec0e7f39e94e
- 27d ago Changed 84760f2c5c7f
- 1mo ago Changed · +4 lines 6242e51b7c83
- 1mo ago Changed · +37 lines 0c3bc2a5b023
- 2mo ago Changed 6d63144afca5
- 2mo ago Changed 6b1f213af6be
- 2mo ago Changed a7242f6ecf45
- 2mo ago Changed · +106 lines · -2 tokens per session 5c8a2869c454
- 3mo ago First seen · 764 lines · 135 tokens per session scan A fcbe516b19af
oc-bug-check is a skill published in the GitHub repository asfbay-bit/opchain-skills (0 stars, last pushed 3d ago), licensed Apache-2.0. It adds 133 tokens to every session and 9,473 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.
oc-bug-check compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| oc-bug-checkasfbay-bit/opchain-skills | Skill | 0 | 3d ago | Apache-2.0 | A | 133 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | yesterday | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 332k | 6d ago | MIT | A | 21 | Claude Code |