← 返回 Skills 市场
awoo129

lobster-novel

作者 awoo129 · GitHub ↗ · v1.4.0 · MIT-0
cross-platform ⚠ suspicious
43
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install lobster-novel
功能描述
A self-evolving novel writing engine for Chinese fiction with continuity tracking, multi-role quality review, foreshadowing management, character voice libra...
使用说明 (SKILL.md)

lobster-novel

A self-evolving novel writing engine for OpenClaw agents. Designed for long-form Chinese fiction with rigorous continuity control, multi-role quality review, and built-in token cost management.

Quick Start

# Initialize a new novel project
python3 lobster_novel.py --dir my-novel init --title "Novel Title"

# View current status
python3 lobster_novel.py --dir my-novel status

# Generate writing context for chapter N
python3 lobster_novel.py --dir my-novel context N

# Auto-write next chapter via SenseNova API
python3 lobster_novel.py --dir my-novel write

# Save a manually written chapter with review
python3 lobster_novel.py --dir my-novel save N chapter.md --summary "Summary"

# Run quality review on a chapter
python3 lobster_novel.py --dir my-novel review N chapter.md

# Export the full novel
python3 lobster_novel.py --dir my-novel export md --output novel.md

# Manage style templates
python3 lobster_novel.py --dir my-novel style-template list
python3 lobster_novel.py --dir my-novel style-template activate "wuxia"

Architecture

lobster-novel/
├── core/                 # Core engine modules
│   ├── bible.py          # Novel bible manager (world-building, characters, settings)
│   ├── continuity.py     # Continuity ledger (per-chapter state snapshots)
│   ├── pipeline.py       # Writing pipeline orchestrator
│   ├── chapters.py       # Chapter generator with token analysis
│   ├── arc_planner.py    # Story arc planner
│   ├── beat_sheet.py     # Beat sheet generator
│   ├── contract.py       # Writer-agent contract enforcement
│   ├── style_lock.py     # Style constraint system
│   ├── conflict_detector.py
│   └── chinese_typeset.py
├── agents/               # Specialized agent roles
│   ├── context_agent.py  # Context preparation agent
│   ├── data_agent.py     # Data extraction agent
│   ├── reviewer_agent.py # Multi-role review agent
│   └── three_laws.py     # Three Laws of Novel Writing enforcement
├── review/               # Quality review modules
│   ├── quality_check.py  # 6-role static review
│   ├── aigc_detect.py    # AI-style pattern detector
│   ├── scorer.py         # Chapter scoring engine
│   ├── strand_balance.py # Strand balance checker
│   └── deai_writer.py    # De-AI writing assistant
├── memory/               # Memory & tracking systems
│   ├── character_tracker.py
│   ├── character_voice.py
│   ├── emotion_arc.py
│   ├── foreshadowing.py
│   ├── plot_tracker.py
│   ├── relationship_tracker.py
│   ├── style_library.py
│   └── novel_kg.py
├── tools/                # CLI tools
│   ├── novel-cli.py      # Main CLI (12 subcommands)
│   ├── auto_write.py     # Batch continuous writing
│   ├── batch_refine.py   # Batch chapter refinement
│   ├── serial_writer.py  # Serial chapter writer
│   └── v3_checkpoint.py
├── rag/                  # RAG systems
│   └── novel_rag.py
├── output/               # Export modules
│   └── export.py
├── templates/            # Style templates
├── scripts/              # Utility scripts
└── tests/                # Test suites

Writing Pipeline

User Idea → init → context → [write | manual writing]
  → save (auto quality review) → review (static + AI-style detection)
  → foreshadowing update → next chapter → export

Key Principles

  1. Continuity First — Every chapter updates the continuity ledger.
  2. Multi-Role Review — 6 roles: Reader, Editor, Storyteller, Satisfaction Analyst, Voice Validator, Web Novel Editor.
  3. AI-Style Detection — Detects and flags AI-typical patterns.
  4. Token Budget — Built-in token counting and cost estimation.
  5. Style Lock — Enforces selected writing style throughout.

CLI Reference

Command Description
init Initialize a new novel project
status Show project status
context [N] Generate writing context for chapter N
write Auto-write next chapter
save N file.md Save a chapter with review
review N file.md Run quality review
export [md|txt|html] Export the full novel
style-template Manage style templates
tokens Token usage analysis
bible Manage novel bible
continuity View continuity ledger
foreshadow Manage foreshadowing items

Style Templates

Built-in templates: wuxia, xianxia, xuanhuan, historical, horror, romance, sci-fi, comedy.

Dependencies

  • Python 3.10+
  • SenseNova API key (via SENSENOVA_API_KEY env var)
  • tiktoken (auto-installed if missing)

Testing

cd lobster-novel
python3 -m pytest tests/ -v

15 test modules.

License

MIT

安全使用建议
Install only if you are comfortable with your novel bible, outlines, chapter drafts, continuity notes, and review context being sent to external LLM providers including SenseNova and DeepSeek. Use scoped API keys, avoid running it on confidential manuscripts unless you have reviewed provider terms, and do not set NOVEL_DIR or LOBSTER_EVOLVER to untrusted directories. Treat the self-evolving lesson bridge and optional sync behavior as high-impact until it is documented and constrained.
能力标签
cryptorequires-sensitive-credentials
能力评估
Purpose & Capability
The core purpose and capabilities mostly fit: a Chinese-fiction writing engine that reads/writes project files, tracks continuity, reviews drafts, and can auto-generate text with LLM APIs. The concern is that the artifacts go beyond the documented SenseNova flow by also using DeepSeek in multiple scripts and review/planning paths.
Instruction Scope
SKILL.md and README disclose API-key use and auto-writing, but they do not clearly warn that prompts, chapter drafts, bible/world data, summaries, and review context may be transmitted to third-party providers. Provider scope is also inconsistent: docs emphasize SenseNova while many code paths use DeepSeek.
Install Mechanism
No installer, shell persistence hook, package-install script, or post-install execution path was found. The skill is a Python file tree invoked through CLI commands.
Credentials
Environment variables are used for expected API keys, but some executable/script paths are also derived from environment-controlled project roots such as NOVEL_DIR or LOBSTER_EVOLVER. That is broader than necessary for a writing skill and creates avoidable local code-execution risk if those paths are attacker-controlled.
Persistence & Privilege
Project file writes for chapters, continuity, plans, exports, and local caches are expected. However, the lesson bridge can write lesson files under an external LOBSTER_EVOLVER tree and optionally run a bridge script to sync into a self-improving system, which is under-documented and expands the skill's persistence/agent-behavior impact.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install lobster-novel
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /lobster-novel 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.4.0
v1.4.0: Security hardening — removed all hardcoded API keys and absolute paths.
元数据
Slug lobster-novel
版本 1.4.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

lobster-novel 是什么?

A self-evolving novel writing engine for Chinese fiction with continuity tracking, multi-role quality review, foreshadowing management, character voice libra... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 43 次。

如何安装 lobster-novel?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install lobster-novel」即可一键安装,无需额外配置。

lobster-novel 是免费的吗?

是的,lobster-novel 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

lobster-novel 支持哪些平台?

lobster-novel 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 lobster-novel?

由 awoo129(@awoo129)开发并维护,当前版本 v1.4.0。

💬 留言讨论