Octocode Documentation logo

Octocode Documentation

Community
bgauryy
octocode-documentation

Use when docs are missing, wrong, stale, or badly written, or need a copyedit against the Google style guide: README, API reference, runbook, CONTRIBUTING, changelog, onboarding, AGENTS.md/CLAUDE.md, ADR, migration guide, Diátaxis or whole-codebase restructure, docstrings, alt text, prose linting. Not for code, commits, or marketing copy. Code investigation → octocode-research; SKILL.md folders → octocode-skills.

Overview

Publisherbgauryy
Repositoryoctocode
Skill nameoctocode-documentation
Stars
950
Forks
78
Bundled files
34
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 34 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by bgauryy on GitHub. Read the source before you install it.

Installation

Install the Octocode Documentation AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/bgauryy/octocode/tree/main/skills/octocode-documentation
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bgauryy/octocode.git /tmp/octocode
mkdir -p .claude/skills
cp -r /tmp/octocode/skills/octocode-documentation .claude/skills/octocode-documentation
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Octocode Documentation in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Octocode Documentation on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Octocode Documentation is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Stop when: outline gate awaits answer; write+style+verify finishes; a word-list lookup answered the question; a missing fact makes the doc dishonest to write (otherwise mark "Not verified in repository" and continue); conventions conflict; user cancels.

Workflows — the mode fixes the route order

ModeDeliverableRoute order
agent-docsAGENTS.md, nested agent instructions, CLAUDE.md symlinkmodes.md → evidence-research.md → agents-md.md → agent-readable.md → write-verify.md → style-lint.mjs
human-docsREADME, tutorial, how-to, reference, explanation, runbookmodes.md → evidence-research.md → diataxis.md → agent-readable.md → write-verify.md → style-lint.mjs
adrArchitecture decision recordmodes.md → evidence-research.md → adr.md → write-verify.md → style-lint.mjs
codebase-packMulti-file docs setmodes.md → plan the file set → gate once → per file: diataxis.md → write-verify.md → style-lint.mjs
style-passEdited text, or a style review reportstyle-index.md → the owning style-*.md → style-lint.mjs → style-review.md for a report someone else acts on

Routes — workflow references

PhaseWhenRead
CLASSIFYChoosing mode or audiencereferences/modes.md
RESEARCHGathering or verifying repository factsreferences/evidence-research.md
CLASSIFYChoosing the Diátaxis type for human-docs, or reviewing onereferences/diataxis.md
WRITEWriting or updating agent instruction filesreferences/agents-md.md
WRITERecording a decisionreferences/adr.md
WRITECross-refs, density, durability — read before the first linereferences/agent-readable.md
OUTLINE GATE, WRITE, VERIFYOutline gate, write steps, style pass, verify checklistreferences/write-verify.md
STYLEAny wording, formatting, or terminology question — maps every guide topic to its ownerreferences/style-index.md

Routes — style pack, grouped; references/style-index.md owns the per-topic map

AskRead
Which reference owns this topic — every guide topic, one row eachreferences/style-index.md
Prose: tone, person, voice, tense, grammar, one specific word, abbreviations, jargon, translation, inclusive termsreferences/style-voice.md, references/style-grammar.md, references/style-words.md, references/style-abbreviations.md, references/style-global.md, references/style-inclusive.md
Page shape: headings, lists, numbered steps, notices, tables, footnotes, figures, alt textreferences/style-structure.md, references/style-procedures.md, references/style-blocks.md, references/style-images.md
Mechanics: bold/italic/code choice, capitalization, filenames, markup, punctuation, numbers, dates, unitsreferences/style-format.md, references/style-punctuation.md, references/style-numbers.md
Technical text: code font, samples, command syntax, placeholders, example values, UI wording, link textreferences/style-code.md, references/style-cli.md, references/style-examples.md, references/style-ui.md, references/style-links.md
Claims and reference text: time words, superlatives, product names, trademarks, third-party text, docstringsreferences/style-claims.md, references/style-api.md
Producing a review someone else acts on, or checking a rule against the live guidereferences/style-review.md, references/style-sources.md

Scripts and assets — what to run, when, and how

RunWhenHow it behaves
scripts/style-lint.mjs <paths>At STYLE, before hand-reading proseMarkdown only. ERROR gates, WARN is mechanical, INFO needs judgment. One finding per rule per line; --max-per-rule caps per file (default 20); --only/--skip select rules; --json for machine output. Exit 1 on ERROR, or on WARN with --strict; 2 on bad usage
scripts/style-lint.mjs --self-testAfter editing any ruleLints built-in good/bad fixtures so a gate cannot go inert
scripts/refresh-word-list.mjs --dry-runWhen the word list looks staleRebuilds assets/google-word-list.tsv from developers.google.com; it fetches even with --dry-run, and refuses to write a short parse
assets/google-word-list.tsvAnswering a single-term question597 guide entries with verdict and guidance; quote it and stop
assets/google-style-pages.tsvFinding which reference owns a guide page, or its URLAll 69 pages as slug, title, owner, url; grep -P "^tables\t" answers ownership, and the URL is what you fetch to verify

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. Docstrings, HTML, and UI strings stay hand-checked.

Related

  • Pure code or repository evidence with no docs deliverable → octocode-research; authoring a SKILL.md → octocode-skills.
  • Full multi-file pack → plan the file set, gate it once, then work file by file.
  • Unclear mode → ask once: agent-docs / human-docs / adr / codebase-pack / style-pass. No Octocode → host search tools.
  • Measuring whether this skill triggers and holds its routes → octocode-graph-eval; the runnable sensors here are scripts/style-lint.mjs --self-test (rules still fire) and scripts/refresh-word-list.mjs --dry-run (word-list drift).

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Octocode Documentation AI skill do?

Use when docs are missing, wrong, stale, or badly written, or need a copyedit against the Google style guide: README, API reference, runbook, CONTRIBUTING, changelog, onboarding, AGENTS.md/CLAUDE.md, ADR, migration guide, Diátaxis or whole-codebase restructure, docstrings, alt text, prose linting. Not for code, commits, or marketing copy. Code investigation → octocode-research; SKILL.md folders → octocode-skills.

Why use Octocode Documentation on TypingMind?

Because you install it once and use it with any model. Octocode Documentation is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Octocode Documentation in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/bgauryy/octocode/tree/main/skills/octocode-documentation. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Octocode Documentation?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Octocode Documentation?

As many as you like. As long as a model supports skills, you can use Octocode Documentation with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Octocode Documentation AI skill free?

Yes. It is published on GitHub by bgauryy under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