chai-fen-sao-miao

chai-fen-sao-miao is a skill for Claude Code, Codex from Anarcadia/chuanban-chaishu-skills. It costs 52 tokens per session (686 once invoked), scanned A, original, MIT.

A tool for scanning a novel file, finding its chapter structure, and splitting it into separate files. It supports TXT, EPUB, and Markdown files.

In plain words
What is it for?
Use it to split novels by volumes, parts, chapters, episodes, sections, or similar levels, then review the generated folder and completion report.
Why use it?
It saves you from manually locating chapters and copying them into separate documents, while reporting content it could not identify.

Skill for Claude CodeCodex

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

Good fit Use it to split novels by volumes, parts, chapters, episodes, sections, or similar levels, then review the generated folder and completion report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anarcadia/chuanban-chaishu-skills/chai-fen-sao-miao
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-fen-sao-miao
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-fen-sao-miao

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/anarcadia/chuanban-chaishu-skills/chai-fen-sao-miao"><img src="https://agentmods.dev/badge/skills/anarcadia/chuanban-chaishu-skills/chai-fen-sao-miao.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 686 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.00052 $0.00686
Opus 5 $0.00026 $0.00343
Sonnet 5 $0.00010 $0.00137
Haiku 4.5 $0.00005 $0.00069

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

Security

Grade A, and why

chai-fen-sao-miao 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-fen-sao-miao/SKILL.md · 78 lines

What it actually says

拆分扫描

小说拆分扫描工具。对给定的小说文件进行结构扫描和章节拆分。

使用方式

用户提供小说文件路径,执行以下流程:

  1. 扫描阶段:调用 Python 脚本扫描小说结构
  2. 报告阶段:展示扫描结果,询问用户拆分粒度
  3. 拆分阶段:按用户指定的层级执行拆分
  4. 完成报告:展示拆分结果

执行步骤

步骤1:扫描结构

执行命令:

python3 {WORKSPACE}/novel_splitter.py --scan "文件路径"

步骤2:展示报告并询问用户

根据扫描结果,向用户展示检测到的章节层级,询问:

  • 希望按哪个层级拆分?(卷/章/节/话等)

步骤3:执行拆分

执行命令:

python3 {WORKSPACE}/novel_splitter.py --split [层级] "文件路径"

步骤4:报告完成

告知用户:

  • 输出目录位置
  • 生成的文件数量
  • 是否有异常情况

输入参数

用户输入 - 小说文件路径(支持 txt、epub、md 格式)

输出目录结构

Factory/拆书/{书名}/
├── {书名}.txt           # 源文件(拆分后自动移入)
├── 拆分/
│   ├── 001_第一章_xxx.md
│   ├── 002_第二章_xxx.md
│   └── ...
├── 概括/                # 后续概括生成
├── 人物和设定/          # 后续分析生成
└── 全书概括.md          # 后续概括生成

注意事项

  • 如果未检测到标准章节结构,提示用户可能需要手动指定或检查文件
  • 无法识别的内容会合并到前一个已识别章节
  • 支持的拆分层级:卷、部、篇、章、集、回、话、节
  • 项目目录命名:统一使用 {书名}/ 格式(不带书名号),与源文件名保持一致
  • 源文件处理:拆分完成后,源文件自动移动到项目目录下,保持与目录同名
  • 防嵌套机制
    • 脚本会自动检测并避免创建嵌套目录结构
    • 如果检测到已存在的嵌套目录(如 书名/《书名》/),会自动合并到父目录
    • 支持检测和清理带书名号的嵌套目录(《》、「」等)
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 · 78 lines · 52 tokens per session scan A e3ced739ac62

Subscribe to this mod's changes

chai-fen-sao-miao is a skill published in the GitHub repository Anarcadia/chuanban-chaishu-skills (44 stars, last pushed 5mo ago), licensed MIT. It adds 52 tokens to every session and 686 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

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

overleaf-sync

A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens