oc-docs-forge

oc-docs-forge is a skill for Claude Code from asfbay-bit/opchain-skills. It costs 125 tokens per session (2,768 once invoked), scanned A, original, Apache-2.0.

A documentation workflow for keeping the written material around a code project current. It handles pull-request descriptions, README files, product documentation, architecture decision records, changelogs, and related ticket summaries.

In plain words
What is it for?
Use it to prepare documentation for a pull request or release, refresh a README, standardize document structure and links, and check for stale or missing documentation.
Why use it?
It makes documentation part of the code-change process, so important explanations and release notes are less likely to be missing or outdated.

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 prepare documentation for a pull request or release, refresh a README, standardize document structure and links, and check for stale or missing documentation.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/asfbay-bit/opchain-skills/oc-docs-forge"><img src="https://agentmods.dev/badge/skills/asfbay-bit/opchain-skills/oc-docs-forge.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 2,768 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.02768
Opus 5.5 $0.00050 $0.01107
Sonnet 5.5 $0.00025 $0.00554
Haiku 4.5 $0.00013 $0.00277

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

Security

Grade A, and why

oc-docs-forge 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-docs-forge/SKILL.md · 267 lines

How it starts

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

Docs Forge

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

Docs Forge turns a code change into the documentation that must travel with it. It owns the content, wording, placement, and freshness checks for PR bodies, PR comments, README/catalog docs, product docs, ADRs, changelog notes, and linked ticket summaries.

Boundary: Docs Forge writes and verifies documentation. Repo Ops decides whether the repository is clean enough to open the PR. Git Ops creates the branch, commit, push, and PR after these gates pass.

Command Reference

DOCS FORGE COMMANDS

  /oc-docs                 Show this menu
  /oc-docs pr              Generate the PR documentation packet
  /oc-docs readme          Refresh README/catalog docs affected by this change
  /oc-docs standardize     Normalize docs frontmatter, headings, owners, links
  /oc-docs upkeep          Run freshness and drift review across docs
  /oc-docs verify          Verify the PR docs packet is present and current

  /checkpoint              Show oc-docs-forge checkpoint

Every-PR Contract

Every PR must contain Docs Forge output in at least one visible surface:

  1. The PR body, for normal documentation packets.
  2. A PR comment with marker <!-- opchain:oc-docs-forge:pr-docs -->, when the documentation packet is too long for the body.
  3. Both the body and a comment, when the body needs a compact summary and the comment carries migration notes, screenshots, large tables, or generated docs.

The PR body must always include a ## Documentation section. If no user-facing documentation changed, say so explicitly and explain why. Silence is not a pass.

Read references/pr-documentation-packet.md before generating or verifying PR documentation.

/oc-docs pr

Inputs:

  • git diff --stat and changed file list.
  • Commit log against the base branch, when available.
  • Relevant checkpoints from the skills in Cross-Skill Reads below: oc-git-ops, oc-app-architect, oc-reverse-spec, oc-api-dev, oc-stack-forge, oc-release-ops, oc-code-auditor, oc-bug-check, oc-compliance-ops, and oc-repo-ops.
  • Existing README, docs, ADRs, changelog, API docs, product docs, and catalog pages touched by the change.
  • Linked ticket or PR draft context, when oc-git-ops provides it.

Read the full file on GitHub · 267 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 5cd36c21b050
  2. 24d ago Changed 2e3db307b795
  3. 27d ago Changed 0ac1f046d496
  4. 1mo ago Changed · +8 lines 8ec831ed7e6c
  5. 1mo ago Changed · +12 lines 124cb92ab7ab
  6. 2mo ago Changed 668037afb05f
  7. 2mo ago Changed 59e404d123e2
  8. 2mo ago Changed 03d3001b5e8b
  9. 2mo ago Changed · +36 lines · +17 tokens per session 4b38695bdef9
  10. 3mo ago First seen · 211 lines · 108 tokens per session scan A 49d33ecf2a11

Subscribe to this mod's changes

oc-docs-forge 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 2,768 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.

Related

oc-docs-forge compared with skills from other repositories

oc-docs-forge next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
oc-docs-forgeasfbay-bit/opchain-skillsSkill03d agoApache-2.0A125Claude 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