oc-repo-ops

oc-repo-ops is a skill for Claude Code from asfbay-bit/opchain-skills. It costs 111 tokens per session (2,347 once invoked), scanned A, original, Apache-2.0.

A repository cleanup and pull-request readiness check. A pull request is a proposed code change for review; this add-on checks that the repository, generated files, documentation, and catalog agree before one is opened.

In plain words
What is it for?
Use it to audit repository hygiene, verify pull-request readiness, clean safe issues, and check that catalogs, README files, registries, packages, and generated files match.
Why use it?
It catches leftover files, mismatched generated content, missing documentation, and other problems that can make a change difficult to review or merge.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it to audit repository hygiene, verify pull-request readiness, clean safe issues, and check that catalogs, README files, registries, packages, and generated files match.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asfbay-bit/opchain-skills/oc-repo-ops
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-repo-ops
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-repo-ops

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/asfbay-bit/opchain-skills/oc-repo-ops"><img src="https://agentmods.dev/badge/skills/asfbay-bit/opchain-skills/oc-repo-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,347 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00111 $0.02347
Opus 5.5 $0.00044 $0.00939
Sonnet 5.5 $0.00022 $0.00469
Haiku 4.5 $0.00011 $0.00235

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

Security

Grade A, and why

oc-repo-ops 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.

plugins/opchain/skills/oc-repo-ops/SKILL.md · 233 lines

How it starts

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

Repo Ops

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

Repo Ops is the repository-level cleanliness gate. It does not write the docs packet itself; Docs Forge does that. Repo Ops verifies that the packet exists, that repo state is clean enough to review, and that generated/catalog/source surfaces agree before Git Ops opens a PR.

Command Reference

REPO OPS COMMANDS

  /oc-repo                 Show this menu
  /oc-repo audit           Read-only repo hygiene sweep
  /oc-repo verify          PR readiness gate, blocks on failures
  /oc-repo clean           Apply safe cleanup fixes
  /oc-repo catalog         Verify catalog, README, registry, package parity
  /oc-repo status          Show last gate verdict

  /checkpoint              Show oc-repo-ops checkpoint

Every-PR Gate

oc-git-ops must invoke Repo Ops before creating every PR. The required order is:

  1. Precondition: Bug Check has already passed before every commit on the branch (oc-git-ops runs it before each commit, including a docs-packet commit). If it has not run, or its verdict is stale, chain back to oc-bug-check.
  2. Docs Forge generates or verifies the PR documentation packet.
  3. Repo Ops verifies repository cleanliness and docs packet presence.
  4. Git Ops opens the PR only after Repo Ops passes.

Repo Ops publishes a C-contract verification.verdict handoff for the evaluator's HEAD git_tree_projection (excluding .checkpoints/) under policy pr-readiness-v1, in the branch's own file .checkpoints/handoffs/pr-readiness-v1/<branch>.json. Opchain's Git Ops flow and requested CI wiring consume it through scripts/lib/release-evidence.mjs; missing, stale, ambiguous, FAIL, or INCOMPLETE evidence blocks. CI separately reruns A's candidate verifier on the received commit, so a copied local receipt is not independent verification.

Read references/pr-readiness-gate.md before /oc-repo verify.

/oc-repo audit

Read-only sweep. Report findings without editing files.

Read the full file on GitHub · 233 lines

Files

What ships with it

3 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 11e25df2524e
  2. 22d ago Changed · +6 lines fe0c9cc8465d
  3. 24d ago Changed 6af45b4cc867
  4. 27d ago Changed 64dbf5bddd8f
  5. 1mo ago Changed · +2 lines 5a4de3df1c98
  6. 2mo ago Changed f6ba660c996c
  7. 2mo ago Changed e4f607626b20
  8. 2mo ago Changed ed16a6e1d5dc
  9. 2mo ago Changed · +47 lines fb1236209ce0
  10. 3mo ago First seen · 178 lines · 111 tokens per session scan A b2b41cfc8d45

Subscribe to this mod's changes

oc-repo-ops is a skill published in the GitHub repository asfbay-bit/opchain-skills (0 stars, last pushed 3d ago), licensed Apache-2.0. It adds 111 tokens to every session and 2,347 once invoked, about $0.0004 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.

Related

oc-repo-ops compared with skills from other repositories

oc-repo-ops next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
oc-repo-opsasfbay-bit/opchain-skillsSkill03d agoApache-2.0A111Claude Code
merge-batchdiegosouzapw/OmniRouteSkill91k5d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15kyesterdayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.8ktodayMITA20Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1k3d agoMITA51Claude Code
comet-githubrpamis/cometSkill3.3kyesterdayMITA72Claude Code, Codex
re0-mergeLilMGenius/paperthinSkill1.5ktodayMITA51Claude Code, Codex