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.
npx skills add HigorAlves/orc --skill doc-writinggit clone --depth 1 https://github.com/HigorAlves/orcWrote 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.
[](https://agentmods.dev/skills/higoralves/orc/doc-writing)<a href="https://agentmods.dev/skills/higoralves/orc/doc-writing"><img src="https://agentmods.dev/badge/skills/higoralves/orc/doc-writing/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.
<a href="https://agentmods.dev/skills/higoralves/orc/doc-writing"><img src="https://agentmods.dev/badge/skills/higoralves/orc/doc-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00058 | $0.01254 |
| Opus 5.5 | $0.00023 | $0.00502 |
| Sonnet 5.5 | $0.00012 | $0.00251 |
| Haiku 4.5 | $0.00006 | $0.00125 |
Grade A, and why
doc-writing 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 25d 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.
How it starts
The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Doc Writing — shared scaffolding
This skill holds the material common to every numbered design/spec document orc authors. The five type-specific skills — orc-prd-writing, orc-trd-writing, orc-rfc-writing, orc-adr-writing, orc-postmortem-writing — defer here for the shared parts and add only their own template, fields, and tone.
Read this first when authoring any of those docs. It answers: which doc type is this?, how is it laid out?, where does it get published?, and what are the review gates?
The doc-type map — which one is this?
Six types — PRD, TRD, RFC, ADR, postmortem, plan — form a lineage: PRD → TRD → (RFC if alternatives exist) → plan → ADRs as decisions lock in; a postmortem is off to the side. Read DOC-TYPE-MAP.md when the type is in doubt: the matrix (question, audience, lifetime) and how each pair differs. When the choice is borderline, surface the call to the user rather than guessing.
Where docs live — numbering & publication
Numbered docs follow one convention across the project:
docs/<type>s/NNNN-<kebab-name>.md
docs/prds/,docs/trds/,docs/rfcs/,docs/adr/(note:adr, singular dir name by convention).NNNNis a four-digit zero-padded sequence:0001,0002, … .- The sequence is monotonic across the project — never reuse a number, even for archived / superseded / rejected docs.
- Find the next number mechanically:
then increment and re-pad to four digits.ls docs/<type>s 2>/dev/null | grep -E '^[0-9]{4}-' | sort | tail -1 - If
docs/<type>s/doesn't exist yet, create it and add a one-linedocs/<type>s/README.mdpointing at the relevant type skill.
Postmortems are the exception — they're keyed by incident date, not a monotonic counter: docs/postmortems/YYYY-MM-DD-<short-slug>.md.
External-tool publication. RFCs and postmortems may live in an external tool (Notion, Confluence, Linear, GitHub Discussions) instead of in-repo — use that when reviewers don't clone the repo, or when threaded discussion / non-engineering read access matters more than diff history. For orc projects, default to in-repo; move external only when the discussion volume or audience justifies it.
What ships with it
2 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.
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.
- 25d ago Changed 9131df557af6
- 1mo ago Changed · -34 lines 0f06895c6a0c
- 3mo ago First seen · 94 lines · 58 tokens per session scan A 9bbe8ea5cffe
doc-writing is a skill published in the GitHub repository HigorAlves/orc (7 stars, last pushed 3d ago), licensed MIT. It adds 58 tokens to every session and 1,254 once invoked, about $0.0002 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.
doc-writing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| doc-writingHigorAlves/orc | Skill | 7 | 3d ago | MIT | A | 58 | Claude Code, Codex |
| clean-code-coreCassetteTapeCrackle/claude-starters | Skill | 1 | 28d ago | MIT | A | 70 | Claude Code |
| agent-orchestrationCassetteTapeCrackle/claude-starters | Skill | 1 | 28d ago | MIT | A | 59 | Claude Code |
| clean-code-audioCassetteTapeCrackle/claude-starters | Skill | 1 | 28d ago | MIT | A | 52 | Claude Code |
| clean-code-cppCassetteTapeCrackle/claude-starters | Skill | 1 | 28d ago | MIT | A | 42 | Claude Code |
| clean-code-rustCassetteTapeCrackle/claude-starters | Skill | 1 | 28d ago | MIT | A | 44 | Claude Code |
| clean-code-cCassetteTapeCrackle/claude-starters | Skill | 1 | 28d ago | MIT | A | 34 | Claude Code |