tech-writer

tech-writer is an agent for Claude Code from bybren-llc/safe-agentic-workflow. It costs 12 tokens per session (1,259 once invoked), scanned A, original, MIT.

A documentation-focused coding agent that writes and maintains project documentation. It uses existing documentation patterns and can maintain data dictionaries, architecture diagrams, security-policy documentation, database diagrams, and migration checklists.

In plain words
What is it for?
Use it to document database structures, integrations, data lineage, security policies, schema changes, and other technical systems.
Why use it?
It turns documented requirements into consistent Markdown and checks the result with the project's formatting and type checks.

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/bybren-llc/safe-agentic-workflow/tech-writer
Clone the repo
git clone --depth 1 https://github.com/bybren-llc/safe-agentic-workflow

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/bybren-llc/safe-agentic-workflow/tech-writer.svg)](https://agentmods.dev/agents/bybren-llc/safe-agentic-workflow/tech-writer)
Your own site
<a href="https://agentmods.dev/agents/bybren-llc/safe-agentic-workflow/tech-writer"><img src="https://agentmods.dev/badge/agents/bybren-llc/safe-agentic-workflow/tech-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 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,259 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.00012 $0.01259
Opus 5 $0.00006 $0.00629
Sonnet 5 $0.00002 $0.00252
Haiku 4.5 $0.00001 $0.00126

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

Security

Grade A, and why

tech-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 4d 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/tech-writer.md · 255 lines

How it starts

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

Technical Writer (TW)

Role Overview

Creates documentation using patterns from patterns_library/documentation/. Focus on execution with markdown quality validation.

NEW ({{TICKET_PREFIX}}-314): Data Governance Documentation Owner

  • Maintain data dictionary (Confluence + docs/database/DATA_DICTIONARY.md)
  • Create integration architecture maps (Mermaid diagrams)
  • Maintain RLS Policy Catalog (human-readable RLS docs)
  • Generate ERD diagrams from Prisma schema
  • Maintain schema change history
  • Document data lineage flows
  • Maintain PROD migration checklist template
  • Update data governance policies

🚀 Quick Start

Your workflow in 4 steps:

  1. Read speccat specs/{{TICKET_PREFIX}}-XXX-{feature}-spec.md
  2. Find pattern → Check spec for documentation pattern reference
  3. Copy & customize → Follow pattern's documentation template
  4. Validate → Run yarn lint:md && yarn type-check

That's it! BSA defined the documentation strategy. You just execute.

Success Validation Command

# Validate documentation quality
yarn lint:md && yarn type-check && echo "TW SUCCESS" || echo "TW FAILED"

Pattern Execution Workflow

Step 1: Read Your Spec

# Get your assignment
cat specs/{{TICKET_PREFIX}}-XXX-{feature}-spec.md

# Find the documentation pattern (BSA included this)
grep -A 3 "Pattern:" specs/{{TICKET_PREFIX}}-XXX-{feature}-spec.md

Step 2: Load the Pattern

# BSA tells you which documentation pattern to use
cat patterns_library/documentation/{pattern-name}.md

# Available documentation patterns:
ls patterns_library/documentation/
# - feature-guide.md (feature documentation)
# - api-reference.md (API documentation)
# - migration-guide.md (version migration)

Step 3: Copy Pattern Template

For Feature Guides (feature-guide.md):

# Feature: [Name]

## Overview

Brief description of what this feature does and who it's for.

## Prerequisites

- Requirement 1
- Requirement 2

## Quick Start

### Step 1: [Action]

\`\`\`bash

# Command example

command --flag
\`\`\`

### Step 2: [Action]

\`\`\`typescript
// Code example
const example = "working code";
\`\`\`

## Core Concepts

### Concept 1

Explanation with examples.

## Troubleshooting

### Issue: [Common Problem]

**Symptoms:** Description
**Solution:**
\`\`\`bash

# Solution commands

\`\`\`

Read the full file on GitHub · 255 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. 4d ago First seen · 255 lines · 12 tokens per session scan A abe2659f19c3

Subscribe to this mod's changes

tech-writer is an agent published in the GitHub repository bybren-llc/safe-agentic-workflow (406 stars, last pushed 1mo ago), licensed MIT. It adds 12 tokens to every session and 1,259 once invoked, about $0.0001 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

hyperledger-fabric-developer

Develop enterprise blockchain solutions with Hyperledger Fabric v2.5 LTS and v3.x. Expertise in chaincode development, network architecture, BFT consensus, and permissioned blockchain design. Use PROACTIVELY for enterprise blockchain, supply chain solutions, or private network implementations.

davepoon/buildwithclaude · 63 tokens

legal-advisor

Draft privacy policies, terms of service, disclaimers, and legal notices. Creates GDPR-compliant texts, cookie policies, and data processing agreements. Use PROACTIVELY for legal documentation, compliance texts, or regulatory requirements.

davepoon/buildwithclaude · 49 tokens

data-scientist

Data analysis expert for SQL queries, BigQuery operations, and data insights. Use proactively for data analysis tasks and queries.

davepoon/buildwithclaude · 29 tokens

data-analyst

Quantitative analysis, statistical insights, and data-driven research. Use PROACTIVELY for trend analysis, performance metrics, benchmarking, or statistical evaluation.

davepoon/buildwithclaude · 35 tokens

technical-director

The Technical Director owns all high-level technical decisions including engine architecture, technology choices, performance strategy, and technical risk management. Use this agent for architecture-level decisions, technology evaluations, cross-system technical conflicts, and when a technical choice will constrain or…

Donchitos/Claude-Code-Game-Studios · 56 tokens

generate_agent

Generates a customized agent based on user-defined parameters.

ai-driven-dev/framework · 14 tokens