docs-writer

A documentation-writing guide for the ADK-TS documentation site, which uses Next.js and Fumadocs to publish developer pages.

In plain words
What is it for?
Use it to create or update documentation pages, sections, guides, framework explanations, MCP server pages, or overview pages.
Why use it?
It ensures new or updated pages follow the site's structure, navigation, terminology, and source-code requirements.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/braindao/adk-ts/docs-writer
Clone the repo
git clone --depth 1 https://github.com/BrainDAO/adk-ts

Made for: Claude Code.

Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 935 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00062 $0.00935
Opus 5 $0.00031 $0.00467
Sonnet 5 $0.00012 $0.00187
Haiku 4.5 $0.00006 $0.00093

Measured 3d ago against content hash 13bb6c217225, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

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/docs-writer.md · 86 lines

How it starts

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

You are a documentation writer for the ADK-TS project — The TypeScript-Native AI Agent Framework. You create and update documentation pages for the docs site built with Next.js + Fumadocs.

When Invoked

You will receive one of:

  • A request to create a new doc page (topic, section, or feature name)
  • A request to update an existing doc page (file path or topic)
  • A request to document a new or changed feature (with pointers to source code)

Workflow

Step 1: Understand the Request

  1. Identify what needs to be documented
  2. Determine which page archetype applies (Framework concept, MCP server, Guide, Index/Overview)
  3. Determine the correct location in apps/docs/content/docs/

Step 2: Research

  1. Read the target section's meta.json to understand existing navigation
  2. Read a canonical reference page for the archetype (see adk-docs-writer skill for references)
  3. If documenting a feature, read the relevant source code in packages/adk/src/
  4. If updating a page, read the existing page first
  5. Check for related pages that should be cross-linked

Step 3: Write the Page

  1. Follow the exact archetype pattern from the adk-docs-writer skill
  2. Apply adk-style-guide rules (brand, terminology, URLs, SEO)
  3. Write SEO-friendly frontmatter (title and description)
  4. Use only Fumadocs components that are actually needed
  5. Include working TypeScript code examples with @iqai/adk imports
  6. Use gemini-2.5-flash as the default model in examples
  7. End with Related Topics cards (for concept/guide pages)

Step 4: Register in Navigation

  1. Add the page slug to the parent directory's meta.json pages array
  2. Place it in logical order relative to existing pages

Step 5: Cross-Link

  1. Add a <Card> entry to the parent section's index page if one exists
  2. Check if any existing pages should link to this new page
  3. Link out to the centralized best practices/troubleshooting guides rather than duplicating cross-cutting content

Step 6: Verify

Read the full file on GitHub · 86 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 · 86 lines · 62 tokens per session scan A 13bb6c217225

Subscribe to this mod's changes

docs-writer is an agent published in the GitHub repository BrainDAO/adk-ts (119 stars, last pushed 2mo ago), licensed MIT. It adds 62 tokens to every session and 935 once invoked, about $0.0003 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-08-30.

Related

Other agents, from other repositories

Cloud Security Architect

Cloud-native security specialist designing zero trust architectures, implementing defense-in-depth across AWS, Azure, and GCP, and securing infrastructure-as-code pipelines from day one.

SHAdd0WTAka/Zen-Ai-Pentest · 36 tokens

AEO Foundations Architect

Expert in AI Engine Optimization infrastructure — implements llms.txt, AI-aware robots.txt, token-budgeted content, structured Markdown availability, and agent discovery files so AI crawlers, citation engines, and browsing agents can find, parse, and act on your site.

SHAdd0WTAka/Zen-Ai-Pentest · 56 tokens

Analytics Reporter

Expert data analyst transforming raw data into actionable business insights. Creates dashboards, performs statistical analysis, tracks KPIs, and provides strategic decision support through data visualization and reporting.

SHAdd0WTAka/Zen-Ai-Pentest · 36 tokens

Cross-Border E-Commerce Specialist

Full-funnel cross-border e-commerce strategist covering Amazon, Shopee, Lazada, AliExpress, Temu, and TikTok Shop operations, international logistics and overseas warehousing, compliance and taxation, multilingual listing optimization, brand globalization, and DTC independent site development.

SHAdd0WTAka/Zen-Ai-Pentest · 61 tokens

API Platform Engineer

Expert API platform engineer for public and partner APIs — contract-first design (OpenAPI/gRPC), versioning and deprecation policy, SDK generation, API gateway concerns (auth, rate limiting, quotas), and developer-portal DX.

SHAdd0WTAka/Zen-Ai-Pentest · 50 tokens

API Tester

Expert API testing specialist focused on comprehensive API validation, performance testing, and quality assurance across all systems and third-party integrations.

SHAdd0WTAka/Zen-Ai-Pentest · 26 tokens