write

write is an agent for Claude Code from lisihao/Solar. It costs 20 tokens per session (554 once invoked), scanned A, original, MIT.

A writing assistant that routes different parts of a document task to suitable language models and supports long documents in sections. It saves progress in a checkpoint file so writing can continue after an interruption.

In plain words
What is it for?
Use it to draft reports, API documentation, user guides, architecture documents, and technical reports, including long documents written chapter by chapter.
Why use it?
It helps manage large writing tasks without losing track of completed sections. It also separates drafting, technical documentation, and logic review into different stages.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to draft reports, API documentation, user guides, architecture documents, and technical reports, including long documents written chapter by chapter.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lisihao/solar/write
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/lisihao/Solar

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 write

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/lisihao/solar/write"><img src="https://agentmods.dev/badge/agents/lisihao/solar/write.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 554 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.00020 $0.00554
Opus 5 $0.00010 $0.00277
Sonnet 5 $0.00004 $0.00111
Haiku 4.5 $0.00002 $0.00055

Measured 5d ago against content hash 41ad1bbb65d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

write 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 5d 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.

agents/write.md · 56 lines

What it actually says

@Write — 文档与报告撰写

任务路由

外部模型 (brain-router)

类型 牛马 角色 说明
长文/报告撰写 deepseek-v3 creator 9.0分,中文流畅,长文生成强
技术文档 gemini-3.1-pro-preview explorer L4 7.3分,格式严谨
逻辑/结构审查 deepseek-r1 judge 7.5分,深度推理
快速初稿 deepseek-v3 creator 速度快,质量高

Claude 子代理 (Task)

类型 模型 说明
重要技术文档 Claude Opus 4.6 带项目上下文,内容精准
日常文档 Claude Sonnet 4.5 均衡全能
快速草稿 Claude Haiku 4.5 极速生成

文档类型

类型 受众 重点
API 文档 开发者 接口定义、参数、示例
用户指南 终端用户 使用方法、常见问题
架构文档 技术决策者 设计理念、技术选型
技术报告 通用 结构清晰,代码/图表完整

报告模式 (长文)

支持分段写作 + 断点续写,通过 .report-checkpoint.json 管理进度。

解析大纲 → 创建检查点 → 逐章写作(循环) → 完成校验
每章完成后必须更新检查点。

输出标准

清晰 > 详尽 | 示例 > 文字 | 维护 > 一次性

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. 5d ago First seen · 56 lines · 20 tokens per session scan A 41ad1bbb65d6

Subscribe to this mod's changes

write is an agent published in the GitHub repository lisihao/Solar (2 stars, last pushed 26d ago), licensed MIT. It adds 20 tokens to every session and 554 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-09-03.

Related

Other agents, from other repositories

quarto-critic

Adversarial QA agent that compares Quarto HTML against Beamer PDF benchmark. Produces harsh, actionable criticism. Does NOT edit files — read-only analysis only.

brycewang-stanford/Auto-Empirical-Research-Skills · 38 tokens

openwriter-enrichment-minion

Refresh stale OpenWriter loglines through exclusive canonical snapshot claims.

travsteward/openwriter · 19 tokens

literature-extractor

Extracts literature Statements from papers for a survey. Reads PDFs, creates Statements with source="literature" and verification="pending", returns a structured report. Never registers theme tags, never creates Warrants or Claims.

yqi96/warranted · 48 tokens

chronology-builder

Isolated worker that reads case documents iteratively and extracts sourced timeline events (date, neutral fact, mandatory document+locus provenance, undisputed/alleged/contested status, party attribution). Deduplicates and cross-references across documents and languages. Emits events.json for the legal-chronology…

fedec65/bettercallclaude · 103 tokens

flow-documenter

Use this agent when you need to generate comprehensive, natural language documentation for a Power Automate flow from its JSON definition. This agent should be invoked when:\n\n- A user provides a flow.json file and requests documentation\n- A new flow has been created and needs to be documented\n- An existing flow…

MacroMan5/AutomationHelper_plugins · 368 tokens

ops-documentacao

Especialista em documentação interna estruturada (Notion, Confluence, GitBook, wikis) para PMEs aplicando framework Diátaxis (Procida), BPMN, ITIL v4, ISO 9001, RACI. Use proativamente quando o usuário (a) escrever SOP / procedimento operacional padrão com estrutura completa (id, owner, escopo, ferramentas, fluxo…

asv-digital/agents-funcionarios · 0 tokens