agentCLAWHUBUnverified

Novel Architect

爽文小说全流程工坊:整合 FBS 工作流 + 爽文生成器。从方向提炼 → 大纲规划 → 逐章生成 → 质检收口,全程追踪。Trigger: 用户提及写小说/写书/章节/大纲/爽文/写作/架构。 Skill: Novel Architect Owner: z625662197 Summary: 爽文小说全流程工坊:整合 FBS 工作流 + 爽文生成器。从方向提炼 → 大纲规划 → 逐章生成 → 质检收口,全程追踪。Trigger: 用户提及写小说/写书/章节/大纲/爽文/写作/架构。 Tags: latest:1.2.0 Version history: v1.2.0 | 2026-05-22T04:40:07.956Z | auto - Removed 202 files related to internal references and documentation, including package-lock.json and most files under references/01-core/. - No changes to code or user-facing features; core workf

OpenClaw

Rank

62

Safety

84

Downloads

1.3k

Updated

Oct 10, 2026

Version

1.2.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 10, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 10, 2026
Adoption signal
1.3K downloadsadoption · observed Oct 10, 2026
Latest release
1.2.0release · observed May 22, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s174r1vp9r60xhry1gxxd8wd05856799:novel-architect
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-z625662197-novel-architect/snapshot"

Documentation

CLAWHUB

160,000 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: novel-architect
description: "爽文小说全流程工坊:整合 FBS 工作流 + 爽文生成器。从方向提炼 → 大纲规划 → 逐章生成 → 质检收口,全程追踪。Trigger: 用户提及写小说/写书/章节/大纲/爽文/写作/架构。"
version: 1.0.0
license: MIT
language: zh-CN
---

# Novel Workshop · 爽文全流程工坊

整合 **FBS 工作流引擎**(S→P→C→B 全流程追踪、质检门禁)与 **爽文生成器**(提示词完善、世界观构建、逐章生成),实现从方向到大纲到成稿的完整闭环。

---

## 架构

```
用户方向
    ↓
[FBS intake-router]  ← 项目初始化,确定 bookRoot
    ↓
世界观 & 提示词完善(novel-generator 逻辑)
    ↓
章节大纲(FBS S1 输出 → novel-generator 大纲模板)
    ↓
逐章生成(novel-generator 逐章逻辑 + FBS 章节追踪)
    ↓
质检 & 收口(FBS polish-gate / release-governor)
```

---

## 记忆系统(统一)

**书稿根目录**:`{bookRoot}/`

```
{bookRoot}/
├── .fbs/                        # FBS 工作流核心
│   ├── workbuddy-resume.json    # 会话恢复点
│   ├── esm-state.md             # 当前阶段(S0-S4)
│   ├── chapter-status.md        # 各章进度台账
│   ├── plan/                    # 大纲(来自 S1)
│   └── expansion-plan.md       # 扩写计划(来自 S3.5)
├── .learnings/                  # novel-generator 记忆(内置于 FBS)
│   ├── CHARACTERS.md            # 角色设定(随写作更新)
│   ├── LOCATIONS.md            # 地点设定
│   ├── PLOT_POINTS.md          # 关键情节点
│   └── ERRORS.md               # 生成失败记录 & 改进
├── output/                      # 章节正文(每章一个 .md)
└── deliverables/               # 交付物
```

> 所有写作上下文统一存在 `{bookRoot}/.learnings/`,FBS 和 novel-generator 共用同一套记忆,无需重复维护。

---

## 工作流阶段(FBS 标准)

### S0 · 素材收集
- 用户输入方向(题材/关键词/灵感/一句话)
- 执行 `intake-router.mjs --book-root "{bookRoot}" --intent auto --json`
- 整理为初始素材(来自 novel-generator 的"提示词完善"逻辑)
- **门禁**:素材数 ≥ 赛道数 × 2

### S1 · 规划
- 生成完整大纲(使用 novel-generator 的大纲结构)
- 包含:章节目录、每章目标字数、起承转合设计、爽点分布
- 写入 `.fbs/plan/`
- **门禁**:`s1-exit-gate`(章标题 + 目标字数确认)

### S2 · 写作
- 按章顺序逐章生成
- 每章生成前读取 `.learnings/` 更新上下文
- 生成后写入 `output/第XX章.md`
- 用 `chapter-status.md` 更新进度
- **门禁**:`s2-exit-gate`(章数 ≥ 3 + 字数达标)

### S3 · 扩写 & 精修
- **扩写**:基于 `expansion-plan.md` 增加字数/情节深度
- **精修**:执行 `polish-gate.mjs` 质检后再改稿
- 扩写前必须备份:`source-write-backup.mjs`
- **门禁**:扩写字数以脚本实测为准,不许纯模型估算

