chai-shu

chai-shu is a skill for Claude Code, Codex from Anarcadia/chuanban-chaishu-skills. It costs 63 tokens per session (2,608 once invoked), scanned A, original, MIT.

A Chinese-language guide for breaking down novels into chapters, summaries, characters, events, and an ABC pleasure-point analysis. ABC analysis identifies a chapter's three-part structure and tracks how engaging moments are distributed.

In plain words
What is it for?
Use it to scan and split a novel into chapter files, create chapter or whole-book summaries, map characters and events, and analyze chapter structure.
Why use it?
It turns a long novel into smaller, organized pieces that are easier to understand and review. The separate character and event views help preserve relationships and cause-and-effect across chapters.

Skill for Claude CodeCodex

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

Good fit Use it to scan and split a novel into chapter files, create chapter or whole-book summaries, map characters and events, and analyze chapter structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anarcadia/chuanban-chaishu-skills/chai-shu
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 Anarcadia/chuanban-chaishu-skills --skill chai-shu
Clone the repo
git clone --depth 1 https://github.com/Anarcadia/chuanban-chaishu-skills

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 chai-shu

README.md
[![agentmods](https://agentmods.dev/badge/skills/anarcadia/chuanban-chaishu-skills/chai-shu/github.svg)](https://agentmods.dev/skills/anarcadia/chuanban-chaishu-skills/chai-shu)
Your own site
<a href="https://agentmods.dev/skills/anarcadia/chuanban-chaishu-skills/chai-shu"><img src="https://agentmods.dev/badge/skills/anarcadia/chuanban-chaishu-skills/chai-shu/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 chai-shu

Your own site · 80×15
<a href="https://agentmods.dev/skills/anarcadia/chuanban-chaishu-skills/chai-shu"><img src="https://agentmods.dev/badge/skills/anarcadia/chuanban-chaishu-skills/chai-shu.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,608 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.00063 $0.02608
Opus 5 $0.00032 $0.01304
Sonnet 5 $0.00013 $0.00522
Haiku 4.5 $0.00006 $0.00261

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

Security

Grade A, and why

chai-shu 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 12d 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/chai-shu/SKILL.md · 240 lines

How it starts

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

欢迎页(每次触发必须先完整输出此区块)

+======================================================================+
|                                                                      |
| ██████╗ ██╗  ██╗██╗   ██╗ █████╗ ███╗  ██╗██████╗  █████╗ ███╗  ██╗|
|██╔════╝ ██║  ██║██║   ██║██╔══██╗████╗ ██║██╔══██╗██╔══██╗████╗ ██║|
|██║      ███████║██║   ██║███████║██╔██╗██║██████╔╝███████║██╔██╗██║|
|██║      ██╔══██║██║   ██║██╔══██║██║╚████║██╔══██╗██╔══██║██║╚████║|
|╚██████╗ ██║  ██║╚██████╔╝██║  ██║██║ ╚███║██████╔╝██║  ██║██║ ╚███║|
| ╚═════╝ ╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚══╝╚═════╝ ╚═╝  ╚═╝╚═╝  ╚══╝|
|                         船   板   拆   书                            |
+======================================================================+
📖 功能一览
  1. 自动化拆书   — 一键完成全流程:扫描→概括→人物→事件→ABC
  2. 拆分扫描     — 识别章节结构,将小说文件切分为独立章节 MD
  3. 分章节概括   — 每3章一组,串行生成约600字剧情概括
  4. 全书概括     — 整合章节概括,输出全书主线与理解总览
  5. 人物概括     — 梳理全书人物关系、角色弧度与事件追踪
  6. 事件概括     — 提炼关键事件链、势力动向与因果逻辑
  7. ABC爽点分析  — 识别每章A/B/C结构,生成爽感密度热力图
         [新书文件]
              │
              v
     ┌────────────────┐
     │   2. 拆分扫描   │
     └────────┬───────┘
              │
              v
     ┌────────────────┐
     │  3. 分章节概括  │
     └───┬────────────┘
         │
   ┌─────┼──────┬──────────┐
   v     v      v          v
[4.全书] [5.人物] [6.事件] [7.ABC分析]
(功能 4-7 均依赖步骤 3 完成)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
请选择:

  1  了解工作流程   — 解答对拆书系统的任何疑问
  2  拆一本新书     — 告诉我书名或文件路径,马上开始
  3  继续之前任务   — 搜索已有项目,从上次断点继续
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

路由逻辑

选项 1(了解流程)

  • 保持对话状态,回答用户对功能、依赖关系、工作流的提问
  • 不触发任何工具调用,纯聊天模式

选项 2(拆新书)

  1. 输出:「请提供书籍文件的绝对路径,或输入书名(支持模糊搜索)」
  2. 若给路径 → 检查文件存在 → 直接进入 chai-fen-sao-miao 流程
  3. 若给模糊书名 → Glob 搜索 Factory/拆书/ 及桌面/Downloads 常见位置 → 列出候选文件 → 用户确认 → 进入拆分扫描

选项 3(继续旧任务)

  1. Glob 列出 Factory/拆书/ 下所有一级子目录(书名列表)
  2. 格式化展示,提示「请告诉我是哪本书,或直接输入项目路径」
  3. 用户确认后:
    • 检查该目录下 拆分/概括/人物和设定/事件线/ABC分析/ 是否存在
    • 若有 _progress.json 则读取进度
  4. 综合判断各阶段完成度,以表格形式呈现:

Read the full file on GitHub · 240 lines

Files

What ships with it

1 file 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. 12d ago First seen · 240 lines · 63 tokens per session scan A b8e7805a7868

Subscribe to this mod's changes

chai-shu is a skill published in the GitHub repository Anarcadia/chuanban-chaishu-skills (44 stars, last pushed 5mo ago), licensed MIT. It adds 63 tokens to every session and 2,608 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens