Back to home@cindyguyuehu123

oh-story-dsh

DSH-native web-fiction writing skill pack (from oh-story-claudecode): scan, teardown analysis, writing, de-AI, review — 8 skills + DSH workflows

Stars
0
Language
JavaScript
Created
Aug 18, 2026
Updated
Aug 18, 2026

Introduction

oh-story-dsh · 网文写作 Skill 包 (DSH 原生)

中文 | English

by cindyguyuehu123

worldwonderer/oh-story-claudecode 移植为 DSH (DeepSeek Harness) 原生形态的网文写作 skill 包。覆盖长篇与短篇网络小说的扫榜、拆文(分析写作)、写作、去AI味、审查全流程 —— 方法论层 100% 保留原版,仅把 Claude Code 专属基础设施替换为 DSH 原生能力。


为什么做这个 (Why)

原版 oh-story-claudecode 深度绑定 Claude Code / Codex / ZCode 等 CLI:自定义 custom-agent、hooks 钩子、/story-setup 部署器、settings 合并、多 CLI 适配。DSH 没有这套机制,但有自己的多代理编排(workflow / subagent)与工具集(web_search 等)。

本移植:

  • 砍掉 全部 CLI 基础设施(story-setup 部署、hooks、custom-agent frontmatter、browser 爬虫、多 CLI 适配)。
  • 替换 Agent(spawn) → DSH workflowagent / pipeline / parallel);browser 抓榜 → web_search;story-cover 图片 → 封面文案/提示词。
  • 保留 方法论层:拆解管道(Stage 0-6)、题材卡(genre-prose-cards)、写作公式、去AI味清单、输出模板等全部参考资料。

目录结构 (Layout)

oh-story-dsh/
├── 移植规范.md                 # DSH 适配规则(Porting Spec,统一标准)
├── skills/                    # 8 个 DSH 原生 skill
│   ├── story-long-analyze/    # ★ 长篇拆文:黄金三章 / 人设 / 爽点 / 节奏 / 情绪模块 / 文风
│   ├── story-short-analyze/   # 短篇拆文:故事核 / 结构 / 情感线 / 反转 / 手法 / 共鸣
│   ├── story-import/          # 逆向导入:把已有小说解析为可续写的写作工程
│   ├── story-long-write/      # 长篇写作:大纲 → 正文 → 追踪 + 去AI味
│   ├── story-short-write/     # 短篇写作:情绪设计 / 反转 / 精修
│   ├── story-review/          # 多视角对抗式审查 + 番茄/起点/知乎评分
│   ├── story-deslop/          # 去AI味:检测并清除 AI 写作痕迹
│   └── story-long-scan/       # 长篇扫榜:web_search 检索市场趋势
├── workflows/                 # DSH workflow 编排脚本(多代理分发)
│   ├── story-long-analyze.chapter-extract.js
│   ├── story-long-analyze.full.js
│   ├── story-long-write.chapter.js
│   ├── story-review.js
│   ├── story-short-analyze.js
│   ├── story-short-write.js
│   ├── story-deslop.js
│   └── story-scan.js
└── build/                     # 构建/移植编排脚本(非运行时)

说明:_source/(oh-story-claudecode 原版副本)与 拆文库/(拆解实验产物)不入库,见 .gitignore


安装 (Install)

skills/ 下各 skill 放到 DSH 的用户技能根目录(推荐 DSH 官方根 ~/.dsh/skills/,DSH 会按 rank 400 自动发现):

