逆向导入已有小说。将已写好的小说(半成品或完本)反向解析为标准项目目录结构, 兼容 story-long-write / story-short-write 后续写作流程。内部复用 story-long-analyze / story-short-analyze 的拆解管道,按篇幅自动分流。 触发方式:/story-import、「导入小说」「反向解析」「导入」「把我的书导进来」
The story-import skill is designed to reverse-engineer existing novels, whether partially completed or fully finished, into a standardized project directory structure compatible with subsequent writing workflows like story-long-write and story-short-write. It solves the problem of integrating previously written content into a structured, editable format without requiring authors to start from scratch. By automating the parsing and organization of novel content, story-import allows writers to seamlessly continue their work within a well-defined project environment.
The skill leverages existing analysis pipelines from story-long-analyze and story-short-analyze to perform deep content dissection based on the length of the novel. It supports multiple input formats, including single files, directories of files, or direct text input. Story-import handles both long-form and short-form novels, automatically detecting chapter counts, word totals, and completion status. It also validates the writing environment, ensuring necessary infrastructure is in place or providing options for downgraded processing if prerequisites are missing. The output includes a fully structured project directory with backups, summaries, and chapter-level analyses, enabling writers to immediately resume or enhance their work.
This skill is particularly useful for authors who have existing manuscripts and want to migrate them into a structured writing workflow without losing content or analytical insights. It is targeted at professional writers, hobbyist authors, and teams managing serialized or long-form fiction who need to convert raw text into actionable writing projects. By maintaining analysis assets as part of the project, it also benefits users who wish to perform detailed content review, track story development, or integrate their work with other story-writing tools.
You can provide a single file (.txt or .md), a directory containing multiple files, or paste the text directly. The skill will handle automatic splitting and organization based on chapters and file order.
Yes. It automatically detects the novel's length and routes long-form novels through the story-long-analyze pipeline and short-form novels through the story-short-analyze pipeline, ensuring appropriate analysis and project structure.
Story-import checks for essential infrastructure like the deployed story-setup and chapter-extractor agent. If missing, you can either run the setup first or continue with a downgraded serial analysis, which is slower but still produces complete outputs.
No. Original texts are backed up by the analyze pipelines in the project under `拆文库/{book_name}/原文/`, ensuring the source material is preserved while generating structured project outputs.
Yes. If you only want the dissection outputs (拆文库), story-import allows you to skip the migration phase and use the analyze pipelines directly, producing analysis without creating a full writable project.
Quick Setup:
.claude/skills/Repository
worldwonderer/oh-story-claudecode