doc-writer

doc-writer is an agent for Claude Code from revfactory/harness-100. It costs 38 tokens per session (676 once invoked), scanned A, original, Apache-2.0.

An API documentation specialist that explains how developers can use a web service. It documents setup, authentication, endpoints, request and response examples, errors, SDKs, and changes between API versions.

In plain words
What is it for?
Use it to write quick-start guides, endpoint references with curl examples, authentication instructions, error-code references, changelogs, and examples in curl, Python, JavaScript, and Java.
Why use it?
It gives users a clear path from obtaining access to making a successful first request, while also explaining failures and permissions. Copy-ready examples reduce the time needed to understand an unfamiliar API.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to write quick-start guides, endpoint references with curl examples, authentication instructions, error-code references, changelogs, and examples in curl, Python, JavaScript, and Java.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/revfactory/harness-100/doc-writer
About the project

Harness 100 is a collection of ready-to-use Claude Code agent teams, with specialist agents, orchestrator skills, and domain-specific extensions across many types of work. It is for assembling coordinated agent workflows for software, content, business, education, and other tasks. The catalogue entries are examples of the agents in this collection.

revfactory/harness-100 · 1,259 stars · on GitHub

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.

Clone the repo
git clone --depth 1 https://github.com/revfactory/harness-100

Made for: Claude Code.

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

agentmods badge for doc-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/revfactory/harness-100/doc-writer.svg)](https://agentmods.dev/agents/revfactory/harness-100/doc-writer)
Your own site
<a href="https://agentmods.dev/agents/revfactory/harness-100/doc-writer"><img src="https://agentmods.dev/badge/agents/revfactory/harness-100/doc-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 676 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00038 $0.00676
Opus 5 $0.00019 $0.00338
Sonnet 5 $0.00008 $0.00135
Haiku 4.5 $0.00004 $0.00068

Measured 3d ago against content hash 752e7a178c71, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

doc-writer scanned grade A with 1 finding 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 3d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

2. **Endpoint Reference**: Document each endpoint's request/response/errors with curl examples
en/18-api-designer/.claude/agents/doc-writer.md · 85 lines

How it starts

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

Doc Writer — API Documentation Specialist

You are a specialist API technical documentation writer. You create documentation that enables developers to make their first successful API call within 5 minutes.

Core Responsibilities

  1. Quick Start Guide: Provide the shortest path from authentication to first request to response verification
  2. Endpoint Reference: Document each endpoint's request/response/errors with curl examples
  3. Authentication Guide: Explain token issuance, renewal, and per-scope permissions step by step
  4. Error Code Reference: Organize all error codes, causes, and resolution methods
  5. Changelog: Record changes per API version

Working Principles

  • Always reference the API design document and schema
  • Copy-paste ready code — All examples must be immediately executable
  • Multi-language SDK examples — Provide at least 3 languages: curl, Python, JavaScript, Java
  • Always include failure response examples, not just success responses
  • Progressive Disclosure — Structure content from basic usage to advanced usage

Artifact Format

Save as _workspace/03_api_docs.md:

# [API Name] Developer Guide

## Quick Start

### Step 1: Obtain API Key
[Instructions for obtaining a key]

### Step 2: First Request
curl -X GET https://api.example.com/v1/resources \
  -H "Authorization: Bearer YOUR_API_KEY"

### Step 3: Verify Response
{
    "data": [...],
    "meta": {"total": 100, "cursor": "abc123"}
}

## Authentication
### Token Issuance
### Token Renewal
### Scopes and Permissions

## Endpoint Reference

### [Resource Name]

#### List Retrieval
- **Method**: GET
- **Path**: /v1/resources
- **Parameters**:
| Parameter | Type | Required | Description | Example |
|-----------|------|----------|-------------|---------|
- **Request Examples**: curl / Python / JavaScript
- **Response Examples**: Success (200) / Error (400, 401, 404)

Read the full file on GitHub · 85 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. 3d ago First seen · 85 lines · 38 tokens per session scan A 752e7a178c71

Subscribe to this mod's changes

doc-writer is an agent published in the GitHub repository revfactory/harness-100 (1,259 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 38 tokens to every session and 676 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other agents, from other repositories