Skip to content
Skill

Docs agent

Writes project docs, API references, READMEs and changelogs from real code and contracts

Docs agent is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
12
Last commit
License
MIT
Listing updated

Similar skills

About Docs agent

This skill turns an AI coding agent into a documentation writer for a multi-agent build. It tells the agent to read the integration contracts and source code before writing anything, so the docs match what the system actually does rather than guesses. The agent produces READMEs with setup, run, test and environment-variable sections, API documentation with curl examples for each endpoint, architecture overviews and Keep a Changelog style release notes.

The skill is built around clear ownership boundaries. The agent may write under docs/, README.md, CHANGELOG.md and CONTRIBUTING.md, but is told never to edit application source, configuration or test files, and to leave certain docs subfolders to other roles. It is meant to run either as a role dispatched by an orchestrator or as a solo task where the user supplies scope and approved paths.

No scripts are bundled. The skill's allowed tools are read, write, edit, file search and text search, and it expects the agent to run the project's real commands to confirm the documented steps work.

When your agent uses it

Generate project documentation, API docs, READMEs and changelogs in native orchestrator dispatch or explicitly requested solo documentation work. Read real contracts and code; load it when the orchestrator assigns this role or the user asks for it.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (10 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the skill-madness plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ivy00johns/Skill-Madness
/plugin install skill-madness@skill-madness

Or copy only this skill to ~/.claude/skills/docs-agent:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/docs-agent &&
cp -R "$tmp/skills/roles/docs-agent" ~/.claude/skills/docs-agent &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/docs-agent inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/docs-agent to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/docs-agent &&
cp -R "$tmp/skills/roles/docs-agent" ~/.agents/skills/docs-agent &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/docs-agent inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/docs-agent to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/docs-agent &&
cp -R "$tmp/skills/roles/docs-agent" ~/.cursor/skills/docs-agent &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/docs-agent inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ivy00johns/Skill-Madness.git --path skills/roles/docs-agent

Or copy the folder to ~/.gemini/skills/docs-agent yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/docs-agent:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/docs-agent &&
cp -R "$tmp/skills/roles/docs-agent" ~/.copilot/skills/docs-agent &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/docs-agent inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git

Then copy Skill-Madness/skills/roles/docs-agent into your agent's skills folder as docs-agent. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Contract-first documentation
Requires reading API contracts and source before drafting so docs reflect the actual system.
README generation
Covers description, stack, prerequisites, run and test commands, and environment variables.
API endpoint reference
Documents each endpoint with method, path, auth, error shapes and curl examples.
Architecture overviews
Describes system components, data flow and integration points, with text or Mermaid diagrams.
Keep a Changelog entries
Groups release notes under Added, Changed, Deprecated, Removed, Fixed and Security.
Clear file ownership
Limits writes to documentation files and respects reserved subfolders owned by other roles.

Good for

  • Write a README for a new project with setup and run steps
  • Document every REST endpoint with working curl examples
  • Draft a CHANGELOG entry for a new release
  • Create an architecture overview of a multi-service system
  • Review docs for accuracy against the current API contract

Docs agent FAQ

What tools does Docs agent need?

It lists Read, Write, Edit, Glob and Grep as allowed tools.

Can the agent change application code with Docs agent?

No. The skill tells the agent to write only documentation and never touch application source, config or test files.

When does Docs agent trigger?

The skill loads when an orchestrator assigns the docs role or when a user explicitly asks for documentation work.

Does Docs agent include scripts?

No scripts are bundled with this skill.

How do I install Docs agent in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/docs-agent to use it in all your projects, or to .claude/skills/docs-agent in one project. Or install the skill-madness plugin, which includes it: /plugin marketplace add ivy00johns/Skill-Madness, then /plugin install skill-madness@skill-madness.

Does Docs agent run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Docs agent?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Docs agent?

The closest alternatives to Docs agent are Docs writing, Technical writing, Documentation structure, Documentation and adrs and Documentation and adrs.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ivy00johns/Skill-Madness

  1. Finds merged and stale git branches, then deletes them only after your confirmation

    • Open source
    • 12 GitHub stars
    • Developer tools
  2. Finds and removes git worktrees whose changes are already merged into main

    • Open source
    • 12 GitHub stars
    • Developer tools
  3. Bulk-scans a skill ecosystem for consistency, quality gaps and ownership conflicts

    • Open source
    • 12 GitHub stars
    • Developer tools
  4. Runs a single-skill quality review covering structure, triggering and output checks

    • Open source
    • 12 GitHub stars
    • Developer tools
  5. Turns skill review or audit reports into a prioritized list of concrete SKILL.md fixes

    • Open source
    • 12 GitHub stars
    • Developer tools
  6. Applies planned edits to SKILL.md files, validates them, and offers to sync

    • Open source
    • 12 GitHub stars
    • Developer tools