docs-voice

A writing guide for Codemap’s public documentation. It sets the expected voice, structure, and wording for pages such as guides, tutorials, and API reference.

In plain words
What is it for?
Writing or editing Codemap documentation, choosing headlines, framing benefits, and deciding how to describe features or rejected approaches.
Why use it?
It keeps documentation consistent and clear across many contributors. It also helps authors explain limits honestly instead of turning every page into a sales pitch.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/stainless-code/codemap/docs-voice
Any agent
npx skills add stainless-code/codemap --skill docs-voice
Clone the repo
git clone --depth 1 https://github.com/stainless-code/codemap

Made for: Claude Code, Codex.

Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,726 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00065 $0.01726
Opus 5 $0.00032 $0.00863
Sonnet 5 $0.00013 $0.00345
Haiku 4.5 $0.00006 $0.00173

Measured yesterday against content hash f0bf1ff19764, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

docs-voice 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 yesterday.

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.

.agents/skills/docs-voice/SKILL.md · 122 lines

How it starts

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

Docs voice — Codemap docs (apps/docs, built with Blume)

Keep landing, guides, concepts, recipes, reference, and generated API reading like one voice.

Voice in one line

Senior-dev to senior-dev: concrete, SQL-literate, dry, honest about scope. No hype. The differentiators are radical honesty (say what's planned / diverges / was rejected) and the "when not to use it" anti-pitch — keep both.

Do

  • Lead with the pain, then the mechanism. "Agents burn tokens scanning files to find one symbol…" → then "codemap query --json returns the row in one SQL round-trip."
  • Concrete before abstract. Name codemap query / --recipe / createCodemap / defineConfig before the coinage "predicate-as-API" or "structural index."
  • CLI-first AND programmatic. Show the CLI shape first; pair with the library shape (createCodemap, defineConfig, adapters) when the page is API-shaped. The published package entry is the SSOT for generated /reference/api (TypeDoc).
  • SQL is the API. When a page answers a structural question, show the SQL or the --recipe — not a paragraph of prose pretending to be the answer. Recipes are named SQL patterns; cite the recipe id.
  • Section headers by page type. Marketing = period-terminated benefit sentence ("Query your codebase."); guides = action verb ("Find a symbol with one query"); reference = precise noun; concepts = model noun + consequence.
  • Card titles = the outcome; card bodies = the API / SQL.
  • One idea per sentence in leads. Short claim first, then expand.
  • State experimental / pre-1.0 status once per surface, one wording (see Canonical patterns).
  • Sidebar icons: all-or-none per sibling list. Blume does not reserve an icon column — sparse sidebar.icon jaggeds labels. Guides, Concepts, Recipes, Reference leaves: none unless every peer has a natural glyph. Section meta.ts icons and tab icons stay.
  • Peer framing is structural, not brand-vs-brand. When comparing, contrast axes (query API, semantic layer, extraction depth, CI substrate) — see docs/why-codemap.md § Codemap vs alternatives. Do not clone peer design in prose; reach for the underlying spec (plan-pr-inspiration-discipline).

Read the full file on GitHub · 122 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. yesterday First seen · 122 lines · 65 tokens per session scan A f0bf1ff19764

Subscribe to this mod's changes

docs-voice is a skill published in the GitHub repository stainless-code/codemap (8 stars, last pushed 6d ago), licensed MIT. It adds 65 tokens to every session and 1,726 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

roam

Codebase comprehension via roam-code CLI. Use when exploring codebases, planning modifications, debugging failures, assessing PR risk, or checking architecture health. Triggers on: understanding project structure, pre-change safety checks, finding symbols/files, blast radius analysis, affected tests, health scoring…

Cranot/roam-code · 86 tokens

map-learn

Capture reusable lessons after a completed MAP workflow. Use when a MAP run has finished and you want rules written to .claude/rules/learned/ from a workflow summary or handoff. Do NOT use during active implementation.

azalio/map-framework · 51 tokens

source-reading

带 AI 精读大型开源仓库,产出每句话都能回溯到源码具体行的书稿、课程或技术文档。核心是零幻觉:每一处引用逐字节核实、行号实读、静默删行由脚本抓出。覆盖锁版本锚点、写逐章大纲、八段结构写章节、编成带封面封底的 HTML 书、机器校验、并行子 Agent 生产六件事。当用户要读懂一个陌生的大型仓库、精读某个开源项目源码、把源码整理成一本书、整理成课程或系列文章、做源码解读、写架构分析、或者要派多个 Agent 并行写技术内容时使用。触发词:精读源码、读源码、源码解读、源码分析、拆解这个项目、这个仓库怎么读、把源码写成课、把源码写成书、写源码精读、架构分析、code walkthrough、带我读代码。.

itshen/source-reading-methodology · 229 tokens

levelup-specify

Extract Context Directive Records (CDRs) from the current session after completing work. Identifies reusable patterns (rules, personas, examples, evals) and captures directive compliance cases for team-ai-directives.

tikalk/adlc-team-skills · 46 tokens

lane-memory

SMA-style project fact corpus under .agents/memory/. Opt-in via adoc stages.memory.enabled. Use when user says память, lane-memory, corpus, CORE, почему бот забыл, or an agent needs durable non-code facts. Not PROGRESS/LESSONS dumps.

VKirill/claude-lane-stack · 59 tokens

t-doc

Generate project tutorial documentation that reads like a human wrote it, not like AI output. Scans the codebase, extracts architecture/APIs/config/deployment details, and writes structured tutorial docs in the project's documentation target, preferring an existing docs-web site over docs/tutorials/. Use this skill…

timzaak/web-dev-skills · 149 tokens