octocode-documentation

octocode-documentation is a skill for Claude Code, Codex from bgauryy/octocode. It costs 107 tokens per session (1,966 once invoked), scanned C, original, MIT.

A method for researching, organising, writing, and checking technical documentation such as READMEs, API references, runbooks, and migration guides.

In plain words
What is it for?
Use it to update missing or outdated project docs, copyedit existing writing, restructure documentation, write onboarding or migration guides, and improve docstrings or alt text.
Why use it?
It helps keep documentation accurate, understandable, consistent with the code, and useful to both people and coding agents.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to update missing or outdated project docs, copyedit existing writing, restructure documentation, write onboarding or migration guides, and improve docstrings or alt text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bgauryy/octocode/octocode-documentation
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 bgauryy/octocode --skill octocode-documentation
Clone the repo
git clone --depth 1 https://github.com/bgauryy/octocode

Made for: Claude Code, Codex.

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 octocode-documentation

README.md
[![agentmods](https://agentmods.dev/badge/skills/bgauryy/octocode/octocode-documentation/github.svg)](https://agentmods.dev/skills/bgauryy/octocode/octocode-documentation)
Your own site
<a href="https://agentmods.dev/skills/bgauryy/octocode/octocode-documentation"><img src="https://agentmods.dev/badge/skills/bgauryy/octocode/octocode-documentation/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 octocode-documentation

Your own site · 80×15
<a href="https://agentmods.dev/skills/bgauryy/octocode/octocode-documentation"><img src="https://agentmods.dev/badge/skills/bgauryy/octocode/octocode-documentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,966 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00107 $0.01966
Opus 5 $0.00053 $0.00983
Sonnet 5 $0.00021 $0.00393
Haiku 4.5 $0.00011 $0.00197

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

Security

Grade C, and why

octocode-documentation scanned grade C with 1 finding 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/refresh-word-list.mjs, scripts/style-lint.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

Suppression: `<!-- style-lint: ignore-file -->` skips a file found by recursion, `<!-- style-lint: ignore-line rule-id -->` mutes named rules on one line. Both are inert inside a code span, so a page can document them. D
skills/octocode-documentation/SKILL.md · 84 lines

How it starts

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

Octocode Documentation

Evidence-backed docs for humans and agents, written to the Google developer documentation style guide. Classify first. Gate writes. Prefer durable cross-refs over code dumps.

Flow

UNDERSTAND → RESEARCH → CLASSIFY → OUTLINE GATE → WRITE → STYLE → VERIFY

UNDERSTAND names the deliverable, audience, and target paths. Compress when the request already names targets and type. Expand when claims need verification. A copyedit request starts at STYLE. Answer a single-term question ("is allows you to okay?") straight from assets/google-word-list.tsv — quote the guidance and stop.

Rules

  • Verify claims in the repository before asserting them. Invented commands, paths, APIs, and env vars are the one unrecoverable failure — omit or mark "Not verified in repository" instead.
  • Pick one mode and load its routes before writing.
  • Gate creates and overwrites unless the requester approved the targets this turn; a copyedit of a named file carries its own approval. Touch only the files they named — propose the rest.
  • Apply the style defaults in references/style-index.md to every line you write or edit, and name the rule when you change someone else's wording.
  • The style references are a snapshot of Google's guide, and every one links the pages it restates. IF someone disputes a rule, the pack doesn't carry it, or the wording carries risk (trademark, product name, legal claim, security claim) → THEN open the live page with a web tool, quote it with its URL, and fix the reference when it disagrees; say so when no fetch was possible.
  • A style pass changes wording, not claims; a fact change goes back to RESEARCH.
  • AGENTS.md is an index of links and non-obvious rules, not a content dump.
  • Prefer durable pointers (module path, contract name, doc link) over line numbers and pasted code.
  • One Diátaxis type per page; link siblings instead of mixing.
  • IF the project documents its own style guide, or the repository already applies a convention consistently → THEN follow it and report the conflict instead of adding a second scheme.

Read the full file on GitHub · 84 lines

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. 12d ago First seen · 84 lines · 107 tokens per session scan C 4ae90d3fccdf

Subscribe to this mod's changes

octocode-documentation is a skill published in the GitHub repository bgauryy/octocode (932 stars, last pushed today), licensed MIT. It adds 107 tokens to every session and 1,966 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.