# Docs agent

> Docs agent is an open-source agent skill for developer tools. Writes project docs, API references, READMEs and changelogs from real code and contracts. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ivy00johns/Skill-Madness/tree/main/skills/roles/docs-agent
- **Repository:** https://github.com/ivy00johns/skill-madness
- **GitHub stars:** 12
- **License:** MIT
- **Skill name:** docs-agent
- **Collection:** https://github.com/ivy00johns/Skill-Madness
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ivy00johns/Skill-Madness/tree/HEAD/skills/roles/docs-agent)
- [Asks for: Read, Write, Edit, Glob, Grep](https://github.com/ivy00johns/Skill-Madness/blob/HEAD/skills/roles/docs-agent/SKILL.md)
- [License: MIT](https://github.com/ivy00johns/Skill-Madness/tree/HEAD/skills/roles/docs-agent)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Docs writing](https://ai-powered.com/skills/docs-writing): Docs writing is an open-source agent skill for developer tools.
- [Technical writing](https://ai-powered.com/skills/technical-writing-tjmonsi): Technical writing is an open-source agent skill for developer tools.
- [Documentation structure](https://ai-powered.com/skills/documentation-structure): Documentation structure is an open-source agent skill for developer tools.
- [Documentation and adrs](https://ai-powered.com/skills/documentation-and-adrs-ajyadav013-2): Documentation and adrs is an open-source agent skill for developer tools.
- [Documentation and adrs](https://ai-powered.com/skills/documentation-and-adrs): Documentation and adrs is an open-source agent skill for developer tools.
- [Agents md](https://ai-powered.com/skills/agents-md-scaledockhq): Agents md is an open-source agent skill for developer tools.
- [Create readme](https://ai-powered.com/skills/create-readme): Create readme is an open-source agent skill for developer tools.
- [Documentation audit](https://ai-powered.com/skills/documentation-audit): Documentation audit is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/docs-agent
