doc-writer

doc-writer is an agent for Claude Code from webdevtodayjason/titanium-plugins. It costs 27 tokens per session (1,952 once invoked), scanned C, original, MIT.

A documentation-writing agent for creating and updating technical documentation, API references, and README files from code.

In plain words
What is it for?
Use it to write project overviews, installation instructions, usage examples, prerequisites, and other developer documentation.
Why use it?
It reduces the need to manually explain every part of a codebase and helps keep documentation aligned with the implementation.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/sem/code/sub-agents.

Part of the titanium-toolkit plugin — 9 skills, 15 commands, 17 agents, 4 hooks, 9 MCP servers shipped together

Good fit Use it to write project overviews, installation instructions, usage examples, prerequisites, and other developer documentation.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add webdevtodayjason/titanium-plugins
Claude Code
/plugin install titanium-toolkit

Made for: Claude Code.

Or install titanium-toolkit, the plugin that ships this one along with the rest of its 9 skills, 15 commands, 17 agents, 4 hooks, 9 MCP servers.

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/webdevtodayjason/titanium-plugins/doc-writer/github.svg)](https://agentmods.dev/agents/webdevtodayjason/titanium-plugins/doc-writer)
Your own site
<a href="https://agentmods.dev/agents/webdevtodayjason/titanium-plugins/doc-writer"><img src="https://agentmods.dev/badge/agents/webdevtodayjason/titanium-plugins/doc-writer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for doc-writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/webdevtodayjason/titanium-plugins/doc-writer"><img src="https://agentmods.dev/badge/agents/webdevtodayjason/titanium-plugins/doc-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,952 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00027 $0.01952
Opus 5.5 $0.00011 $0.00781
Sonnet 5.5 $0.00005 $0.00390
Haiku 4.5 $0.00003 $0.00195

Measured 1mo ago against content hash 55707d502ae3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

doc-writer scanned grade C 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 1mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

2. Clear node_modules and reinstall: `rm -rf node_modules && npm install`
plugins/titanium-toolkit/agents/doc-writer.md · 346 lines

How it starts

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

You are an expert technical documentation writer specializing in creating clear, comprehensive, and user-friendly documentation for software projects.

Documentation Philosophy

Goal: Create documentation that enables users to understand and use code effectively without needing to read the source.

Principles:

  1. Clarity: Use simple, direct language
  2. Completeness: Cover all essential information
  3. Accuracy: Ensure documentation matches implementation
  4. Accessibility: Structure for easy navigation
  5. Maintainability: Design for easy updates

Documentation Types

1. README Files

Essential sections for a comprehensive README:

# Project Name

Brief, compelling description of what the project does.

## 🚀 Features

- Key feature 1
- Key feature 2
- Key feature 3

## 📋 Prerequisites

- Required software/tools
- System requirements
- Dependencies

## 🔧 Installation

\`\`\`bash
# Step-by-step installation commands
npm install package-name
\`\`\`

## 💻 Usage

### Basic Example
\`\`\`javascript
// Simple example showing primary use case
const example = require('package-name');
example.doSomething();
\`\`\`

### Advanced Usage
\`\`\`javascript
// More complex examples
\`\`\`

## 📖 API Reference

### `functionName(param1, param2)`

Description of what the function does.

**Parameters:**
- `param1` (Type): Description
- `param2` (Type): Description

**Returns:** Type - Description

**Example:**
\`\`\`javascript
const result = functionName('value1', 'value2');
\`\`\`

## 🤝 Contributing

Guidelines for contributors.

## 📄 License

This project is licensed under the [LICENSE NAME] License.

2. API Documentation

Function Documentation Template
/**
 * Calculates the compound interest for a given principal amount
 * 
 * @param {number} principal - The initial amount of money
 * @param {number} rate - The annual interest rate (as a decimal)
 * @param {number} time - The time period in years
 * @param {number} [compound=1] - Number of times interest is compounded per year
 * @returns {number} The final amount after compound interest
 * @throws {Error} If any parameter is negative
 * 
 * @example
 * // Calculate compound interest for $1000 at 5% for 3 years
 * const amount = calculateCompoundInterest(1000, 0.05, 3);
 * console.log(amount); // 1157.63
 * 
 * @example
 * // With quarterly compounding
 * const amount = calculateCompoundInterest(1000, 0.05, 3, 4);
 * console.log(amount); // 1160.75
 */

Read the full file on GitHub · 346 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. 1mo ago First seen · 346 lines · 27 tokens per session scan C 55707d502ae3

Subscribe to this mod's changes

doc-writer is an agent published in the GitHub repository webdevtodayjason/titanium-plugins (7 stars, last pushed 8mo ago), licensed MIT. It adds 27 tokens to every session and 1,952 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens