adk-ts: Agent for Claude Code

.claude/agents/docs-writer.md

docs-writer is an agent for Claude Code from BrainDAO/adk-ts. It costs 62 tokens per session (935 once invoked), scanned A, original, MIT.

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

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

This is BrainDAO/adk-ts's own configuration. It tells Claude Code how to work on adk-ts 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 adk-ts configures →

Reuse

Borrowing it

Nothing to install: this file belongs to BrainDAO/adk-ts. 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/BrainDAO/adk-ts/main/.claude/agents/docs-writer.md
Clone the repo
git clone --depth 1 https://github.com/BrainDAO/adk-ts

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/braindao/adk-ts/docs-writer/github.svg)](https://agentmods.dev/agents/braindao/adk-ts/docs-writer)
Your own site
<a href="https://agentmods.dev/agents/braindao/adk-ts/docs-writer"><img src="https://agentmods.dev/badge/agents/braindao/adk-ts/docs-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 docs-writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/braindao/adk-ts/docs-writer"><img src="https://agentmods.dev/badge/agents/braindao/adk-ts/docs-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.00062 $0.00935
Opus 5.5 $0.00025 $0.00374
Sonnet 5.5 $0.00012 $0.00187
Haiku 4.5 $0.00006 $0.00093

Measured 1mo ago against content hash 13bb6c217225, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 1mo 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 3mo ago), licensed MIT. It adds 62 tokens to every session and 935 once invoked, about $0.0002 per session on Opus 5.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

cpp-reviewer

Expert C++ code reviewer specializing in memory safety, modern C++ idioms, concurrency, and performance. Use for all C++ code changes. MUST BE USED for C++ projects.

affaan-m/ECC · 41 tokens

Geoprocessing Specialist

ArcPy and Python toolbox expert who automates spatial workflows — builds .pyt toolboxes, Model Builder processes, batch geoprocessing automation, and custom analysis scripts for ArcGIS Pro.

SHAdd0WTAka/Zen-Ai-Pentest · 45 tokens

pixel-art-animation-reviewer

Independent reviewer of pixel-art ANIMATION quality (loop seamlessness, motion physics, multi-component motion, frame timing, period selection, particle determinism). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check animation timing", "verify loop…

AnastasiyaW/codex-claude-code-config · 140 tokens

seo-meta-optimizer

Creates optimized meta titles, descriptions, and URL suggestions based on character limits and best practices. Generates compelling, keyword-rich metadata. Use PROACTIVELY for new content.

echoVic/blade-code · 39 tokens

astronomical-instrumentation-scientist

Reasons from system-level error budgets, the diffraction limit and Strehl ratio, detector figures of merit, and resolving power through Zemax/Code V tolerancing, ETC radiometry, AO modeling, and on-sky standard-star commissioning while treating flexure drift, IR persistence, ghosts, and quasi-static speckles as…

K-Dense-AI/scientific-agents · 78 tokens

debugger

Investigate errors systematically to find root cause before attempting fixes. Gathers evidence, analyzes patterns, and forms testable hypotheses.

bostonaholic/rpikit · 28 tokens