story

story is a skill for Claude Code, Codex from Xiaoyangy/novel-studio. It costs 80 tokens per session (1,481 once invoked), scanned A, original, Apache-2.0.

A routing tool for a Chinese online-fiction writing toolkit. It directs requests such as planning, drafting, continuing, reviewing, rewriting, or analysing a story to the appropriate workflow.

In plain words
What is it for?
Use it when starting or continuing Chinese web fiction, planning a long or short novel, analysing a short story, reducing formulaic AI phrasing, setting up a writing environment, or switching between book projects.
Why use it?
It prevents different writing tasks from being mixed together and ensures supported writing projects follow the repository's required pipeline. It can also route requests for short-story analysis, style cleanup, or setup.

Skill for Claude CodeCodex

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

Good fit Use it when starting or continuing Chinese web fiction, planning a long or short novel, analysing a short story, reducing formulaic AI phrasing, setting up a writing environment, or switching between book projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaoyangy/novel-studio/story
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 Xiaoyangy/novel-studio --skill story
Clone the repo
git clone --depth 1 https://github.com/Xiaoyangy/novel-studio

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaoyangy/novel-studio/story/github.svg)](https://agentmods.dev/skills/xiaoyangy/novel-studio/story)
Your own site
<a href="https://agentmods.dev/skills/xiaoyangy/novel-studio/story"><img src="https://agentmods.dev/badge/skills/xiaoyangy/novel-studio/story/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaoyangy/novel-studio/story"><img src="https://agentmods.dev/badge/skills/xiaoyangy/novel-studio/story.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,481 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00080 $0.01481
Opus 5 $0.00040 $0.00740
Sonnet 5 $0.00016 $0.00296
Haiku 4.5 $0.00008 $0.00148

Measured 11d ago against content hash 554a683292d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

story 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 11d 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.

skills/story/SKILL.md · 66 lines

How it starts

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

story:网文工具箱路由

你是网文工具箱的路由入口。用户的请求模糊时由你分发到具体 skill。

novel-studio 适配优先级

当前仓库内存在 cmd/novel-studio 时,原生写作请求必须路由到 novel-studio pipeline:

  • 长篇 / 短篇 / 续写 / 重写 / 评审 / 完稿导出:必须路由到 novel-pipelinenovel-writenovel-reviewnovel-rewrite 或专项 novel-douban-write
  • 即使用户显式点名 story-long-writestory-short-write 或用“继续生成正文”等自然语言描述,也必须把这些 skill 当作方法论和 prompt 增强参考,最终执行 novel-studio --pipeline
  • 禁止直接生成、续写或改写正文;不要绕过 novel-studio --pipeline 直接手写章节文件。
  • 拆文、去 AI 味、审查等非写作执行能力仍按下表路由。

路由表

Codex CLI 中优先使用 $story-*/skills 触发;Claude Code / OpenCode 继续使用 /story-*;OpenClaw 可用 /skill story-* 或自然语言点名 skill。下表以 slash command 展示,Codex 可将 /story-long-write 等价替换为 $story-long-write,OpenClaw 可将其等价替换为 /skill story-long-write

用户意图 关键词示例 路由到
豆瓣原创长篇 豆瓣长篇、豆瓣阅读、豆瓣写作、15W-30W 原创长篇 novel-douban-write / novel-pipeline
写长篇 开书、写大纲、长篇、连载、日更、续写、继续生成 novel-write / novel-pipeline
写短篇 短篇、盐言、一万字、故事成稿 novel-write / novel-pipeline
短篇拆文 拆短篇、分析这个故事 /story-short-analyze
去 AI 味 去 AI 味、太 AI、去味 /story-deslop
环境部署 准备写书、搭环境、初始化 /story-setup
切换/列出书目 切书、换书、列出我的书、我在写哪几本、切换项目 见下方「多书切换」
查故事资料 查角色、查伏笔、查进度、查设定、什么状态、写到哪了 spawn story-explorer agent(结构化 prompt:项目目录:{dir}\n查询类型:{根据意图选择}\n查询参数:{用户查询});agent 不可用时见下方「查询降级」
查资料 查资料、帮我查资料、调研、搜索一下、搜一下 spawn story-researcher agent;agent 不可用时见下方「查询降级」

路由流程

  1. 分析用户请求,提取意图关键词
  2. 匹配上表,找到对应的 skill
  3. 如果能明确匹配,直接调用对应 skill(Claude/OpenCode 可用 Skill("skill-name") 或 slash command;Codex 用 $skill-name / /skills;OpenClaw 用 /skill skill-name 或自然语言点名)
  4. 如果无法匹配,询问用户想做什么(从上表中选择)
  5. 如果用户说"我想写小说"但未指定长篇/短篇,询问篇幅类型后再路由

查询降级

「查故事资料」「查资料」走 agent 前先做轻量可用性检查(路由只做这一层,不承担全局部署策略):当前不在子代理上下文、Agent/Task 工具可用、且 .claude/agents/{story-explorer|story-researcher}.md.opencode/agents/{story-explorer|story-researcher}.md.codex/agents/{story-explorer|story-researcher}.toml 存在 → 可尝试 spawn。任一不满足,或 Codex 运行时返回 unknown agent_type / 未暴露 custom-agent registry,则降级,不硬失败:

Read the full file on GitHub · 66 lines

Files

What ships with it

3 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. 11d ago First seen · 66 lines · 80 tokens per session scan A 554a683292d7

Subscribe to this mod's changes

story is a skill published in the GitHub repository Xiaoyangy/novel-studio (105 stars, last pushed 2d ago), licensed Apache-2.0. It adds 80 tokens to every session and 1,481 once invoked, about $0.0004 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-08-30.