story-long-write

story-long-write is a skill for Claude Code, Codex from zenstory-ai/oh-story-dsh. It costs 96 tokens per session (4,127 once invoked), scanned A, a copy of story-long-write, MIT.

A workflow for writing long-form online fiction, from choosing the premise and planning the world to managing characters, plot lines, and chapters. It includes separate procedures for drafting, daily writing, revision, suspense, and major reversals.

In plain words
What is it for?
Use it to start a novel, create or revise an outline, write a specified chapter, continue daily installments, or rewrite chapters while tracking story details.
Why use it?
It helps keep a long story consistent across many chapters while preserving the requested events, timing, restrictions, and stopping point. It also requires the relevant writing guidance to be read before story files are changed.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: reads .claude/ paths; reads ~/.codex paths; mentions Codex.

Good fit Use it to start a novel, create or revise an outline, write a specified chapter, continue daily installments, or rewrite chapters while tracking story details.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zenstory-ai/oh-story-dsh/story-long-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.

Any agent
npx skills add zenstory-ai/oh-story-dsh --skill story-long-write
Clone the repo
git clone --depth 1 https://github.com/zenstory-ai/oh-story-dsh

Made for: Claude Code, Codex.

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 story-long-write

README.md
[![agentmods](https://agentmods.dev/badge/skills/zenstory-ai/oh-story-dsh/story-long-write/github.svg)](https://agentmods.dev/skills/zenstory-ai/oh-story-dsh/story-long-write)
Your own site
<a href="https://agentmods.dev/skills/zenstory-ai/oh-story-dsh/story-long-write"><img src="https://agentmods.dev/badge/skills/zenstory-ai/oh-story-dsh/story-long-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 story-long-write

Your own site · 80×15
<a href="https://agentmods.dev/skills/zenstory-ai/oh-story-dsh/story-long-write"><img src="https://agentmods.dev/badge/skills/zenstory-ai/oh-story-dsh/story-long-write.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,127 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 100% copy Near-identical to another mod 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.00096 $0.04127
Opus 5.5 $0.00038 $0.01651
Sonnet 5.5 $0.00019 $0.00825
Haiku 4.5 $0.00010 $0.00413

Measured today against content hash 5ef090e95bd5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

story-long-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 today.

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

This is a copy

100% identical to story-long-write — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

packages/knowledge/oh-story/skills/story-long-write/SKILL.md · 136 lines

How it starts

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

story-long-write:长篇网文写作

你是网络小说创作教练,帮用户从选题、大纲到正文写完一本长篇网络小说。

写前必读(强制,先读后写)

任何创建或修改长篇故事文件的动作前,先判断场景并读完下列文件。只读本 SKILL.md 不算完成;rg 检索或局部摘读也不算完整读取。

必须分块读到 EOF:

  1. 规划按时刻读:定方向、定设定读 references/workflow-setup.md,出卷纲读 references/workflow-volume.md,出细纲或补纲读 references/workflow-outline.md,只读当前时刻的;写指定章读取 references/workflow-chapter.md;日更先读取 references/workflow-daily.md,进入正文前再完整读取 workflow-chapter.md;大修先读 references/workflow-revision.md,改稿时还要读什么由它写明。
  2. 主会话直接写正文时,首次落笔前完整读取 references/long-format.md 与 references/writing-craft.md,与写手用同一套技法;references/long-chapter-quality.md 只在排查具体问题时读,去味走检测器,不预读。交给 narrative-writer 时,由该 agent 按自己的 reference 表完成写前读取,主会话不得用未读 reference 的临时 prompt 替代。
  3. 本章技法按下方「本章技法」一段选,至多一份;主会话自己写时按那段只读指定小节,这是本条唯一允许的按节读。
  4. 正文写前,references 读完后立即重读当前用户请求、本章细纲和卷纲,先在上下文里记下本轮约束:原样记录用户明确字数范围、必发生、禁止发生、精确时间锚与本章停笔点、章尾新债。references 只提供技法,不得覆盖这些项目事实;作者给的字数范围写在细纲「字数范围」行(命令参数只作临时覆盖),有它就不用默认 ±15%。交付前逐项复核:字数带外按 workflow-chapter.md 的收口流程交用户处置,不自动补字;其余项越界不算完成。

任一必需路径不存在、不可读或未读完时立即停止,报告准确路径,不得先写正文再补读。写前必读按当前任务、当前会话重新执行;旧会话的“读过”不能沿用。


专业 agent 只查当前宿主:Claude .claude/agents、OpenCode .opencode/agents、Codex .codex/agents TOML、Antigravity .agents/agents(invoke_subagent + 同名 TypeName);ZCode 查已启用插件注册的同名角色,用 Agent 工具按实际 schema 派发,不要求 .zcode/agents。仅角色或调用能力缺失、返回 unknown agent 时报告 fallback 并 solo/direct,不因宿主名或其他端目录存在而降级。

Spawn 版本提示(不阻断 spawn):先读取项目根 .story-deployed 的 agents_version。与本版 agents_version: 37 不一致时(标记缺失、字段缺失/非整数、小于或大于 37)照常按当前宿主角色来源检查并 spawn;同时用一句白话提示作者「写作助手是旧版,运行 /story-setup(ZCode 先更新插件)后新开会话」,Notice: agents bundle 版本不匹配(项目 {N},本版 37) 原文写进技术备注行;大于 37 时额外提示先更新 oh-story-claudecode,不要用本地旧版 setup 降级覆盖。只有当前宿主角色缺失或不暴露调用能力时才降级 solo/direct,Fallback: ... -> solo 同样只进技术备注行。

文风裁决:正文写作、改写或审稿前先读 references/style-resolution.md,加载本书文风并形成 style_resolution;无作者记忆也执行。当前请求、本书文风和 active 偏好按维度覆盖通用 references;同一裁决交给后续执行者。

作者记忆管理

管理习惯读 references/author-memory.md(整理、超编、迁移按其中指路)。仅管理习惯时完成即停,不建书、不写正文。

Read the full file on GitHub · 136 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed 5ef090e95bd5
  2. 8d ago Changed d2482ef0ebee
  3. 11d ago Changed · +4 lines 9f4fba7f4cb4
  4. 12d ago Changed · -5 lines fbb20c0b3151
  5. 17d ago Changed de63533d8150
  6. 29d ago Changed · -41 lines · +8 tokens per session 1b750d4ff4b2
  7. 1mo ago Changed · +9 lines · +7 tokens per session 7fef8dc0e33b
  8. 1mo ago Changed · -173 lines 365cf30e386e
  9. 1mo ago Changed 93a4b9ce6f8f
  10. 1mo ago First seen · 342 lines · 81 tokens per session scan A 67bd0f6b5dd1

Subscribe to this mod's changes

story-long-write is a skill published in the GitHub repository zenstory-ai/oh-story-dsh (629 stars, last pushed today), licensed MIT. It adds 96 tokens to every session and 4,127 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to story-long-write, differing in 0 lines, and is treated as a copy.