oc-git-ops

oc-git-ops is a skill for Claude Code from asfbay-bit/opchain-skills. It costs 125 tokens per session (6,590 once invoked), scanned A, original, Apache-2.0.

A workflow for managing Git repositories, the systems that record code history and collaboration. It covers branches, commits, pull requests, synchronization, pushes, and release tags.

In plain words
What is it for?
Use it to initialize or inspect a repository, create branches, commit changes, prepare pull requests, push and synchronize work, and tag releases.
Why use it?
It turns code changes into an organized, reviewable path from a working folder to a shared repository and a tagged release.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: reads .claude/ paths.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/claude/project/.

Part of the opchain plugin — 33 skills, 12 commands, 3 hooks shipped together

Good fit Use it to initialize or inspect a repository, create branches, commit changes, prepare pull requests, push and synchronize work, and tag releases.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add asfbay-bit/opchain-skills
Claude Code
/plugin install opchain

Made for: Claude Code.

Or install opchain, the plugin that ships this one along with the rest of its 33 skills, 12 commands, 3 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-git-ops

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/asfbay-bit/opchain-skills/oc-git-ops"><img src="https://agentmods.dev/badge/skills/asfbay-bit/opchain-skills/oc-git-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,590 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.00125 $0.06590
Opus 5 $0.00063 $0.03295
Sonnet 5 $0.00025 $0.01318
Haiku 4.5 $0.00013 $0.00659

Measured 4d ago against content hash 2bc179a6b0b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

oc-git-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 4d 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-git-ops/SKILL.md · 670 lines

How it starts

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

Git Ops

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

Move code from Claude's workspace to a git repository with proper branch management, commit structure, and PR descriptions. This is the bridge between "Claude built it" and "it's in version control."

/oc-git-ops — Command Reference

When the user types /oc-git-ops, display this menu:

GIT OPS COMMANDS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  WORKFLOW
  /oc-git-init         Clone repo + set up workspace for a project
  /git-branch       Create a feature branch from convention
  /oc-git-commit       Stage + commit with structured message
  /oc-git-pr           Generate PR description from commits/checkpoint
  /git-push         Push branch to remote
  /oc-git-sync         Full workflow: branch → commit → push → PR
  /oc-git-release      Tag a merged release + push the tag (closes the ledger)

  UTILITIES
  /oc-git-status       Show current branch, staged changes, remote state
  /git-diff         Show what's changed since last commit
  /oc-git-convention   Show/set naming conventions for this project
  /checkpoint       Show checkpoint status

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

How This Skill Works

CLAUDE WORKSPACE                    GIT REPO
/home/claude/project/               github.com/user/project
                                    
  Built files          ──────►      Feature branch
  + checkpoint data    ──────►      Structured commits
  + audit report       ──────►      PR description

The typical flow:

  1. Clone the user's repo (or confirm it's already cloned)
  2. Create a feature branch following project conventions
  3. Copy/move built files into the repo working tree
  4. Make structured commits (one per logical unit)
  5. Push the branch
  6. Run the pre-PR gate: oc-docs-forge (PR docs packet) → oc-repo-ops (readiness check)
  7. Generate a PR description from the checkpoint + commit log + docs packet

Read the full file on GitHub · 670 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. 4d ago Changed 2bc179a6b0b4
  2. 7d ago First seen · 670 lines · 125 tokens per session scan A 9a6df80ce7fe

Subscribe to this mod's changes

oc-git-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 125 tokens to every session and 6,590 once invoked, about $0.0006 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.