Storm Write
Businessstorm-writeStorm Write is an Agent Skill for business published in the FradSer/dotclaude repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Run STORM phase 3 — per-section article writing. This skill should be used when the user asks to "write the article sections", "draft the storm article", or invokes /storm:write. Writes each outline section in parallel with inline citations grounded in the research sources.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/FradSer/dotclaude/blob/HEAD/storm/skills/write/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/storm-write, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
/storm:write
Phase 3 of the STORM pipeline. Writes each outline section in parallel (one Task subagent per section), each grounded in top-k relevant sources from the research information table, with inline [n] citations.
CRITICAL: Prerequisites
- Load
storm-enginevia the Skill tool. outline.mdMUST exist (phase 2 complete). If absent, stop and instruct the user to run/storm:outlinefirst.
Completion Contract
This phase is complete iff article.md exists and every outline section (except Introduction/Conclusion/Summary placeholders) has body text. If --force is not set and it exists, skip and exit early.
Procedure
- Resolve output dir.
- Read
outline.mdandresearch/sources.json. Index sources for retrieval (simple: rank by keyword/heading overlap with the section title). - Identify sections to write — skip any whose heading is exactly "Introduction", "Conclusion", or "Summary" (these are filled in
polish). - Parallel writing — for each section, launch ONE Task subagent (single message, parallel). Each subagent:
- Receives: topic, section heading, top-k relevant sources (default
--retrieve-top-k3), the full outline for context. - Writes the section body with inline
[n]citations mapping tosources.jsonids. - If no relevant sources, writes uncited and marks
<!-- TODO: no source -->. - Returns the section markdown.
- Receives: topic, section heading, top-k relevant sources (default
- Assemble — concatenate sections in outline order under their headings into
article.md. Preserve the heading hierarchy fromoutline.md. - Verify every non-placeholder section has body. Update
run-config.json:phases.write = "completed", section count, any TODO-flagged sections.
Citation Rules
- Only cite
[n]wherenis an existingidinsources.json. Never mint a new id here. - Place
[n]immediately after the claim it supports. Multi-source claims use[1][2]. - Do not cite in placeholder sections.
Output
Report: number of sections written, number of citations used, list of sections flagged as TODO (no source), and the path to article.md.