{"slug":"story-setup-2","title":"story-setup","summary":"网文写作工具集基础设施部署与检查。为 Claude Code / OpenCode / Codex / Google Antigravity / ZCode / OpenClaw / Reasonix 提供内置适配；Web AI / 通用 Agent 可走 skills + AGENTS.md 文件模式。触发方式：/story-setup、$story-setup、「准备写书」「帮我搭一下环境」「配置写作项目」「检查写作环境」。","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-10-02T16:32:46.278392Z","repo":{"url":"https://github.com/zenstory-ai/oh-story-dsh","stars":433,"forks":74,"license":"MIT","updatedAt":"2026-10-02T11:40:12Z"},"bodyHtml":"<hr>\n<h2>name: story-setup\nversion: 1.3.2\ndescription: \"网文写作工具集基础设施部署与检查。为 Claude Code / OpenCode / Codex / Google Antigravity / ZCode / OpenClaw / Reasonix 提供内置适配；Web AI / 通用 Agent 可走 skills + AGENTS.md 文件模式。触发方式：/story-setup、$story-setup、「准备写书」「帮我搭一下环境」「配置写作项目」「检查写作环境」。\"\nmetadata: {\"openclaw\":{\"source\":\"https://github.com/zenstory-ai/oh-story-claudecode\"}}</h2>\n<h1>story-setup：网文写作工具集基础设施部署</h1>\n<p>你是写作基础设施部署器。将网文写作工具集部署到用户项目目录：已适配的 CLI 走专用 hooks/agents/config；NarraFork、Web AI、自定义 Agent 等环境走通用文件模式。</p>\n<p><strong>执行铁律：不覆盖用户已有配置，合并而非替换。</strong></p>\n<p>作者第一次部署的顺序：判断当前宿主 → 确认项目根 → 按宿主部署 → 验收 → 告诉作者下一步。本文件只写各宿主通用的流程；每个宿主专属的部署清单、算法、校验和安装报告提示在各自的部署文件里，<strong>只读本次目标宿主的那一份</strong>（见 Phase 2）。</p>\n<h2>选择模式</h2>\n<ul>\n<li>参数为 <code>check</code>，或用户只要求检查部署、诊断环境、排查 agent 不可用时：完整读取 <a href=\"references/diagnostics.md\">references/diagnostics.md</a>，按其中流程仅检查并报告；不进入下面的部署流程。</li>\n<li>用户要求安装、更新或修复时：执行下面的部署流程。检查后已明确授权的修复沿用本文件与宿主部署文件的部署与合并规则。</li>\n</ul>\n<hr>\n<h2>Phase 1：判断宿主与项目</h2>\n<p><strong>先自检参考目录</strong>：以正在执行的本 <code>SKILL.md</code> 所在目录为准，列出与它同级的 <code>references/</code> 下的子目录，核对下面 9 个名字是否都在<strong>且都非空</strong>——<code>agent-references</code>、<code>templates</code>、<code>opencode</code>、<code>codex</code>、<code>antigravity</code>、<code>zcode</code>、<code>openclaw</code>、<code>reasonix</code>、<code>generic</code>；同级 <code>references/deploy-*.md</code>（8 份宿主部署文件）、<code>scripts/merge-claude-settings.py</code>、<code>scripts/merge-codex-hooks.py</code>、<code>scripts/merge-antigravity-hooks.py</code>、<code>scripts/generate-antigravity-agents.mjs</code>、<code>scripts/deploy-antigravity-skills.py</code> 与 <code>scripts/copy-path-safety.py</code> 也必须存在（宿主部署步骤、Claude/Codex/Antigravity hooks 合并、Antigravity Skills 物化与 agent 生成、递归复制安全检查依赖它们）。有缺即 skill 包没装全，<strong>立即停止，不写任何部署文件</strong>，报告里区分「缺目录」「目录为空」和「缺脚本或部署文件」，并给修复指令：「story-setup 参考资料包不完整，缺 {路径}。按你的安装方式重装 oh-story-claudecode（命令行装的重跑 <code>npx skills add zenstory-ai/oh-story-claudecode -y -g</code>，marketplace / Plugin Management 装的在面板里重装），再执行 /story-setup。」</p>\n<blockquote>\n<p>判据是「有没有 <code>SKILL.md</code>」：只看正在执行的 <code>SKILL.md</code> 同级的 <code>references/</code>。项目内 <code>.claude/skills/story-setup/</code>、<code>.codex/skills/story-setup/</code> 和 OpenCode 的 <code>skills/story-setup/</code> 只有 <code>references/agent-references/</code>、不含 <code>SKILL.md</code>，不会是执行目录，也不要拿它们核对。Antigravity / ZCode / OpenClaw / Reasonix / generic 的项目副本是整份 skill 拷贝、自带 <code>SKILL.md</code>，9 个子目录本就齐全，照常核对即可。</p>\n</blockquote>\n<ol>\n<li><p>检查当前目录是否已部署过（存在 <code>.story-deployed</code>）</p>\n<ul>\n<li><code>agents_version</code> 缺失、非整数或小于 <code>34</code> → 标记为待更新，继续执行当前部署</li>\n<li><code>agents_version: 34</code> → 使用 AskUserQuestion 确认是否重新部署；提示里写明重新部署只用<strong>当前本地 skill 包</strong>刷新项目文件，要拿 skill 本身的新版本得先更新 oh-story-claudecode（<code>npx skills add</code> 或 marketplace），再回来重跑</li>\n<li><code>agents_version</code> 大于 <code>34</code> → 当前 story-setup 比项目部署旧；停止以避免降级覆盖，提示先更新 oh-story-claudecode，不写任何部署文件</li>\n<li>同时读 <code>target_cli</code> 字段。<strong>已部署项目以 sentinel 里的值为准</strong>：非空时（逗号分隔的多端组合原样保留）这些端照常重新部署，不再让作者选；第 4 步仍判断当前宿主：判断出来且不在其中（作者换了软件）→ AskUserQuestion 问「这个文件夹之前是给 {已部署宿主名} 装的，你现在用的是 {当前宿主名}，要一起装上吗？」（「一起装上（推荐）」「只更新原来的」），选前者就加进 <code>target_cli</code>；判断不出不问。字段缺失或为空才走第 4-6 步。用户明确要求增删目标端时，用 AskUserQuestion 在现有值基础上改，改完的值写回 sentinel。</li>\n<li><code>target_cli</code> 不含 opencode、但项目里有 <code>.opencode/plugins/story-hooks.ts</code> 或 <code>.opencode/agents/</code>（多端部署时 OpenCode 曾被版本门拦下）→ 用 AskUserQuestion 问是否把 OpenCode 加回来；选加回则先过 <a href=\"references/deploy-opencode.md\">references/deploy-opencode.md</a> 的「部署前置」，通过后写回 <code>target_cli</code></li>\n</ul>\n</li>\n<li><p>检查是否有书名目录（包含 <code>追踪/</code> 子目录的目录，或用户自定义结构）</p>\n<ul>\n<li>有 → 识别为长篇项目，显示当前项目信息</li>\n<li>无 → 识别为新项目或短篇项目</li>\n</ul>\n</li>\n<li><p>检查 <code>.active-book</code> 文件是否存在：存在 → 显示当前活跃书目；不存在 → 跳过</p>\n</li>\n<li><p><strong>判断当前宿主（能判断就不问作者）</strong>。依次看，第一条能定下来的就用：</p>\n<ul>\n<li>你自身的运行环境：系统提示、可用工具名或 skill 调用语法已表明你运行在 Claude Code、Codex、OpenCode、Google Antigravity（含命令行 <code>agy</code>）、ZCode、OpenClaw 或 Reasonix 里；</li>\n<li>正在执行的本 <code>SKILL.md</code> 的安装位置带有宿主专属目录（如 <code>.claude/</code>、<code>.codex/</code>、<code>.zcode/</code>、<code>.gemini/</code>、<code>.openclaw/</code>、<code>.opencode/</code>）；</li>\n<li>判断不出（例如网页版 AI、自建 Agent，或以上信号互相矛盾）→ 第 5 步的项目标记只当候选，交第 6 步问作者。</li>\n</ul>\n</li>\n<li><p>看项目里已有哪些宿主的标记：</p>\n<ul>\n<li><code>.claude/</code> 或 <code>CLAUDE.md</code> → <code>target_cli = claude-code</code></li>\n<li><code>opencode.json</code>、<code>opencode.jsonc</code> 或 <code>.opencode/</code> → <code>target_cli = opencode</code></li>\n<li><code>.codex/</code>、<code>.codex/config.toml</code>、<code>.codex/agents/</code>、<code>.codex/hooks.json</code>、<code>AGENTS.md</code> 中的 Codex 段 → <code>target_cli = codex</code></li>\n<li><code>.agents/hooks.json</code>、<code>.agents/agents/</code>，或 <code>.agents/rules/oh-story.md</code> 中的 Antigravity 标记 → <code>target_cli = antigravity</code></li>\n<li><code>.zcode/</code>、<code>.zcode/config.json</code>、<code>zcode.json</code>、<code>.zcode/skills/</code>、<code>.zcode/commands/</code>、<code>AGENTS.md</code> 中的 ZCode 段 → <code>target_cli = zcode</code></li>\n<li><code>openclaw.json</code>、<code>.openclaw/</code>，或 <code>AGENTS.md</code> 中的 OpenClaw 段（标题行含 <code>网文写作工具集（OpenClaw）</code>）→ <code>target_cli = openclaw</code></li>\n<li><code>.reasonix/</code>、<code>reasonix-plugin.json</code>、<code>REASONIX.md</code>，或 <code>AGENTS.md</code> 中的 Reasonix 段（标题行含 <code>网文写作工具集（Reasonix）</code>）→ <code>target_cli = reasonix</code></li>\n<li><code>AGENTS.md</code> 中的通用段（标题行含 <code>网文写作工具集（通用 Agent / Web AI）</code>）→ <code>target_cli = generic</code></li>\n</ul>\n<blockquote>\n<p>后三类只认各端<strong>互斥</strong>的标记：<code>skills/*/SKILL.md</code> 的 <code>metadata.openclaw</code> 不作 OpenClaw 信号（13 个 skill 都带，三条 skills-only 路径部署出的 <code>skills/</code> 一样）；<code>.agents/skills/</code> 由 Antigravity、Codex 与 Reasonix 共用，也不单独作准。</p>\n</blockquote>\n</li>\n<li><p>定下 <code>target_cli</code>：</p>\n<ul>\n<li>第 4 步定出了当前宿主 → <code>target_cli</code> 就是它。项目里另有其他宿主的标记时，用 AskUserQuestion 问一句白话：「这个文件夹之前也给 {其他宿主名} 装过写作工具，这次要一起更新吗？」选项：「只装 {当前宿主名}（推荐）」「一起更新」。作者一开始就说要装多个时照办。</li>\n<li>定不出、项目标记恰好只有一个宿主 → AskUserQuestion 问「上次是给 {宿主名} 装的，这次还是它吗？」，是就用它，不是按下一条问。</li>\n<li>定不出、其余情况 → 用 AskUserQuestion 问：「你现在是在哪个软件里跟我对话？」选项用产品名加一句说明：Claude Code（Anthropic 的命令行 / 桌面版）、Codex（OpenAI 的命令行）、OpenCode、Google Antigravity（含命令行 agy）、ZCode、OpenClaw、Reasonix（DeepSeek 的命令行）、网页版 AI 或其他工具（NarraFork、自建 Agent 等）、好几个都要用。提问工具一次放不下这么多选项时，把项目标记里出现过的放前面，其余让作者在「其他」里直接写名字。</li>\n<li>作者的答案按「Claude Code → <code>claude-code</code>、网页版 AI 或其他工具 → <code>generic</code>、其余取小写产品名」换成 <code>target_cli</code>；多端为 <code>claude-code,opencode,codex,antigravity,zcode,openclaw,reasonix,generic</code> 中选中的端。</li>\n</ul>\n</li>\n<li><p><strong>确认项目根（通常不问）</strong>：项目根就是当前工作目录。只有当前目录是用户主目录、磁盘根目录、系统目录，或就是本 skill 包自身的安装/源码目录时，才用一句白话问作者：「写作工具要装在哪个文件夹？一般就是放书稿的那个文件夹。」其他情况直接部署，在安装报告的「部署明细」里写明装在哪。</p>\n</li>\n</ol>\n<h2>Phase 2：部署基础设施</h2>\n<p>整个 Phase 2 幂等：目录复制、文件写入和各宿主部署文件里的合并算法重复执行结果一致。因环境原因（工具不可用、权限被拒、网络失败）中途失败时，直接从头重跑本 Phase，不需要先清理半成品；<code>create only if absent</code> 的用户状态文件（见各部署清单的 Owner class）不会被二次覆盖。</p>\n<p><strong>两列基准目录不同</strong>：部署清单里 <code>Source path</code> 相对正在执行的这份 skill 包，<code>Target path</code> 相对用户项目根。执行每一行（以及各宿主部署算法里的每个递归复制步骤）之前，先把通配符具体化为单个源/目标，再用本 <code>SKILL.md</code> 同级的 <code>scripts/copy-path-safety.py</code> 检查。该脚本按 <code>Path.resolve</code> / <code>realpath</code> 语义跟随已有 symlink，并在两侧都存在时用 <code>samefile</code> 核对文件系统对象；<strong>只转绝对路径或比较字符串不算检查完成</strong>。读取其 JSON：<code>status: same</code> 时 no-op，禁止复制；仅 <code>copy_allowed: true</code> 时可以复制；<code>source_missing</code>、<code>unsafe_target_within_source</code> 或 <code>filesystem_identity_error</code> 必须停止该步骤并报告。无法运行脚本时只能用当前环境的文件系统 API 做完全相同的 canonical realpath、same-object 与 target-descendant 检查；无法确认就停止，不得尝试复制。OpenClaw / Reasonix / generic 的项目副本是整份 skill 拷贝，重跑时执行的就是项目里那份；Reasonix / Codex 还可能经 <code>.agents/skills → ../skills</code> symlink 加载，路径文本不同也可能指向同一目录，照字面复制会把目录嵌进自身并撑满磁盘。</p>\n<p><strong>部署前清理自嵌套残留</strong>：<code>{.claude,.codex,.zcode}/skills/story-setup/references/agent-references/</code> 与项目根 <code>skills/story-setup/references/agent-references/</code> 里若多出 <code>agent-references/</code> 层（可能嵌了多层），以及 <code>skills/story-setup/skills/</code>，整段删掉再部署，并在安装报告里列出删掉的路径。</p>\n<h3>Step 1：按宿主部署</h3>\n<p>对 <code>target_cli</code> 里的每个宿主，<strong>完整读取</strong>对应部署文件，按其中的部署清单（机械可检查）与算法依次执行；不读其他宿主的文件。</p>\n<table>\n<thead>\n<tr>\n<th><code>target_cli</code></th>\n<th>部署文件</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>claude-code</code></td>\n<td><a href=\"references/deploy-claude-code.md\">references/deploy-claude-code.md</a></td>\n</tr>\n<tr>\n<td><code>opencode</code></td>\n<td><a href=\"references/deploy-opencode.md\">references/deploy-opencode.md</a>（先过其中「部署前置」版本门）</td>\n</tr>\n<tr>\n<td><code>codex</code></td>\n<td><a href=\"references/deploy-codex.md\">references/deploy-codex.md</a></td>\n</tr>\n<tr>\n<td><code>antigravity</code></td>\n<td><a href=\"references/deploy-antigravity.md\">references/deploy-antigravity.md</a></td>\n</tr>\n<tr>\n<td><code>zcode</code></td>\n<td><a href=\"references/deploy-zcode.md\">references/deploy-zcode.md</a></td>\n</tr>\n<tr>\n<td><code>openclaw</code></td>\n<td><a href=\"references/deploy-openclaw.md\">references/deploy-openclaw.md</a></td>\n</tr>\n<tr>\n<td><code>reasonix</code></td>\n<td><a href=\"references/deploy-reasonix.md\">references/deploy-reasonix.md</a></td>\n</tr>\n<tr>\n<td><code>generic</code></td>\n<td><a href=\"references/deploy-generic.md\">references/deploy-generic.md</a></td>\n</tr>\n</tbody>\n</table>\n<p>多端部署时几个宿主共用根 <code>AGENTS.md</code>，按下方「AGENTS.md 合并策略」合并成一份；某一端被自己的前置条件拦下（如 OpenCode 版本门、Antigravity 缺 Node）时，按该端部署文件的规定处理，其他端照常部署。</p>\n<h3>Step 2：创建部署标记</h3>\n<ul>\n<li>创建 <code>.story-deployed</code> 文件（sentinel file）</li>\n<li>写入以下字段（YAML <code>key: value</code> 格式，hook 用 <code>references/templates/hooks/lib/sentinel.sh</code> 读取）：\n<pre><code>deployed_at: &lt;date -u +\"%Y-%m-%dT%H:%M:%SZ\"&gt;\nagents_version: 34\nsetup_skill_version: 1.3.2\ntarget_cli: claude-code（或 opencode、codex、antigravity、zcode、openclaw、reasonix、generic，或其任意组合）\nresolver_strategy: project-local-skill-reference\nreferences_dir: .claude/skills/story-setup/references/agent-references（Codex 写 .codex/skills/...；Antigravity 写 .agents/skills/...；ZCode 写 .zcode/skills/...；OpenCode / OpenClaw / Reasonix / generic 写 skills/...；多端用逗号分隔）\n</code></pre>\n</li>\n<li>此文件供 session-start.sh 和写作 skill 检测部署状态，避免重复提示</li>\n<li>宿主部署文件里「部署标记补充」要求的额外标记一并创建（如 Claude Code 的重启确认标记）</li>\n<li>如果 <code>.story-deployed</code> 已存在但 <code>agents_version</code> 缺失、非整数或小于 <code>34</code>，按本次流程更新 hooks/agents/rules/reference bundle（具体变更见 <code>UPGRADING.md</code>）；大于 <code>34</code> 时已在 Phase 1 停止，不得降级覆盖</li>\n</ul>\n<h2>Phase 3：验证安装</h2>\n<p>仅检查模式复用第 1–2 项，跳过第 3 项，且其中要求实际执行 hook 或写入 fixture 的子项改为只做静态校验（文件存在、语法有效、注册项齐全），不运行会写入项目的 hook，也不创建部署标记。</p>\n<ol>\n<li>对 <code>target_cli</code> 里的每个宿主，执行其部署文件的「验证」一节。</li>\n<li>验证部署标记：\n<ul>\n<li>检查 <code>.story-deployed</code> 是否存在且包含时间戳、<code>agents_version: 34</code>、<code>setup_skill_version: 1.3.2</code>、<code>target_cli</code>、<code>resolver_strategy</code>、<code>references_dir</code></li>\n</ul>\n</li>\n<li>输出安装报告。读者是不懂编程的作者，按这个顺序写：\n<ul>\n<li><strong>先写「现在可以做什么」</strong>：用写书的话列本次部署后真正可用的事（如「可以开新书、续写：说 /story-long-write」「可以拆一本对标书」），端的限制如实翻译（如「这个工具里审稿由我一个人完成，没有分工助手」）。</li>\n<li><strong>再写「你还需要做的事」</strong>：逐条可照做，如「新开一个会话」「在 Codex 里打开 /hooks，把 oh-story 的几条信任一下」「先安装 Node」；没有就写「无需其他操作」。这两段不出现脚本名、字段名、状态名或文件路径；各宿主部署文件「安装报告必须提示」的内容先翻译进这两段。</li>\n<li><strong>最后是简短的「部署明细」</strong>：装在哪个文件夹、已部署文件、已合并的配置、删掉的残留路径、宿主部署文件要求的摘要（如 OpenCode 模型配置）和技术原因，放在报告末尾。</li>\n</ul>\n</li>\n</ol>\n<hr>\n<h2>模板占位符</h2>\n<table>\n<thead>\n<tr>\n<th>占位符</th>\n<th>替换规则</th>\n<th>示例</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>{项目名}</code></td>\n<td>用户项目名称或目录名</td>\n<td>《剑来》、《暗卫》</td>\n</tr>\n<tr>\n<td><code>{书名}</code></td>\n<td>书名目录名（与目录一致）</td>\n<td>与 <code>{项目名}</code> 相同，或用户自定义</td>\n</tr>\n<tr>\n<td><code>{目标平台}</code></td>\n<td>目标发布平台</td>\n<td>起点、番茄、晋江、知乎盐言</td>\n</tr>\n<tr>\n<td><code>{作者名}</code></td>\n<td>用户笔名或昵称</td>\n<td>未指定时用「作者」</td>\n</tr>\n</tbody>\n</table>\n<p>替换时去掉花括号。如果用户未指定项目名，用当前目录名。未指定的占位符保留原样不替换。CLAUDE.md 的合并策略在 Claude Code 部署文件里。</p>\n<h2>AGENTS.md 合并策略（OpenCode / Codex / ZCode / OpenClaw / Reasonix / generic）</h2>\n<p>用户已有 AGENTS.md 时，按 marker/section 合并：</p>\n<ol>\n<li>优先识别 story-setup 管理块标记（如果旧项目已有标记，只替换标记内内容）</li>\n<li>无标记时，读取用户现有 AGENTS.md，按 <code>##</code> 标题切分为 section map</li>\n<li>OpenCode 使用 <code>skills/story-setup/references/opencode/AGENTS.md.tmpl</code>；Codex 使用 <code>skills/story-setup/references/codex/AGENTS.md.tmpl</code>；ZCode 使用 <code>skills/story-setup/references/zcode/AGENTS.md.tmpl</code>；OpenClaw 使用 <code>skills/story-setup/references/openclaw/AGENTS.md.tmpl</code>；Reasonix 使用 <code>skills/story-setup/references/reasonix/AGENTS.md.tmpl</code>；通用 Web AI / 其他 Agent 使用 <code>skills/story-setup/references/generic/AGENTS.md.tmpl</code></li>\n<li>模板中的标准 section（Skill 路由表、文件结构、协作规则、与作者协作、Compact 后恢复上下文；模板有而用户文件没有的 section 直接补入）覆盖同名 section；用户独有 section 保留</li>\n<li>多端同时部署时，Codex/OpenCode/ZCode/OpenClaw/Reasonix/generic 共同可用的通用段落只保留一份；工具特有说明以小节区分，避免互相覆盖</li>\n</ol>\n<h2>重新部署</h2>\n<ul>\n<li><code>.story-deployed</code> 不存在 → 全新安装，Phase 2 全部执行</li>\n<li><code>.story-deployed</code> 存在且 <code>agents_version: 34</code> → 提示已部署，AskUserQuestion 确认是否重新部署；提示里写明重新部署只用当前本地 skill 包刷新项目文件，skill 本身的更新走 <code>npx skills add</code> 或 marketplace</li>\n<li><code>.story-deployed</code> 存在但 <code>agents_version</code> 缺失、非整数或小于 <code>34</code> → 提示需要更新，重新执行 Phase 2 覆盖 agents/hooks/rules/reference bundle，CLAUDE.md / AGENTS.md / settings.local.json / .codex/hooks.json / <code>.agents/hooks.json</code> / .zcode/config.json 走合并策略</li>\n<li><code>.story-deployed</code> 存在且 <code>agents_version</code> 大于 <code>34</code> → 当前 skill 版本过旧，停止并提示先更新 oh-story-claudecode；不覆盖项目中的更新部署</li>\n</ul>\n<hr>\n<h2>参考资料</h2>\n<table>\n<thead>\n<tr>\n<th>文件</th>\n<th>用途</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>references/deploy-*.md</td>\n<td>8 份宿主部署文件：各自的部署清单、算法、验证与安装报告提示，按 Phase 2 Step 1 只读目标宿主那份</td>\n</tr>\n<tr>\n<td><a href=\"references/diagnostics.md\">references/diagnostics.md</a></td>\n<td>仅检查模式</td>\n</tr>\n<tr>\n<td>UPGRADING.md</td>\n<td>各版本升级要点</td>\n</tr>\n</tbody>\n</table>\n<hr>\n<h2>流程衔接</h2>\n<p><strong>流水线：</strong> 部署\n<strong>位置：</strong> 初始化（最前置）</p>\n<table>\n<thead>\n<tr>\n<th>时机</th>\n<th>跳转到</th>\n<th>命令</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>部署完成，开始写作</td>\n<td>story-long-write / story-short-write</td>\n<td><code>/story-long-write</code> 或 <code>/story-short-write</code></td>\n</tr>\n<tr>\n<td>导入已有小说做拆解</td>\n<td>story-import</td>\n<td><code>/story-import</code></td>\n</tr>\n<tr>\n<td>需要浏览器登录态（扫榜/拆文取原文）</td>\n<td>browser-cdp</td>\n<td><code>/browser-cdp</code>；generic 需平台允许本地脚本/浏览器控制</td>\n</tr>\n</tbody>\n</table>\n<p>各端调用语法：Claude <code>/名</code>、Codex/ZCode <code>$名</code>、Antigravity 通过 <code>/skills</code> 浏览或直接点名、OpenClaw <code>/skill 名</code>、Reasonix / generic 直接点名 skill。</p>\n","files":[{"path":"references/agent-references/agent-quality.md","sizeBytes":3641,"isText":true},{"path":"references/agent-references/agent-reference-profiles.md","sizeBytes":4031,"isText":true},{"path":"references/agent-references/anti-ai-writing.md","sizeBytes":37187,"isText":true},{"path":"references/agent-references/banned-words.md","sizeBytes":10424,"isText":true},{"path":"references/agent-references/benchmark-style-load.md","sizeBytes":10103,"isText":true},{"path":"references/agent-references/character-basics.md","sizeBytes":16921,"isText":true},{"path":"references/agent-references/character-design-methods.md","sizeBytes":16262,"isText":true},{"path":"references/agent-references/character-relations.md","sizeBytes":17831,"isText":true},{"path":"references/agent-references/deslop-gates.md","sizeBytes":14455,"isText":true},{"path":"references/agent-references/dialogue-mastery.md","sizeBytes":11764,"isText":true},{"path":"references/agent-references/emotional-arc-design.md","sizeBytes":12258,"isText":true},{"path":"references/agent-references/emotion-on-page.md","sizeBytes":4739,"isText":true},{"path":"references/agent-references/format-and-structure.md","sizeBytes":10617,"isText":true},{"path":"references/agent-references/genre-prose-cards.md","sizeBytes":7162,"isText":true},{"path":"references/agent-references/genre-prose-cards/东方仙侠.md","sizeBytes":2788,"isText":true},{"path":"references/agent-references/genre-prose-cards/传统玄幻.md","sizeBytes":2801,"isText":true},{"path":"references/agent-references/genre-prose-cards/历史古代.md","sizeBytes":2635,"isText":true},{"path":"references/agent-references/genre-prose-cards/历史脑洞.md","sizeBytes":2934,"isText":true},{"path":"references/agent-references/genre-prose-cards/双男主.md","sizeBytes":3272,"isText":true},{"path":"references/agent-references/genre-prose-cards/古言脑洞.md","sizeBytes":2676,"isText":true},{"path":"references/agent-references/genre-prose-cards/古风世情.md","sizeBytes":2622,"isText":true},{"path":"references/agent-references/genre-prose-cards/女频悬疑.md","sizeBytes":2637,"isText":true},{"path":"references/agent-references/genre-prose-cards/女频种田.md","sizeBytes":2693,"isText":true},{"path":"references/agent-references/genre-prose-cards/宫斗宅斗.md","sizeBytes":2522,"isText":true},{"path":"references/agent-references/genre-prose-cards/年代.md","sizeBytes":3069,"isText":true},{"path":"references/agent-references/genre-prose-cards/快穿.md","sizeBytes":2858,"isText":true},{"path":"references/agent-references/genre-prose-cards/悬疑灵异.md","sizeBytes":2616,"isText":true},{"path":"references/agent-references/genre-prose-cards/悬疑脑洞.md","sizeBytes":2788,"isText":true},{"path":"references/agent-references/genre-prose-cards/战神赘婿.md","sizeBytes":2810,"isText":true},{"path":"references/agent-references/genre-prose-cards/抗战谍战.md","sizeBytes":2728,"isText":true},{"path":"references/agent-references/genre-prose-cards/星光璀璨.md","sizeBytes":2800,"isText":true},{"path":"references/agent-references/genre-prose-cards/民国言情.md","sizeBytes":2817,"isText":true},{"path":"references/agent-references/genre-prose-cards/游戏体育.md","sizeBytes":2899,"isText":true},{"path":"references/agent-references/genre-prose-cards/玄幻脑洞.md","sizeBytes":3004,"isText":true},{"path":"references/agent-references/genre-prose-cards/玄幻言情.md","sizeBytes":2596,"isText":true},{"path":"references/agent-references/genre-prose-cards/现言脑洞.md","sizeBytes":2741,"isText":true},{"path":"references/agent-references/genre-prose-cards/科幻末世.md","sizeBytes":2653,"isText":true},{"path":"references/agent-references/genre-prose-cards/职场婚恋.md","sizeBytes":2612,"isText":true},{"path":"references/agent-references/genre-prose-cards/西方奇幻.md","sizeBytes":2834,"isText":true},{"path":"references/agent-references/genre-prose-cards/豪门总裁.md","sizeBytes":3343,"isText":true},{"path":"references/agent-references/genre-prose-cards/都市修真.md","sizeBytes":2580,"isText":true},{"path":"references/agent-references/genre-prose-cards/都市日常.md","sizeBytes":3766,"isText":true},{"path":"references/agent-references/genre-prose-cards/都市种田.md","sizeBytes":2584,"isText":true},{"path":"references/agent-references/genre-prose-cards/都市脑洞.md","sizeBytes":3485,"isText":true},{"path":"references/agent-references/genre-prose-cards/都市高武.md","sizeBytes":3018,"isText":true},{"path":"references/agent-references/genre-prose-cards/青春甜宠.md","sizeBytes":2790,"isText":true},{"path":"references/agent-references/genre-readers.md","sizeBytes":11027,"isText":true},{"path":"references/agent-references/long-chapter-hooks.md","sizeBytes":8784,"isText":true},{"path":"references/agent-references/long-emotional-methods.md","sizeBytes":10316,"isText":true},{"path":"references/agent-references/long-genre-catalog.md","sizeBytes":17378,"isText":true},{"path":"references/agent-references/long-genre-mechanics.md","sizeBytes":17364,"isText":true},{"path":"references/agent-references/long-quality.md","sizeBytes":3181,"isText":true},{"path":"references/agent-references/long-reversal.md","sizeBytes":15581,"isText":true},{"path":"references/agent-references/long-suspense.md","sizeBytes":15524,"isText":true},{"path":"references/agent-references/opening-design.md","sizeBytes":12819,"isText":true},{"path":"references/agent-references/outline-conflict.md","sizeBytes":17651,"isText":true},{"path":"references/agent-references/outline-methods.md","sizeBytes":10896,"isText":true},{"path":"references/agent-references/outline-rhythm.md","sizeBytes":12878,"isText":true},{"path":"references/agent-references/plot-core-methods.md","sizeBytes":20291,"isText":true},{"path":"references/agent-references/short-chapter-hooks.md","sizeBytes":8632,"isText":true},{"path":"references/agent-references/short-emotional-methods.md","sizeBytes":7925,"isText":true},{"path":"references/agent-references/short-genre-formulas.md","sizeBytes":20590,"isText":true},{"path":"references/agent-references/short-paragraph-hooks.md","sizeBytes":6848,"isText":true},{"path":"references/agent-references/short-quality.md","sizeBytes":2789,"isText":true},{"path":"references/agent-references/short-reversal.md","sizeBytes":16673,"isText":true},{"path":"references/agent-references/short-suspense.md","sizeBytes":15939,"isText":true},{"path":"references/agent-references/style-combat-face.md","sizeBytes":17329,"isText":true},{"path":"references/agent-references/style-genre-modules.md","sizeBytes":24811,"isText":true},{"path":"references/agent-references/style-resolution.md","sizeBytes":4016,"isText":true},{"path":"references/agent-references/writing-craft.md","sizeBytes":28753,"isText":true},{"path":"references/diagnostics.md","sizeBytes":4535,"isText":true},{"path":"SKILL.md","sizeBytes":18727,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-10-02T16:33:35.450527Z","sha256":"8DEC2A3505CAAA1CB34EAA32EDA6866E3CD51152F3DB023BDC1E08043440C009","sizeBytes":324511},"review":null,"source":{"repositoryUrl":"https://github.com/zenstory-ai/oh-story-dsh","path":"packages/knowledge/oh-story/skills/story-setup","license":"MIT","commit":"d734089bae893783d8bfaf09f8e8fa0a99723ef0","subtreeSha":"1ED446FD5E93C386FD624C97D823FD2CD875ED625EBE053E5BE2EEEFF4EF9328","lastSyncedAt":"2026-10-02T16:32:40.531554Z"},"reviewedAt":"2026-10-02T16:34:58.248534Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/zenstory-ai/oh-story-dsh/tree/main/packages/knowledge/oh-story/skills/story-setup"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install zenstory-ai-oh-story-dsh@llmmart"},{"target":"git","command":"git clone https://github.com/zenstory-ai/oh-story-dsh.git"}]}