mkdir -p ~/.dsh/skills
cp -R skills/* ~/.dsh/skills/

DSH 在新会话 / 刷新后自动发现这些 skill,无需任何部署命令。workflow 脚本放在项目根 workflows/,供 skill 入口按路径引用。

其他可用的 skill 根(DSH 按 rank 顺序扫描):<projectRoot>/.dsh/skills (100) → <projectRoot>/.agents/skills (200) → Config.customSkillDirs (300) → <dshHome>/skills (400, user) → <agentsHome>/skills (500) → bundled (600)。


使用 (Usage)

分析一本长篇小说的写作(拆文):

帮我拆这本书 /path/to/你的小说.txt

会按 story-long-analyze 的拆解管道(黄金三章 → 逐章摘要 → 聚合 → 设定/角色 → 拆文报告 → 文风)产出 拆文库/{书名}/ 全套分析。

其他入口(自然语言触发即可):

Skill触发示例
story-long-analyze「帮我拆这本书」「分析黄金三章」「深度拆解」
story-short-analyze「拆短篇」「短篇拆文」
story-import「导入小说」「反向解析」
story-long-write「写长篇」「帮我开书」「写大纲」「日更」「续写」「写第N章」
story-short-write「写短篇」「写个盐言故事」
story-review「审查一下」「帮我审一下」
story-deslop「去AI味」「帮我润色」
story-long-scan「长篇什么火」「起点排行」「长篇扫榜」

多代理工作流(如逐章并行摘要、多视角审查)由 DSH 的 workflow 工具加载 workflows/*.js 编排;单代理可独立完成的阶段也可用 subagent 直接分派。


与原版的差异 (Differences vs Original)

维度原版 oh-story-claudecode本移植 oh-story-dsh
部署/story-setup + hooks + settings 合并纯文件拷贝,DSH 自动发现
多代理custom-agent(Claude Code)DSH workflow / subagent
抓榜browser-cdp 爬虫脚本web_search
封面图片生成封面文案 / 提示词
分析方法 / 参考保留100% 保留

验证 (Validation)

已用《她的丛林法则》(晋江文学城,46 章,19 万字)跑通 story-long-analyze 完整拆解管道(Stage 0-6):46/46 章摘要全量产出、格式校验通过、概要/黄金三章/剧情聚合/角色/设定/拆文报告/文风等产物齐全、事实可溯源。验证产物位于本地 拆文库/(不入库)。


License / 致谢

移植自 worldwonderer/oh-story-claudecode(方法论层)。本仓库为 DSH 适配实现,版权归原作者与适配者各自持有。


English

oh-story-dsh · Web-Fiction Writing Skill Pack (DSH-native)

A DSH (DeepSeek Harness) native port of worldwonderer/oh-story-claudecode — an all-in-one skill pack for long- & short-form web fiction: ranking scan, teardown analysis, writing, de-AI-ing, and review. The methodology layer is 100% preserved; only the Claude Code-specific infrastructure was replaced with DSH-native capabilities.

Why: the original is tightly coupled to Claude Code / Codex / ZCode (custom agents, hooks, /story-setup, settings merge, multi-CLI adapters). DSH has none of that, but offers its own multi-agent orchestration (workflow / subagent) and tooling (web_search).

  • Removed all CLI infra: story-setup deploy, hooks, custom-agent frontmatter, browser scrapers, multi-CLI adapters.
  • Replaced Agent(spawn) → DSH workflow (agent/pipeline/parallel); browser scraping → web_search; story-cover images → cover copy/prompts.
  • Kept the whole methodology layer: Stage 0-6 teardown pipeline, genre prose cards, writing formulas, de-AI checklist, output templates.

Install:

mkdir -p ~/.dsh/skills
cp -R skills/* ~/.dsh/skills/

DSH auto-discovers the skills on a new session / refresh — no deploy command needed. Workflow scripts live in workflows/ and are referenced by path from the skill entries.

Usage (examples):

帮我拆这本书 /path/to/novel.txt        # long-form teardown analysis
写长篇 · 写大纲 · 日更 · 续写 · 写第N章    # long-form writing
写短篇 · 写个盐言故事                    # short-form writing
去AI味 · 帮我润色                        # de-AI pass
审查一下 · 帮我审一下                     # multi-view review
长篇什么火 · 起点排行                     # ranking scan

See the Chinese section above for the full layout, differences table, and validation notes.