### S4 · 质检 & 交付
- 执行 `final-manuscript-clean-gate.mjs`(检测过程标注,有则不交付)
- 执行 `material-marker-governor.mjs --fix`(清理待核实标注)
- 执行 `release-governor.mjs`(终稿唯一版本 + 归档)
- 交付前确认无残留 `[DISCARDED-*]` / `待核实-MAT` 标注

---

## 提示词完善流程(novel-generator 逻辑)

收到用户方向后,自动补全:

```
1. 题材定位    → 主类型 + 子类型(如:都市 + 修仙)
2. 世界观设定  → 力量体系、社会规则、时代背景
3. 主角人设    → 初始身份、性格、金手指/挂
4. 核心冲突    → 主线矛盾 + 前3章即时冲突
5. 爽点设计    → 打脸节奏、升级频率、装逼方式
6. 节奏规划    → 每N章一个小高潮、每M章一个大高潮
7. 配角框架    → 对手/盟友/红颜各至少1人
8. 开篇钩子    → 第一章用什么抓住读者
```

完善后请用户确认,再进入大纲阶段。

---

## 执行命令速查

| 场景 | 命令 |
|------|------|
| 初始化项目 | `node scripts/intake-router.mjs --book-root "{bookRoot}" --intent auto --json --enforce-required` |
| 门禁检查 | `node scripts/s0-exit-gate.mjs --book-root "{bookRoot}" --json --confirm-advance` |
| 进入下一阶段 | 按 esm-state.md 中的阶段推进阈值判断 |
| 章节进度 | `node scripts/chapter-status-drift.mjs --book-root "{bookRoot}"` |
| 精修质检 | `node scripts/polish-gate.mjs --book-root "{bookRoot}"` |
| 扩写备份 | `node scripts/source-write-backup.mjs --book-root "{bookRoot}" --scope expansion --json` |
| 扩写门禁 | `node scripts/expansion-gate.

scripts/_deprecated/README.md

# scripts/_deprecated — 废弃脚本归档目录

> **归档时间**:2026-04-11(v2.0.3)  
> **说明**:此目录存放已被替代或不再使用的历史脚本,保留以备查阅,不参与正常执行流程。

## 归档文件说明

### nlu-optimization.mjs(31.37 KB)

- **归档原因**:v2.0.3 引入 Sub-Agent 声明式定义(`.codebuddy/agents/`),
  `fbs-researcher.md` 的 `description` 字段可由宿主原生自动委派替代该脚本的意图识别功能。
  LLM 原生意图识别与此脚本存在大量功能重叠,保留会增加约 31KB 不必要的加载体积。
- **替代方案**:`.codebuddy/agents/fbs-researcher.md`(S0情报收集)

### nlu-optimization-enhanced.mjs(30.14 KB)

- **归档原因**:同上,为 `nlu-optimization.mjs` 的增强版,功能重叠更甚。
  v2.0.3 的 12 意图群路由表(`references/01-core/intake-and-routing.md §意图群路由`)
  已覆盖原有的 66 条离散指令,以更轻量的方式实现等效路由。
- **替代方案**:`references/01-core/intake-and-routing.md`(意图路由规范)

## 注意事项

- **不要直接运行**此目录下的任何脚本,其依赖的上下文可能已不存在
- **不要从主流程引用**此目录下的任何脚本
- 如需恢复某个功能,请先阅读相应替代方案,评估是否真的需要回滚

scripts/README.md

# FBS-BookWriter 脚本索引

> **用途**:为 `scripts/` 目录提供统一导航,说明常用脚本的职责、触发条件和典型调用入口。  
> **适用对象**:维护者、宿主 AI、需要排查或扩展 FBS 工作流的开发者。

---

## 目录分层

| 路径 | 作用 | 何时进入 |
|---|---|---|
| `scripts/` 顶层 | 入口脚本、工作流脚本、质检脚本、打包脚本 | 需要直接执行 FBS 主流程时 |
| `scripts/agents/` | 供多智能体或后台任务调用的辅助脚本 | 处理审计、简报、协同任务时 |
| `scripts/lib/` | 共享运行时与工具库 | 修改底层能力、宿主桥接、公共函数时 |
| `scripts/test/` | `vitest` 回归测试 | 修改规则、元数据、路由、打包逻辑后 |
| `scripts/wecom/` | 企业微信相关桥接与投递 | 需要企业微信分发链路时 |
| `scripts/_deprecated/` | 已弃用或兼容保留脚本 | 只在追溯历史行为或兼容旧包时进入 |
| `archive/versions/scripts/` | 历史 `pack-v202` / `v210` 等别名脚本归档(**不可直接执行**,路径已失效) | 仅溯源旧版打包入口 |

---

## npm 脚本速查(与 CI 对齐)

| 脚本 | 用途 |
|------|------|
| `npm test` | 全量 Vitest(CI 默认) |
| `npm run test:contract` | 契约/版本/hints 快测,适合提交前首跑 |
| `npm run test:integration` | 除契约包外的其余测试 |
| `npm run audit:all` | P0 六段审计,**默认书根** `fixtures/ci-book-root`(与 CI 一致) |
| `npm run audit:all:strict` | 同上 + `--strict`(与 CI **P0 audits strict** 一致) |
| `npm run validate:runtime-hints` | 校验 `fbs-runtime-hints.json`(已含于 `pack:skill-gates`) |
| `npm run manifest:scripts` | 生成 `scripts/generated/scripts-manifest.json`(CI 与 `evolution-gate` 前执行) |
| `npm run clean:dist` | 删除 `dist/*-temp`、`dist/test-unzip` 等打包复检残留 |
| `npm run clean:dist:prune` | 同上 + 删除 `dist` 内旧版 zip 及同名校验 JSON |
| `npm run fbs:progress-snapshot` | 写出 `.fbs/progress-snapshot.md`(可选抽查) |

自定义书稿根:`npm run audit:all -- --book-root <绝对或相对路径>`(后者覆盖默认)。

---

## 高频入口脚本

### 入口 / 恢复 / 会话生命周期

| 脚本 | 职责 | 典型触发 |
|---|---|---|
| `intake-router.mjs` | 统一首响入口;自动做宿主检测、恢复工件补写、意图路由 | 首次进入、`bookRoot` 变更、只说“福帮手/写书” |
| `host-capability-detect.mjs` | 探测 WorkBuddy / CodeBuddy 宿主能力与 Tier1/2 可用性 | 启动前、切换宿主后、打包前校验 |
| `workbuddy-session-snapshot.mjs` | 生成 `.fbs/workbuddy-resume.json` 恢复卡 | 阶段完成、退出前、跨会话恢复 |
| `write-progress-snapshot.mjs` | 生成 `.fbs/progress-snapshot.md` 文本进度块(对照 UX 规则抽查,非门禁) | `npm run fbs:progress-snapshot`;阶段切换 / 章节完成后可选 |
| `apply-book-memory-template.mjs` | 生成 Smart Memory 快照与 `session-resume-brief.md` | 首响补写、退出补写、恢复链修复 |
| `session-exit.mjs` | 标准退出脚本;默认先保存恢复卡与摘要再退出 | 命中“退出 / 停止 / 退出福帮手” |
| `workbuddy-user-profile-bridge.mjs` | 吸收宿主画像到当前书稿上下文 | 首响恢复、偏好同步 |
| `release-feedback-bridge.mjs` | 汇总宿主反馈 / 提审反馈进入书稿工作面 | 提审后、回传问题时 |
| `collect-host-diagnostics.mjs` | 收集宿主 / 乐包 / 二进制登记等诊断(路径脱敏) | 排障、策略 A 现场快照 |
| `fbs-cleanup.mjs` | 清理过期缓存(如 stale p0-audit-report) | 门禁误阻断排障、会话前清理 |
| `emit-upgrade-summary.mjs` | 对比旧版技能根与当前仓库,生成 `releases/upgrade-capability-summary-*.md` | 装包前后、策略 C 留档 |
| `propose-lexicon-refresh.mjs` | 生成词表更新提案模板 | 策略 C、季度词表评审 |

### 初始化 / 工作流推进

| 脚本 | 职责 | 典型触发 |
|---|---|---|
| `init-fbs-multiagent-artifacts.mjs` | 初始化 `.fbs/`、`deliverables/`、`releases/` 三层工作面 | 新项目、新书稿、裸目录补底座 |
| `rewrite-plan-bootstrap.mjs` | 生成拆书改写最小执行计划模板(`.fbs/rewrite-plan.md`) | 进入“拆书式改写”前锁定保留/替换/新增清单 |
| `workflow-progressor.mjs` | 推进 S0–S6 阶段状态 | 阶段切换、自动化推进 |
| `s3-start-gate.mjs` | S3 写稿前门禁检查 | 从大纲进入写作前 |
| `chapter-dependency-gate.mjs` | 校验章节依赖与写作先后关系 | 多章并行、章节顺序敏感时 |
| `save-chapter-brief.mjs` | 固化章节简报 / 写作 brief | S2 

_meta.json

{
  "ownerId": "kn7d6swzg6fj8ajsd6e6306x6x856a6k",
  "slug": "novel-architect",
  "version": "1.2.0",
  "publishedAt": 1779424807956
}

scripts/generated/intent-canonical.snapshot.json

{
  "schemaVersion": "1.0.0",
  "version": "2.1.2",
  "updatedAt": "2026-04-16T00:00:00.000Z",
  "confidenceBands": {
    "high": 0.85,
    "medium": 0.6
  },
  "fallbackIntent": "OTHER",
  "stopIntents": [
    "STOP"
  ],
  "conflictPairs": [
    [
      "CONTINUE",
      "CONFIRM_TOPIC"
    ],
    [
      "STOP",
      "EXPORT"
    ],
    [
      "WRITE_BOOK",
      "REVIEW"
    ],
    [
      "ACTIVATE_MATERIAL",
      "WRITE_BOOK"
    ]
  ],
  "weakSignals": [
    "好",
    "嗯",
    "可以",
    "行",
    "帮我",
    "看看",
    "看下",
    "好的"
  ],
  "intents": [
    {
      "id": "ACTIVATE_ONLY",
      "priority": "P0",
      "routes_to": "activate_only",
      "strongTriggersZh": [
        "福帮手",
        "福帮手写书skill",
        "启动福帮手",
        "打开福帮手"
      ],
      "strongTriggersEn": [
        "activate skill",
        "fbs-bookwriter"
      ],
      "slots": []
    },
    {
      "id": "WRITE_BOOK",
      "priority": "P0",
      "routes_to": "S0/S1",
      "strongTriggersZh": [
        "写书",
        "写一本",
        "帮我写",
        "写手册",
        "写白皮书",
        "写行业指南",
        "定大纲",
        "写章节",
        "拆书改写",
        "海外本地化改写",
        "爆款结构改写"
      ],
      "strongTriggersEn": [
        "write book",
        "write guide"
      ],
      "slots": [
        "bookRoot",
        "stage"
      ]
    },
    {
      "id": "ACTIVATE_MATERIAL",
      "priority": "P0",
      "routes_to": "S0-A",
      "strongTriggersZh": [
        "激活原料",
        "原料盘点",
        "整理素材",
        "盘点材料"
      ],
      "strongTriggersEn": [
        "activate material",
        "material inventory"
      ],
      "slots": [
        "bookRoot"
      ]
    },
    {
      "id": "CONTINUE",
      "priority": "P0",
      "routes_to": "resume_current",
      "strongTriggersZh": [
        "继续",
        "继续上次",
        "接着写",
        "往下写",
        "继续写稿"
      ],
      "strongTriggersEn": [
        "continue",
        "go on"
      ],
      "slots": [
        "bookRoot",
        "stage",
        "targetChapter"
      ]
    },
    {
      "id": "REVIEW",
      "priority": "P1",
      "routes_to": "critic_review",
      "strongTriggersZh": [
        "质量自检",
        "自检",
        "质量检查",
        "去AI味",
        "审一审"
      ],
      "strongTriggersEn": [
        "quality check",
        "review"
      ],
      "slots": [
        "bookRoot",
        "scope"
      ]
    },
    {
      "id": "EXPORT",
      "priority": "P1",
      "routes_to": "S4",
      "strongTriggersZh": [
        "导出",
        "导出PDF",
        "导出Word",
        "打包下载",
        "生成HTML"
      ],
      "strongTriggersEn": [
        "export",
        "download",
        "package output"
      ],
      "slots": [
        "bookRoot",
        "outputFormat"
      ]
    },
    {
      "id": "STRATEGY",
      "priority": "P1",
      "routes_to": "S2",
      "strongTriggersZh": [
        "换策略",
        "切换模式",
        "改策略",
        "调整深度"
      ],
      "strongTriggersEn": [
        "change strategy",
        "switch mode
Github ReposUpdated 1d agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/z625662197/skills/novel-architect",
      "sourceUrl": "https://clawhub.ai/z625662197/skills/novel-architect",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-10T19:53:13.092Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-z625662197-novel-architect/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-z625662197-novel-architect/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-10T19:53:13.092Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1.3K downloads",
      "href": "https://clawhub.ai/z625662197/novel-architect",
      "sourceUrl": "https://clawhub.ai/z625662197/novel-architect",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-10T19:53:13.092Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.2.0",
      "href": "https://clawhub.ai/z625662197/novel-architect",
      "sourceUrl": "https://clawhub.ai/z625662197/novel-architect",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-05-22T04:40:07.956Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-z625662197-novel-architect/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-z625662197-novel-architect/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.2.0",
      "description": "- Removed 202 files related to internal references and documentation, including package-lock.json and most files under references/01-core/. - No changes to code or user-facing features; core workflow and SKILL.md remain unchanged. - Skill structure is now more lightweight, focusing only on essential files.",
      "href": "https://clawhub.ai/z625662197/novel-architect",
      "sourceUrl": "https://clawhub.ai/z625662197/novel-architect",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-05-22T04:40:07.956Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 10, 2026.

Sponsored

Ads related to Novel Architect and adjacent AI workflows.