write-next

write-next is a skill for Claude Code, Codex from LiPu-jpg/Openwrite. It costs 44 tokens per session (303 once invoked), scanned A, original, Apache-2.0.

A workflow for writing the next chapter of a manuscript. It checks the outline and writing context, creates a draft without replacing existing prose, and pauses for the author's decision.

In plain words
What is it for?
Use it to continue a novel, write a specified chapter, or generate the earliest chapter that has an outline but no text.
Why use it?
It prevents existing chapters from being overwritten and makes missing project material visible before drafting starts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to continue a novel, write a specified chapter, or generate the earliest chapter that has an outline but no text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lipu-jpg/openwrite/write-next
About the project

Openwrite is a local-first novel-writing studio for DeepSeek Harness, combining an AI agent with tools for planning stories, managing characters and settings, writing chapters, reviewing drafts, and exporting books. It is intended for long-form fiction writers who want their project files, creative notes, and credentials kept in local directories. The catalogue add-ons are Openwrite skills that extend this writing workflow.

LiPu-jpg/Openwrite · 1,048 stars · on GitHub

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 LiPu-jpg/Openwrite --skill write-next
Clone the repo
git clone --depth 1 https://github.com/LiPu-jpg/Openwrite

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 write-next

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lipu-jpg/openwrite/write-next"><img src="https://agentmods.dev/badge/skills/lipu-jpg/openwrite/write-next.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 303 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.00044 $0.00303
Opus 5.5 $0.00018 $0.00121
Sonnet 5.5 $0.00009 $0.00061
Haiku 4.5 $0.00004 $0.00030

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

Security

Grade A, and why

write-next 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 25d 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.

presets/openwrite/skills/write-next/SKILL.md · 20 lines

What it actually says

Language: follow the author's current conversation language for responses and help; preserve the manuscript language. Translate these instructions when presenting them.

写下一章

接到已有 novel_*。已有正文不得覆盖。

  1. novel_status 看阶段与待确认项;outline_scope 待确认时先让作者确认大纲范围。
  2. novel_outline_read 定位章纲,并读它的 recommendation。未指定章节时省略 chapter_id,让服务端取大纲推荐的下一章——自己推算的 id 只要和推荐不一致就会被拒绝。
  3. novel_context_preview 预检上下文包。
  4. novel_chapter_work 读取本章到期/超期/待埋入伏笔与字数目标。
  5. novel_write_chapter 写下一章或指定章。
  6. 草稿出来后暂停,请作者选择:通过进入评审、按意见重写、或到创作页手工编辑。

资产不齐时先规划补齐,不切换会话。节拍与审核口令见 novel-creator。

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. 25d ago Changed 6ab29d03c6e4
  2. 1mo ago Changed · +2 lines 7c5be1f7a72b
  3. 2mo ago First seen · 18 lines · 44 tokens per session scan A 81a8d9eaeee2

Subscribe to this mod's changes

write-next is a skill published in the GitHub repository LiPu-jpg/Openwrite (1,048 stars, last pushed 4d ago), licensed Apache-2.0. It adds 44 tokens to every session and 303 once invoked, about $0.0002 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-09-09.

Related

write-next compared with skills from other repositories

write-next next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
write-nextLiPu-jpg/OpenwriteSkill1.0k4d agoApache-2.0A44Claude Code, Codex
webnovel-initlingfengQAQ/webnovel-writerSkill8.1k12d agoGPL-3.0A41Claude Code
webnovel-planlingfengQAQ/webnovel-writerSkill8.1k12d agoGPL-3.0A33Claude Code
webnovel-writelingfengQAQ/webnovel-writerSkill8.1k12d agoGPL-3.0A30Claude Code
webnovel-reviewlingfengQAQ/webnovel-writerSkill8.1k12d agoGPL-3.0A24Claude Code
webnovel-querylingfengQAQ/webnovel-writerSkill8.1k12d agoGPL-3.0A35Claude Code
webnovel-learnlingfengQAQ/webnovel-writerSkill8.1k12d agoGPL-3.0A22Claude Code