Loading...
Loading...
网文写作 skill 包,覆盖长篇与短篇网络小说的扫榜、拆文、写作、去AI味全流程
npx skill4agent add aradotso/trending-skills oh-story-claudecode-writingSkill by ara.so — Daily 2026 Skills collection.
oh-story-claudecodehttps://github.com/worldwonderer/oh-story-claudecodenpx skills add worldwonderer/oh-story-claudecode -y| Skill | Slash Command | Natural Language Triggers |
|---|---|---|
| | "帮我开书", "写长篇", "搭大纲" |
| | "拆这本书", "分析黄金三章" |
| | "扫长篇榜单", "起点趋势" |
| | "写短篇", "写一个反转故事" |
| | "拆短篇结构", "分析情绪曲线" |
| | "知乎盐言风口", "短篇扫榜" |
| | "这篇太AI了", "去掉AI感" |
| | "抓取榜单数据", "登录后爬取" |
{书名}/
├── 设定/
│ ├── 世界观/ # 背景设定、力量体系(按主题拆文件)
│ ├── 角色/ # 每个人物一个文件(沈栀.md、陆衍止.md)
│ └── 势力/ # 每个势力/组织一个文件(天机阁.md)
├── 大纲/
│ ├── 大纲.md # 全书卷级结构
│ ├── 细纲_第001章.md # 每章一个章纲,与正文一一对应
│ └── ...
├── 正文/
│ ├── 第001章_章名.md
│ └── ...
└── 笔记.md{标题}/
├── 设定.md
├── 正文.md
└── 笔记.md# 1. Scan the market for trending topics
/story-long-scan
# 2. Analyze a top-performing novel
/story-long-analyze
# 3. Begin writing with outline scaffolding
/story-long-writeUser: 帮我开书,都市赘婿题材,起点男频
Agent triggers: story-long-write
→ Generates: 书名/设定/世界观/都市背景.md
→ Generates: 书名/设定/角色/主角.md
→ Generates: 书名/大纲/大纲.md (五步大纲法, 卷级结构)
→ Generates: 书名/大纲/细纲_第001章.md
→ Generates: 书名/正文/第001章_重生归来.md/story-long-analyze
# Paste chapter text or provide file path
# Agent returns: 黄金三章分析, 爽点密度, 钩子类型, 节奏评分# Write
/story-short-write
# Input: genre, emotional arc template, word count target
# Remove AI artifacts
/story-deslop
# Input: draft text file path
# Output: rewritten version with AI-style markers removed/browser-cdp
# Reuses existing browser login session via CDP protocol
# Scrapes 起点/番茄/晋江/知乎盐言 ranking pages without re-login#!/bin/bash
# init_novel.sh - Bootstrap long-form novel file structure
BOOK_NAME="${1:-我的新书}"
mkdir -p "${BOOK_NAME}/设定/世界观"
mkdir -p "${BOOK_NAME}/设定/角色"
mkdir -p "${BOOK_NAME}/设定/势力"
mkdir -p "${BOOK_NAME}/大纲"
mkdir -p "${BOOK_NAME}/正文"
# Create starter files
cat > "${BOOK_NAME}/笔记.md" << 'EOF'
# 创作笔记
## 核心爽点
-
## 读者画像
-
## 竞品参考
-
## 待办
- [ ] 完成世界观设定
- [ ] 完成主角角色卡
- [ ] 完成第一卷大纲
EOF
cat > "${BOOK_NAME}/大纲/大纲.md" << 'EOF'
# 全书大纲
## 核心矛盾
## 第一卷:(卷名)
- 起:
- 承:
- 转:
- 合:
## 第二卷:(卷名)
## 结局方向
EOF
echo "✅ 项目目录已创建: ${BOOK_NAME}/"
echo "📁 结构:"
find "${BOOK_NAME}" -type f | sort#!/bin/bash
# deslop_batch.sh - Run de-slop on all chapter files
BOOK_DIR="${1:-.}"
OUTPUT_DIR="${BOOK_DIR}/精修"
mkdir -p "${OUTPUT_DIR}"
for chapter in "${BOOK_DIR}/正文"/*.md; do
filename=$(basename "${chapter}")
echo "🔍 处理: ${filename}"
# Invoke story-deslop skill on each file
# Agent reads chapter, applies three-pass de-slop method, writes output
cp "${chapter}" "${OUTPUT_DIR}/${filename}"
echo " → 输出: ${OUTPUT_DIR}/${filename}"
done
echo "✅ 批量去AI味完成,共处理 $(ls ${BOOK_DIR}/正文/*.md | wc -l) 章"#!/bin/bash
# wordcount.sh - Report word counts for all chapters
BOOK_DIR="${1:-.}"
TARGET="${2:-3000}" # Default target: 3000 chars per chapter
echo "📊 章节字数统计 (目标: ${TARGET} 字)"
echo "================================"
total=0
for chapter in "${BOOK_DIR}/正文"/*.md; do
filename=$(basename "${chapter}")
count=$(wc -m < "${chapter}")
total=$((total + count))
if [ "${count}" -lt "${TARGET}" ]; then
echo "⚠️ ${filename}: ${count} 字 (不足目标)"
else
echo "✅ ${filename}: ${count} 字"
fi
done
echo "================================"
echo "📖 总计: ${total} 字 | 平均: $((total / $(ls ${BOOK_DIR}/正文/*.md | wc -l))) 字/章"references/| Topic | Content | Skill |
|---|---|---|
| 大纲排布 | 五步大纲法, 故事结构分级, 节点设计法, 升级感设计 | |
| 人物设计 | 角色设定, 人物提取, 关系映射, 动机链, 群像 | |
| 钩子技法 | 章尾钩子13式, 章首钩子7式, 段落级钩子, 悬念编排 | |
| 情绪设计 | 6种弧形模板, 期待感管理, 题材赛道策略 | |
| 去AI味 | 预防, 三遍去AI法, 改写范例库, 禁用词表 | |
| 写作公式 | 21大题材写作公式, 三翻四震, 感情线四阶段 | |
| 女频写作 | 女读者偏好, 情感描写, 感情线模式, 对标拆书 | |
| 市场数据 | 题材趋势, 平台特性, 投稿审核, 推荐安排 | |
| 高级技法 | 小纲四步法, 高潮逆推, 双线结构, AB交织法 | |
| 风格模块 | 对话, 打斗, 智斗, 镜头式写作, 装逼打脸, 白描 | |
| Type | Platforms |
|---|---|
| 长篇 | 起点中文网, 番茄小说, 晋江文学城, 七猫小说, 刺猬猫 |
| 短篇 | 知乎盐言故事, 番茄短篇, 七猫短篇 |
/story-long-scan → identify trending genre + tropes
/story-long-analyze → paste top 3 chapters of a competitor novel
/story-long-write → generate outline aligned with market gapsDraft chapter → /story-deslop → human review → /story-deslop (second pass)User: 我已经有设定了,帮我直接写第一章
Agent: triggers story-long-write with --skip-prep flag
→ Reads existing 设定/ files
→ Generates 大纲/细纲_第001章.md
→ Generates 正文/第001章_*.md/story-short-write
→ Select arc template (e.g., "跌入深谷后反弹" / "平稳中突转")
→ Agent scaffolds: 设定.md → 正文.md (with embedded hook + reversal)
→ /story-deslop on 正文.mdnpx skills add worldwonderer/oh-story-claudecode -y/story-long-writegoogle-chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debugcurl http://localhost:9222/json/version/story-deslopreferences/禁用词表/story-long-analyze# Step 1: Initialize project
bash init_novel.sh "天机阁传说"
cd "天机阁传说"
# Step 2: Market research (agent scans 起点 male fantasy rankings)
# /story-long-scan → saves market notes to 笔记.md
# Step 3: Analyze a competitor (paste 3 chapters into agent)
# /story-long-analyze → appends findings to 笔记.md
# Step 4: Generate full outline + first chapter
# /story-long-write → creates 设定/, 大纲/, 正文/第001章.md
# Step 5: Continue chapter by chapter
# /story-long-write → reads existing files, generates next chapter
# Step 6: Polish
# /story-deslop → rewrites 正文/*.md removing AI artifacts
# Step 7: Word count check
bash wordcount.sh . 3000