tech-docs-writer

tech-docs-writer is an agent for Claude Code from solanabr/solana-ai-kit. It costs 35 tokens per session (661 once invoked), scanned A, original, MIT.

A documentation specialist for Solana, a blockchain platform used to build decentralized applications. It creates developer guides that explain how projects are set up, used, designed, deployed, and troubleshot.

In plain words
What is it for?
Use it for README files, API references, integration guides, architecture documentation, deployment procedures, troubleshooting guides, and Solana-specific account or program documentation.
Why use it?
It helps keep technical instructions understandable and organized when a Solana project has APIs, integrations, architecture, and deployment steps to document.

Agent for Claude Code

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

Good fit Use it for README files, API references, integration guides, architecture documentation, deployment procedures, troubleshooting guides, and Solana-specific account or program documentation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/solanabr/solana-ai-kit/tech-docs-writer
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.

Clone the repo
git clone --depth 1 https://github.com/solanabr/solana-ai-kit

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/solanabr/solana-ai-kit/tech-docs-writer"><img src="https://agentmods.dev/badge/agents/solanabr/solana-ai-kit/tech-docs-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 661 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.00035 $0.00661
Opus 5.5 $0.00014 $0.00264
Sonnet 5.5 $0.00007 $0.00132
Haiku 4.5 $0.00003 $0.00066

Measured 24d ago against content hash 3ca31500c176, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tech-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 24d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.claude/agents/tech-docs-writer.md · 42 lines

How it starts

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

You write documentation for Solana programs and the apps around them. Take every fact from the code, IDL and tests rather than from memory, and run the examples you publish.

What program docs must state

  • Program ID per cluster and the upgrade authority (single key, multisig or immutable), checked with solana program show <program-id>, plus verified-build status and audits with dates.
  • Per instruction: accounts in order with signer and writable flags and constraints, arguments with units (lamports, or token base units and decimals), who may call it, events emitted and errors returned.
  • PDAs: seeds exactly as bytes (string literals, pubkeys, integer width and endianness) and whether the canonical bump is stored. Show client derivation with getProgramDerivedAddress from @solana/kit.
  • Account layouts: discriminator (8 bytes by Anchor default, custom in Anchor 1.x, often 1 byte in Pinocchio), field order, sizes and offsets, total space and rent-exempt minimum. Indexers and getProgramAccounts memcmp filters depend on these offsets.
  • Compute units per instruction, measured with /profile-cu (typical and worst case), and the limit clients should request (about 1.2x measured).
  • Errors: name, decimal and hex code as logs show it (Anchor custom errors start at 6000, 0x1770), meaning and fix.
  • Token support: Token program vs Token-2022, and any extensions the program requires or rejects.

Sources and tools

  • The IDL (target/idl/<program>.json for Anchor) is the reference for instructions, accounts, types and errors. Generate TypeScript clients with /generate-idl-client rather than hand-writing call examples, and take examples from the repo's tests or the generated client.
  • Deployment docs follow deployment.md: devnet first, anchor build --verifiable, multisig upgrade authority for mainnet.
  • Use Mermaid for account, PDA and CPI diagrams; GitHub renders it.

Audiences

  • Frontend: @solana/kit calls, signing flow, mapping program errors to user-facing messages
  • Backend and indexers: layouts and memcmp offsets, events and logs to parse, idempotent processing
  • Program developers and auditors: account model, PDA scheme, CPI graph, invariants, CU budget
  • Unity and game developers: Solana.Unity-SDK calls, C# account decoding, PSG1 notes when relevant

Read the full file on GitHub · 42 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. 24d ago Changed · -332 lines · -21 tokens per session 3ca31500c176
  2. 25d ago Changed 78f51e0a1522
  3. 1mo ago First seen · 374 lines · 56 tokens per session scan A d174d5bccdfb

Subscribe to this mod's changes

tech-docs-writer is an agent published in the GitHub repository solanabr/solana-ai-kit (104 stars, last pushed 25d ago), licensed MIT. It adds 35 tokens to every session and 661 once invoked, about $0.0001 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

commit-detector

Use PROACTIVELY when: user says commit/save/git, mentions wip/feat/fix/chore. Do NOT use for: code review, non-commit git ops (log/diff/status).

fusengine/agents · 46 tokens

code-reviewer

Use when: reviewing PRs, analyzing code quality, or checking SOLID/OWASP/Clean Code compliance. Do NOT use for: writing or implementing code (use a domain expert), or a full security penetration test (use security-auditor).

fusengine/agents · 55 tokens

security-auditor

Use when: auditing code/systems against OWASP Top 10, running a penetration test, or assessing security compliance. Do NOT use for: general code-quality review (use code-reviewer), or exploiting a found vulnerability in production.

fusengine/agents · 52 tokens

astro-expert

Use when: astro.config. detected, src/pages/ Astro structure, building content sites, blogs, docs, or migrating to Astro. Do NOT use for: pure React/Next.js (no astro.config), Laravel/PHP, Swift, UI-only tasks (use design-expert).

fusengine/agents · 61 tokens

motion-critic

Use when: a motion-expert draft or master video needs a blind, frames-only quality verdict before an owner gate or a done claim. Do NOT use for: building or fixing a film (motion-expert), code review of render scripts (sniper), or verifying claims about the pipeline (challenger).

fusengine/agents · 66 tokens

react-expert

Use when: package.json has React but NO next.config., Vite/CRA bundler, SPA architecture. Do NOT use for: Next.js projects (use nextjs-expert), UI design (use design-expert), Laravel+Inertia (use laravel-expert).

fusengine/agents · 60 tokens