By lingfengqaq
Automate end-to-end webnovel creation: initialize projects with genre/character details, generate outlines and beat sheets, write 2000+ word chapters, extract entities into SQLite indexes, run AI checks for consistency, pacing, OOC, reader pull, and high points, review quality, and monitor progress via real-time dashboard.
npx claudepluginhub lingfengqaq/webnovel-writer --plugin webnovel-writer设定一致性检查,输出结构化报告供润色步骤参考
上下文搜集Agent,内置 Context Contract,输出可被 Step 2A 直接消费的创作执行包。
连贯性检查,输出结构化报告供润色步骤参考
数据处理Agent,负责 AI 实体提取、场景切片、索引构建,并记录钩子/模式/结束状态与章节摘要。
爽点密度检查,支持迪化误解/身份掉马模式,输出结构化报告
人物OOC检查,输出结构化报告供润色步骤参考
Strand Weave 节奏检查,输出结构化报告供润色步骤参考
追读力检查器,评估钩子/微兑现/约束分层,支持 Override Contract
启动可视化小说管理面板(只读 Web Dashboard),实时查看项目状态、实体图谱与章节内容。
深度初始化网文项目。通过分阶段交互收集完整创作信息,生成可直接进入规划与写作的项目骨架与约束文件。
从当前会话提取成功模式并写入 project_memory.json
Builds volume and chapter outlines from the total outline, inherits creative constraints, and prepares writing-ready chapter plans. Use when the user asks for outlining or runs /webnovel-plan.
Queries project settings for characters, powers, factions, items, and foreshadowing. Supports urgency analysis and golden finger status. Activates when user asks about story elements or /webnovel-query.
Recovers interrupted webnovel tasks with precise workflow state tracking. Detects interruption point and provides safe recovery options. Activates when user wants to resume or /webnovel-resume.
Reviews chapter quality with checker agents and generates reports. Use when the user asks for a chapter review or runs /webnovel-review.
Writes webnovel chapters (default 2000-2500 words). Use when the user asks to write a chapter or runs /webnovel-write. Runs context, drafting, review, polish, and data extraction.
Webnovel Writer 是基于 Claude Code 的长篇网文创作系统,目标是降低 AI 写作中的“遗忘”和“幻觉”,支持长周期连载创作。
详细文档已拆分到 docs/:
docs/architecture.mddocs/commands.mddocs/rag-and-config.mddocs/genres.mddocs/operations.mddocs/README.mdclaude plugin marketplace add lingfengQAQ/webnovel-writer --scope user
claude plugin install webnovel-writer@webnovel-writer-marketplace --scope user
仅当前项目生效时,将
--scope user改为--scope project。
python -m pip install -r https://raw.githubusercontent.com/lingfengQAQ/webnovel-writer/HEAD/requirements.txt
说明:该入口会同时安装核心写作链路与 Dashboard 依赖。
在 Claude Code 中执行:
/webnovel-init
说明:/webnovel-init 会在当前 Workspace 下按书名创建 PROJECT_ROOT(子目录),并在 workspace/.claude/.webnovel-current-project 写入当前项目指针。
进入初始化后的书项目根目录,创建 .env:
cp .env.example .env
最小配置示例:
EMBED_BASE_URL=https://api-inference.modelscope.cn/v1
EMBED_MODEL=Qwen/Qwen3-Embedding-8B
EMBED_API_KEY=your_embed_api_key
RERANK_BASE_URL=https://api.jina.ai/v1
RERANK_MODEL=jina-reranker-v3
RERANK_API_KEY=your_rerank_api_key
/webnovel-plan 1
/webnovel-write 1
/webnovel-review 1-5
如需排查本地 CLI / 插件目录 / 项目根解析问题,可直接运行统一预检:
python -X utf8 "<CLAUDE_PLUGIN_ROOT>/scripts/webnovel.py" --project-root "<WORKSPACE_ROOT>" preflight
/webnovel-dashboard
说明:
npm build。本项目所有内置 Agent 默认配置为:
model: inherit
表示子 Agent 继承当前 Claude 会话所用模型。
如果要单独给某个 Agent 指定模型,编辑对应文件(webnovel-writer/agents/*.md)的 frontmatter,例如:
---
name: context-agent
description: ...
tools: Read, Grep, Bash
model: sonnet
---
常见可选值:inherit / sonnet / opus / haiku(以 Claude Code 当前支持为准)。
| 版本 | 说明 |
|---|---|
| v5.5.4 (当前) | 补齐写作链提示词强约束(流程硬约束、中文思维写作约束、Step 职责边界);统一中文化审查/润色/Agent 报告文案;清理文档内部版本号与版本历史,降低与插件发版版本混淆。 |
| v5.5.3 | 新增统一 preflight 预检命令;写作链 CLI 示例统一为 UTF-8 运行方式,收口文档中的长 shell 预检片段并降低 Windows 终端乱码风险。 |
| v5.5.2 | 支持将详细大纲中的章节名同步到正文文件名;修复 workflow_manager 在无参 find_project_root monkeypatch 下的兼容性问题。 |
| v5.5.1 | 修复卷级单文件大纲在上下文快照中的章节提取问题;补齐命令文档中遗漏的 /webnovel-dashboard 与 /webnovel-learn。 |
| v5.5.0 | 新增只读可视化 Dashboard Skill(/webnovel-dashboard)与实时刷新能力;支持插件目录启动与预构建前端分发 |
| v5.4.4 | 引入官方 Plugin Marketplace 安装机制;统一修复 Skills/Agents/References 的 CLI 调用(CLAUDE_PLUGIN_ROOT 单路径,透传命令统一 --) |
| v5.4.3 | 增强智能 RAG 上下文辅助(auto/graph_hybrid 回退 BM25) |
| v5.3 | 引入追读力系统(Hook / Cool-point / 微兑现 / 债务追踪) |
推荐使用 GitHub Actions 的 Plugin Release 工作流统一发版:
python -X utf8 webnovel-writer/scripts/sync_plugin_version.py --version 5.5.4 --release-notes "本次版本说明"
README.md、plugin.json、marketplace.json)。Plugin Release。version(例如 5.5.4)和用于 GitHub Release 的 release_notes。plugin.json、marketplace.json 与 README 当前版本已经一致version 一致vX.Y.Z Tag日常开发中,Plugin Version Check 会在 Push / PR 时自动校验版本信息是否一致。
本项目使用 GPL v3 协议,详见 LICENSE。
本项目使用 Claude Code + Gemini CLI + Codex 配合 Vibe Coding 方式开发。
灵感来源:Linux.do 帖子
欢迎提交 Issue 和 PR:
git checkout -b feature/your-feature
git commit -m "feat: add your feature"
git push origin feature/your-feature
Efficient skill management system with progressive discovery — 410+ production-ready skills across 33+ domains
Uses power tools
Uses Bash, Write, or Edit tools
Open-source, local-first Claude Code plugin for token reduction, context compression, and cost optimization using hybrid RAG retrieval (BM25 + vector search), reranking, AST-aware chunking, and compact context packets.
Intelligent draw.io diagramming plugin with AI-powered diagram generation, multi-platform embedding (GitHub, Confluence, Azure DevOps, Notion, Teams, Harness), conditional formatting, live data binding, and MCP server integration for programmatic diagram creation and management.
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.
Comprehensive real estate investment analysis plugin with financial modeling, market data APIs, deal analysis agents, and tax-aware structuring. Covers all property types: residential, commercial, multifamily, short-term rentals, and land development.
Agent Skills for AI/ML tasks including dataset creation, model training, evaluation, and research paper publishing on Hugging Face Hub