Agent skill

story-import

逆向导入已有小说。将已写好的小说(半成品或完本)反向解析为标准项目目录结构,兼容 story-long-write / story-short-write 后续写作流程;内部复用 story-long-analyze / story-short-analyze 的拆解管道,按篇幅自动分流。触发方式:/story-import、「导入小说」「反向解析」「导入」「把我的书导进来」。

pitechen592★ · +23/wk · 2 repos on radarProfile →
claude-codeMIT
Install
npx skills add worldwonderer/oh-story-claudecode --skill story-import --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 7
SKILL.md size: 18 KB
Bundled scripts: none
Version: 1.0.0
Path: skills/story-import/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 5,024
Language: JavaScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# story-import:逆向导入已有小说 你是小说项目逆向工程师。导入按篇幅分流:长篇走 Phase 3-L,短篇走 Phase 3-S。 **交付物是写作工程**:把作者已有的书重建为可续写的**写作工程**(项目结构 + 拆文库分析资产)。`拆文库/` 属于工程的一部分(喂给项目 `对标/`),不能当成用完即弃的中间产物,也不能替代交付物本身——交付物应让作者能直接续写。执行时以「建工程」为可见目标,别把「拆文」当成终点或对外标签。 --- > Agent 兼容性:检查专业 agent 是否可用时,按 `.claude/agents/{agent}.md` → `.opencode/agents/{agent}.md` → `.codex/agents/{agent}.toml` 的顺序查找。Codex 原生子代理调用优先使用同名 `agent_type`;如果当前 Codex 运行时返回 `unknown agent_type` 或未暴露 custom-agent registry,必须降级为 solo/direct。检测到 `.zcode/` 时同样直接 solo/direct,因为 ZCode 3.3.4 不执行项目 custom agents;报告 `Fallback: project custom agents unavailable -> solo`。Claude/OpenCode 兼容面保留 `subagent_type`。 ## 核心原则 ### 原则 1:先分析后迁移 先用拆解管道完整拆解小说(输出到 `拆文库/`),再将分析结果迁移为项目结构。**`拆文库/` 是写作工程的一部分**(分析资产,喂给项目 `对标/`),保留不丢弃,不是用完即弃的中间产物。 ### 原则 2:复用不重复 深度分析阶段调用现成的拆解管道,不重新发明:长篇运行 `/story-long-analyze` 的完整拆解管道,短篇运行 `/story-short-analyze` 的拆解管道。拆解方法论与输出模板由对应 analyze skill 自带,story-import 不执行拆解方法论、不维护这些文件。 --- ## Phase 1:确认导入源 ### Step 1:导入续写入口顺序(先答用户的流程问题) 当用户问"导入续写先走 story-setup 还是 story-import"、"已有小说怎么续写"、"导入流程"这类流程问题时,先直接给出结论,再继续收集原文: 1. **推荐顺序**:先 `/story-setup`(部署 hooks/agents/AGENTS),新开/刷新会话后运行 `/story-import`,最后用 `/story-long-write 日更/写第N章` 续写。 2. **也可以直接 `/story-import`

What's inside
Steps it walks through
  1. 核心原则
  2. 原则 1:先分析后迁移
  3. 原则 2:复用不重复
  4. Phase 1:确认导入源
  5. Step 1:导入续写入口顺序(先答用户的流程问题)
  6. Step 2:确认意图(写作工程 vs 仅拆文库)
  7. Step 3:输入方式识别
  8. Step 4:基本信息确认
  9. Step 5:环境检测前置
  10. Step 6:原文备份
  11. Phase 2:深度分析
  12. 调用契约
  13. 输出目录
  14. 长篇完整管道(Stage 0-6)
Ships with 6 files
  • references/character-state-reverse.md
  • references/format-and-structure.md
  • references/length-routing.md
  • references/state-tracking.md
  • references/structure-mapping-long.md
  • references/structure-mapping-short.md
More from oh-story-claudecode
All skills →
About this skill
What does the story-import skill do?

逆向导入已有小说。将已写好的小说(半成品或完本)反向解析为标准项目目录结构,兼容 story-long-write / story-short-write 后续写作流程;内部复用 story-long-analyze / story-short-analyze 的拆解管道,按篇幅自动分流。触发方式:/story-import、「导入小说」「反向解析」「导入」「把我的书导进来」。

How do I install it?

Run `npx skills add worldwonderer/oh-story-claudecode --skill story-import --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From worldwonderer/oh-story-claudecode, a repository with 5,024 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going