Agent Skill
Doc co-authoring
A three-stage workflow for writing specs, proposals and decision docs with an agent: gather context, draft section by section, then test it on a fresh reader.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkInstall
Commands are pinned to commit e4bb5d9, the version we read, wherever the install method supports it.
npx skills
npx skills add anthropics/skills@e4bb5d960d87126ff3b3a8af1a104b7db67560ba --skill doc-coauthoring -a claude-codeCopies the skill into .claude/skills/ in this project, pinned to the reviewed commit.
Plugin marketplace
/plugin marketplace add anthropics/skills
/plugin install example-skills@anthropic-agent-skillsRun inside Claude Code. Installs the whole example-skills plugin from its default branch, not the pinned commit.
Upload
git clone https://github.com/anthropics/skills.git
cd skills && git checkout e4bb5d960d87126ff3b3a8af1a104b7db67560ba
cd skills && zip -r ~/doc-coauthoring.zip doc-coauthoringThen in Claude open Customize > Skills, choose + > Upload a skill and pick the zip. Code execution must be enabled in Settings > Capabilities.
npx skills
npx skills add anthropics/skills@e4bb5d960d87126ff3b3a8af1a104b7db67560ba --skill doc-coauthoring -a codexInstalls to .agents/skills/, which Codex scans from the working directory up to the repo root.
npx skills
npx skills add anthropics/skills@e4bb5d960d87126ff3b3a8af1a104b7db67560ba --skill doc-coauthoring -a cursorInstalls to .agents/skills/, one of the folders Cursor reads skills from.
gh skill
gh skill install anthropics/skills skills/doc-coauthoring --pin e4bb5d960d87126ff3b3a8af1a104b7db67560ba --agent github-copilotNeeds GitHub CLI 2.90.0 or later. Use --scope user to install for every repository.
npx skills
npx skills add anthropics/skills@e4bb5d960d87126ff3b3a8af1a104b7db67560ba --skill doc-coauthoringPinned to the commit we reviewed. The CLI asks which agents to install for; add -g to install for your user instead of this project.
What it does
Instead of asking for a finished document in one go, this skill runs a structured process. Stage one gathers context through questions and lets you dump everything you know. Stage two builds the document section by section: clarifying questions, brainstorming, curation, a gap check, drafting and refinement. Stage three is the unusual part: the agent predicts what a reader would ask and, where the client supports it, hands the draft to a sub-agent with no context to see whether it holds up.
When to use it
Specs, proposals, decision documents and design docs where the hard part is getting the thinking out of your head. The reader-test stage, where a sub-agent with no context reads the draft, is a cheap way to find the gaps a real reader would hit.
When to skip it
Short documents and anything you could write in ten minutes yourself. The process asks a lot of questions by design; say which stages to skip if you are in a hurry.
Try it
Help me write a decision doc on moving our search from Elasticsearch
to Postgres full-text search. Start by asking what I know, then draft
section by section, and test the draft on a reader with no context.
What it can touch
- Bundles scripts
- No
- Pre-approved tools
- See source
- Needs
- Nothing beyond the agent
- Client-specific fields
- None, spec fields only
- Files
- At commit
e4bb5d9the SKILL.md is 376 lines long and it is the only file in the folder.
Its instructions steer what your agent does, and it may have changed since the commit we read. How to check a skill.
Instructions only. The process is long by design and asks a lot of questions; tell the agent which stages to skip if you are short on time.
Outline of the SKILL.md
We have not reproduced this SKILL.md because, unlike most skills in Anthropic’s repository, its folder ships no licence file, so we have no permission to republish it. We checked again on 20 November 2026. These are its section headings at the reviewed commit; read the full file at the source link.
- When to Offer This Workflow
- Stage 1: Context Gathering
- Stage 2: Refinement & Structure
- Stage 3: Reader Testing
- Final Review
- Tips for Effective Guidance
Alternatives
Internal comms for short updates, spec-driven development and to spec for engineering specs, and humanizer for the final edit.
SKILL.md
We have not reproduced this file here; the outline above lists its sections. Read the SKILL.md on GitHub.
Related skills
Internal comms
Templates and guidance for status reports, leadership updates, newsletters, FAQs and incident write-ups in the formats a company already uses.
Spec-driven development
Addy Osmani's skill for writing a spec before code: scope check, capability map, objectives, commands, boundaries and success criteria, with V1 and V2 scoping.
Documentation and ADRs (Addy Osmani)
Writes architecture decision records in your project's existing format, documents why rather than what, and uses git history to tell whether a doc is stale.
Guides and recipes that use Doc co-authoring
- Write a product requirements doc with AI
Turn notes and customer quotes into an evidence table, draft goals, non-goals and acceptance criteria, get grilled, then check every claim.
- Summarise a long report with AI into a one-page brief
Map the PDF with page numbers, draft a one-page brief for one reader, check every page reference and number, and list gaps.
- Write a team AI usage policy in an afternoon
Data rules, approved tools, review duties and training, with pointers to the EU AI Act and NIST AI RMF.
- Gemini Gems are now skills: what changed and how to move yours
Gems became read-only skills on 17 November 2026 and disappear on 17 December. What converted, which files did not, and how to make one work in other agents.