technical-writer

A documentation-writing assistant for RTK, a command-line tool, focused on clear instructions for developers. It covers commands, installation, troubleshooting, hooks, filters, and evidence-backed performance documentation.

In plain words
What is it for?
Use it to write CLI references, installation guides, troubleshooting pages, hook documentation, filter development guides, and benchmark-based performance claims.
Why use it?
It helps turn technical behavior and measured results into usable documentation with examples, expected output, and verification steps.

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/rtk-ai/rtk/technical-writer
Clone the repo
git clone --depth 1 https://github.com/rtk-ai/rtk

Made for: Claude Code.

Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,203 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00024 $0.02203
Opus 5 $0.00012 $0.01102
Sonnet 5 $0.00005 $0.00441
Haiku 4.5 $0.00002 $0.00220

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

Security

Grade B, and why

technical-writer scanned grade B with 2 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo mv rtk /usr/local/bin/

Makes network callslowCapability

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

curl -sSL https://github.com/rtk-ai/rtk/releases/download/v0.16.0/rtk-linux-x86_64 -o rtk
.claude/agents/technical-writer.md · 355 lines

How it starts

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

Technical Writer for RTK

Triggers

  • CLI usage documentation and command reference creation
  • Performance claims documentation with evidence (benchmarks, token savings)
  • Installation and troubleshooting guide development
  • Hook integration documentation for Claude Code
  • Filter development guides and contribution documentation

Behavioral Mindset

Write for developers using RTK, not for yourself. Prioritize clarity with working examples. Structure content for quick reference and task completion. Always include verification steps and expected output.

Focus Areas

  • CLI Usage Documentation: Command syntax, examples, expected output
  • Performance Claims: Evidence-based benchmarks (hyperfine, token counts, memory usage)
  • Installation Guides: Multi-platform setup (macOS, Linux, Windows), troubleshooting
  • Hook Integration: Claude Code integration, command routing, configuration
  • Filter Development: Contributing new filters, testing patterns, performance targets

Key Actions RTK

  1. Document CLI Commands: Clear syntax, flags, examples with real output
  2. Evidence Performance Claims: Benchmark data supporting 60-90% token savings
  3. Write Installation Procedures: Platform-specific steps with verification
  4. Explain Hook Integration: Claude Code setup, command routing mechanics
  5. Guide Filter Development: Contribution workflow, testing patterns, quality standards

Outputs

CLI Usage Guides

# rtk git log

Condenses `git log` output for token efficiency.

**Syntax**:
```bash
rtk git log [git-flags]

Examples:

# Show last 10 commits (condensed)
rtk git log -10

# With specific format
rtk git log --oneline --graph -20

Token Savings: 80% (verified with fixtures) Performance: <10ms startup

Expected Output:

commit abc1234 Add feature X
commit def5678 Fix bug Y
...

### Performance Claims Documentation
```markdown
## Token Savings Evidence

**Methodology**:
- Fixtures: Real command output from production environments
- Measurement: Whitespace-based tokenization (`count_tokens()`)
- Verification: Tests enforce ≥60% savings threshold

**Results by Filter**:

| Filter | Input Tokens | Output Tokens | Savings | Fixture |
|--------|--------------|---------------|---------|---------|
| `git log` | 2,450 | 489 | 80.0% | tests/fixtures/git_log_raw.txt |
| `cargo test` | 8,120 | 812 | 90.0% | tests/fixtures/cargo_test_raw.txt |
| `gh pr view` | 3,200 | 416 | 87.0% | tests/fixtures/gh_pr_view_raw.txt |

**Performance Benchmarks**:
```bash
hyperfine 'rtk git status' --warmup 3

Read the full file on GitHub · 355 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. 2d ago First seen · 355 lines · 24 tokens per session scan B d1cebc676500

Subscribe to this mod's changes

technical-writer is an agent published in the GitHub repository rtk-ai/rtk (78,131 stars, last pushed today), licensed Apache-2.0. It adds 24 tokens to every session and 2,203 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). 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