oc-code-auditor

oc-code-auditor is a skill for Claude Code from asfbay-bit/opchain-skills. It costs 87 tokens per session (6,727 once invoked), scanned B, original, Apache-2.0.

A code review tool that looks for bugs, security issues, performance problems, quality issues, and user-interface problems. It can also suggest fixes and check whether those fixes really work.

In plain words
What is it for?
Use it to review a file, code changes, or a whole codebase; run security, performance, accessibility, or pre-deployment checks; and find, fix, and verify issues in sequence.
Why use it?
It helps catch problems before they reach users or production, and separates genuine fixes from changes that only make code look different.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the opchain plugin — 36 skills, 16 commands, 4 hooks shipped together

Good fit Use it to review a file, code changes, or a whole codebase; run security, performance, accessibility, or pre-deployment checks; and find, fix, and verify issues in sequence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asfbay-bit/opchain-skills/oc-code-auditor
Install

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.

Any agent
npx skills add asfbay-bit/opchain-skills --skill oc-code-auditor
Clone the repo
git clone --depth 1 https://github.com/asfbay-bit/opchain-skills

Made for: Claude Code.

Or install opchain, the plugin that ships this one along with the rest of its 36 skills, 16 commands, 4 hooks.

Wrote 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.

agentmods badge for oc-code-auditor

README.md
[![agentmods](https://agentmods.dev/badge/skills/asfbay-bit/opchain-skills/oc-code-auditor/github.svg)](https://agentmods.dev/skills/asfbay-bit/opchain-skills/oc-code-auditor)
Your own site
<a href="https://agentmods.dev/skills/asfbay-bit/opchain-skills/oc-code-auditor"><img src="https://agentmods.dev/badge/skills/asfbay-bit/opchain-skills/oc-code-auditor/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.

agentmods 80×15 button for oc-code-auditor

Your own site · 80×15
<a href="https://agentmods.dev/skills/asfbay-bit/opchain-skills/oc-code-auditor"><img src="https://agentmods.dev/badge/skills/asfbay-bit/opchain-skills/oc-code-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,727 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.06727
Opus 5.5 $0.00035 $0.02691
Sonnet 5.5 $0.00017 $0.01345
Haiku 4.5 $0.00009 $0.00673

Measured 2d ago against content hash dd5eea9d3c4d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

oc-code-auditor scanned grade B with 2 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.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

| Destructive op (`DROP`/`DELETE`/`rm -rf`) built from tool/user input | AI-TOOL-005 | CRITICAL |

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

| Shell exec (`exec`/`spawn`/`child_process`/`subprocess`, `shell: true`) reachable from a tool | AI-TOOL-002/003 | CRITICAL |
plugins/opchain/skills/oc-code-auditor/SKILL.md · 620 lines

How it starts

The opening of the file, as written. The whole thing — 620 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Code Auditor

On first invocation, read references/orchestrator.md and follow its welcome protocol.

Tri-agent code quality system: Auditor finds problems → Fixer proposes remediations → Verifier confirms the fixes actually solve the findings (not just cosmetic reshuffles).

The Auditor-only mode (/oc-audit) runs a one-pass sweep and produces a findings report. The full harness (/oc-audit fix-all) chains all three agents for find → fix → verify.

/oc-audit — Command Reference

CODE AUDITOR COMMANDS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  SWEEP MODES
  /oc-audit full            Full codebase sweep — all categories
  /oc-audit security        Security-focused (auth, injection, secrets, CORS)
  /oc-audit perf            Performance (N+1, bundle, caching, queries)
  /oc-audit quality         Code quality (dead code, complexity, patterns)
  /oc-audit ux              UX/accessibility (a11y, states, consistency, responsive)
  /oc-audit pre-deploy      Pre-deployment gate (security + perf + config)
  /oc-audit file [path]     Audit specific file(s)
  /oc-audit diff            Audit git diff or staged changes
  /oc-audit diff --read-only <range>   Auditor-only review of a range; writes audit/findings-<sha>.json

  TRI-AGENT HARNESS
  /oc-audit fix-all         Run full Auditor → Fixer → Verifier loop
  /oc-audit fix <id>        Fix a single finding with verification
  /oc-audit verify          Re-run Verifier on previous fixes

  BOOTSTRAP
  /oc-audit test-bootstrap  Generate test suite for untested codebase

  UTILITIES
  /oc-audit report          Regenerate findings report from last audit
  /checkpoint            Show checkpoint status

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Type any command to begin. /oc-audit to see this again.

Tri-Agent Architecture

CODEBASE
    │
    ▼
┌──────────┐
│ AUDITOR  │  Sweeps for problems
│          │  Output: findings report with severity + location
└────┬─────┘
     │
     ▼ (findings)
┌──────────┐
│  FIXER   │  Proposes concrete code changes per finding
│          │  Output: diffs/patches per finding
└────┬─────┘
     │
     ▼ (fixes)
┌──────────┐
│ VERIFIER │  Confirms each fix addresses the finding
│          │  Grades from the diff and original finding only, not the Fixer's rationale
│          │  Output: verified/rejected per fix
└──────────┘

Read the full file on GitHub · 620 lines

Files

What ships with it

7 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.

Changes

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.

  1. 2d ago Changed dd5eea9d3c4d
  2. 24d ago Changed 147267455d96
  3. 27d ago Changed f346dc4e76c0
  4. 1mo ago Changed · +28 lines 85a44941b579
  5. 2mo ago Changed ca58b460b9ad
  6. 2mo ago Changed b58062c9b1f8
  7. 2mo ago Changed 51725dfd668e
  8. 2mo ago Changed · +47 lines · +27 tokens per session ec76b6aeb939
  9. 3mo ago Changed · +5 lines 191fe96bb441
  10. 3mo ago First seen · 540 lines · 60 tokens per session scan B 3ccd85958be3

Subscribe to this mod's changes

oc-code-auditor is a skill published in the GitHub repository asfbay-bit/opchain-skills (0 stars, last pushed 3d ago), licensed Apache-2.0. It adds 87 tokens to every session and 6,727 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (recursive force delete, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

oc-code-auditor compared with skills from other repositories

oc-code-auditor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
oc-code-auditorasfbay-bit/opchain-skillsSkill03d agoApache-2.0B87Claude Code
sync-bridgechromium/chromiumSkill26ktodayBSD-3-ClauseA109Claude Code, Codex
sync-model-processorchromium/chromiumSkill26ktodayBSD-3-ClauseA98Claude Code, Codex
adversarial-revieweremdash-cms/emdashSkill15ktodayMITA72Claude Code, Codex
gsd-ns-reviewopen-gsd/gsd-coreSkill12kyesterdayMITA16Claude Code
gitnexushashgraph-online/awesome-codex-pluginsSkill1.6kyesterdayApache-2.0A58Codex
issuejeremylongshore/tons-of-skills-marketplaceSkill3.0k2d agoMITA115Claude Code