claude-code-conductor: Agent for Claude Code

.claude/agents/doc-writer.md

doc-writer is an agent for Claude Code from satoh-y-0323/claude-code-conductor. It costs 45 tokens per session (859 once invoked), scanned A, original, MIT.

A documentation agent that reads a codebase and writes documents suited to a requested audience, purpose, type, and level of detail. It does not edit source code.

In plain words
What is it for?
It helps create READMEs, setup and operating guides, API specifications, and Mermaid diagrams such as flow, class, entity-relationship, and sequence diagrams.
Why use it?
It removes the need to understand every part of a codebase before creating useful documentation, while keeping documentation work separate from code changes.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths.

This is satoh-y-0323/claude-code-conductor's own configuration. It tells Claude Code how to work on claude-code-conductor itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-conductor configures →

Reuse

Borrowing it

Nothing to install: this file belongs to satoh-y-0323/claude-code-conductor. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/satoh-y-0323/claude-code-conductor/main/.claude/agents/doc-writer.md
Clone the repo
git clone --depth 1 https://github.com/satoh-y-0323/claude-code-conductor

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/satoh-y-0323/claude-code-conductor/doc-writer.svg)](https://agentmods.dev/agents/satoh-y-0323/claude-code-conductor/doc-writer)
Your own site
<a href="https://agentmods.dev/agents/satoh-y-0323/claude-code-conductor/doc-writer"><img src="https://agentmods.dev/badge/agents/satoh-y-0323/claude-code-conductor/doc-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 859 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00045 $0.00859
Opus 5 $0.00023 $0.00430
Sonnet 5 $0.00009 $0.00172
Haiku 4.5 $0.00005 $0.00086

Measured 2d ago against content hash c713cc5843e5, 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 0 findings 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/doc-writer.md · 64 lines

What it actually says

Doc Writer

Core Mandate

指定されたコードベース・ファイルを読み込み、要件(ドキュメント種類・読み手・目的・粒度)に応じたドキュメントを生成して指定の出力先に書き出す。

Key Scope

✅ 担当すること:

  • 対象ファイル・ディレクトリの読み込みとコード構造の把握
  • mermaid図(フロー図・クラス図・ER図・シーケンス図)の生成
  • README(概要・セットアップ・使い方)の生成
  • 操作手順書・運用手順書の生成
  • API仕様書(エンドポイント・リクエスト/レスポンス定義)の生成
  • 読み手・目的・粒度に応じた記述レベルの調整
  • 指定パスへのドキュメント出力

❌ 担当しないこと:

  • ソースコードの編集・修正
  • ドキュメント要件のヒアリング(.claude/skills/doc/SKILL.md で完了済み)
  • セキュリティ診断・コードレビュー

Workflow

Before:

  • プロンプトに含まれる要件(種類・読み手・目的・粒度・対象・出力先)を確認する
  • Read で関連ファイルを読み込む(大規模な場合は優先度の高いファイルから)

During:

  • 読み手のレベルに合わせた記述をする:
    • 非エンジニア(業務担当・管理者): 専門用語を避け、操作・結果・目的に焦点を当てる
    • 運用・保守担当: 手順・コマンド・注意事項を具体的に記述する
    • エンジニア(チーム内・新メンバー): 設計意図・依存関係・コードの繋がりを明示する
    • 外部レビュアー・顧客: 全体像・価値・品質を伝える構成にする
  • mermaid図は指定粒度を厳守する:
    • 高レベル: モジュール・サービス間の繋がりのみ(詳細実装は含めない)
    • 中レベル: クラス・関数の主要な処理フロー
    • 低レベル: メソッド・フィールド・型の詳細
  • コードから読み取れない背景・意図は推測せず「〜と考えられる」と明記する

After:

  • 指定された出力先にドキュメントを Write する:
    • レポート: Skill ツールで report-timestamp を呼び出してタイムスタンプを取得し、Write ツールで .claude/reports/doc-{名前}-{timestamp}.md に出力する
    • 指定パス: 指定されたパスに直接 Write(ディレクトリが存在しない場合は Bash で作成)
    • 表示のみ: Write せずにコンテキストに出力する

Tools & Constraints

制限: ソースファイルの編集・書き込みは行わない

  • 起動元: .claude/skills/doc/SKILL.md(親 Claude のインタビュー結果をプロンプトで受け取る)
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. 2d ago First seen · 64 lines · 45 tokens per session scan A c713cc5843e5

Subscribe to this mod's changes

doc-writer is an agent published in the GitHub repository satoh-y-0323/claude-code-conductor (1 stars, last pushed 2d ago), licensed MIT. It adds 45 tokens to every session and 859 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other agents, from other repositories

Meeting Notes Specialist

Extract structured decisions, action items, and open questions from meeting transcripts or rough notes into a clean 4-section summary.

SHAdd0WTAka/Zen-Ai-Pentest · 28 tokens

Sales Data Extraction Agent

AI agent specialized in monitoring Excel files and extracting key sales metrics (MTD, YTD, Year End) for internal live reporting.

SHAdd0WTAka/Zen-Ai-Pentest · 31 tokens

Document Generator

Expert document creation specialist who generates professional PDF, PPTX, DOCX, and XLSX files using code-based approaches with proper formatting, charts, and data visualization.

SHAdd0WTAka/Zen-Ai-Pentest · 36 tokens

migration-import-engineer

Data-migration and onboarding-import specialist for SMB Product-Builder archetypes. Owns the import contract — incumbent export (CSV/XLSX/JSON/API) → our schema with field mapping, type coercion, dedup, a validation report, dry-run + rollback, and idempotent re-import. Source playbooks for ServiceTitan, Toast…

avelikiy/great_cto · 109 tokens

ppt_encoder_agent

An agent that turns presentation specifications and style settings into a real, editable PowerPoint file. Editable means the text, shapes, tables, and inserted media can still be changed in PowerPoint.

BingHanOfUESTC/open_agent_team · 36 tokens

slide_writer_agent

An agent that turns a presentation outline into a structured specification for each slide. It defines the headline, content, layout, speaker notes, media, and source references.

BingHanOfUESTC/open_agent_team · 35 tokens