zh-novel-writer

批量生成网络小说章节。通过环境变读取 API keys 并调用外部 LLM API (ModelScope, Fyra, Ph8) 生成中文小说内容。 使用场景:用户给出大纲并要求"批量生成章节"、"写第X章到第Y章"、"后台静默写作"。 前置要求:需设置环境变量 NOVEL_MODELSCOPE_KEY 或 NOVEL_FYRA_KEY 或 NOVEL_PH8_KEY 至少一个。 外部依赖:Python 3, pip install httpx。 NOT for: 单章精修、人工审稿、出版级校对。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "zh-novel-writer" with this command: npx skills add shine8592/zh-novel-writer

Novel Writer — 网络小说批量生成

前置要求

  • Python 3 + pip install httpx
  • 至少设置一个 API key 环境变量:
export NOVEL_MODELSCOPE_KEY="your_modelscope_key"
export NOVEL_FYRA_KEY="your_fyra_key"
export NOVEL_PH8_KEY="your_ph8_key"

External API Endpoints

服务URL环境变量
ModelScopehttps://api-inference.modelscope.cn/v1/chat/completionsNOVEL_MODELSCOPE_KEY
Fyrahttps://Fyra.im/v1/chat/completionsNOVEL_FYRA_KEY
Ph8https://ph8.co/v1/chat/completionsNOVEL_PH8_KEY

用户文本会发送到以上 API 端点以生成小说内容。

Quick Start

  1. 确认大纲文件和章节范围
  2. references/api-config.md 获取 API 配置说明
  3. 运行 scripts/batch_generate.py

Workflow

大纲 → 逐章prompt → 逐个调用外部 LLM API → 分段生成 → 保存文件

脚本说明

scripts/batch_generate.py:

  • 分段生成章节(单次 API 输出有限制时自动分段追加)
  • 多 API 容错:按 ModelScope → Fyra → Ph8 顺序尝试
  • 429 限流自动等 30 秒重试
  • 未配置 API key 的 API 会被自动跳过

References

  • API 配置 → references/api-config.md
  • Prompt 模板 → references/prompt-template.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Novel Outliner - 大纲解析器

从小说大纲自动拆解逐章prompt。支持纯文本、JSON、Markdown格式大纲, 一键生成每章写作指令。 用法:用户给出大纲文件并要求"拆解大纲"/"生成每章prompt"/"把大纲转成写作指令"。

Registry SourceRecently Updated
2220Profile unavailable
General

Novel Quality Checker - 质量审核

检查小说章节质量:33 维质量审核(字数、AI标记、模板化结尾、重复率、大纲符合度等), 支持单章和批量检查、跨章衔接检查,输出 5 层审核报告。 使用场景:用户说"检查第X章质量"、"审核一下"、"看看这章行不行"、"批量检查所有章节"。 NOT for: 创作、修改内容——只审核不写作。

Registry SourceRecently Updated
1120Profile unavailable
Automation

Novel Studio

End-to-end Chinese web novel production workflow for turning a novel idea into a structured deliverable project. Covers hot-search and trend scan, discovery...

Registry SourceRecently Updated
3070Profile unavailable
General

Humanizer-zh (Elatia Enhanced)

去除文本中的 AI 生成痕迹。当用户说"润色"、"改写"、"去 AI 味"、"更像人写的"、 "不要太机械"、"自然一点"、"有人味"时使用。也用于:编辑邮件/文案/文章/报告、 审阅 AI 生成内容、优化写作风格、让文字不那么像机器生成的。基于维基百科"AI 写作特征"指南, 检测并修复:夸大象征、宣传语言、模...

Registry SourceRecently Updated
1.6K2Profile unavailable