番茄小说自动创作发布一条龙
v1.0.3番茄小说创作发布一条龙技能。整合 open-novel-writing (AI创作) + fanqie-publisher (番茄发布),从想法一键生成到发布到番茄小说。 完整流程:想法 → 设定 → 大纲 → 生成多章 → 评审修订 → 自动发布到番茄小说。
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
The package claims to integrate open-novel-writing and fanqie-publisher to generate and publish novels, and most modules call or wrap those skills as expected. However, the top-level CLI (scripts/main.py) calls methods (e.g. check_fanqie_login, full_workflow, continue_workflow) that do not exist on AutoPublishWorkflow defined in scripts/auto_publish.py, indicating mismatched versions or an incomplete integration. That inconsistency suggests the shipped code may be broken or mixed from different releases.
Instruction Scope
SKILL.md and README show only expected usage (generate, convert, publish). The runtime instructions and included scripts perform only local file I/O (reading/writing under ~/.openclaw/skills and project dirs) and call into the fanqie-publisher skill. They do not attempt to read unrelated system configs or arbitrary environment variables. However the skill expects/uses an external cookie file (fanqie_cookies.json) and will import and call functions from another skill's main.py (dynamic import), which means runtime will execute code from the other skill—users should audit that other skill as well.
Install Mechanism
There is no install spec (instruction-only style), and the bundle contains Python scripts only. No external downloads or archive extraction are used. This is lower-risk from an install mechanism perspective, though the presence of executable scripts means they will run when invoked.
Credentials
The skill declares no required environment variables, but it implicitly requires: (1) installed and configured fanqie-publisher and open-novel-writing skills, (2) a logged-in Fanqie account (cookie file path referenced: ~/.openclaw/skills/fanqie-publisher/scripts/fanqie_cookies.json), and (3) access to the novel-generator output and .learnings directories under ~/.openclaw. Those credentials/files are not declared or explained in SKILL.md, so the credential/access needs are under-documented and could surprise users.
Persistence & Privilege
The skill does not request always:true and does not modify other skills' configurations. It writes and reads files in its expected workspace under the user's home (~/.openclaw/skills/...), which is normal for this type of skill.
What to consider before installing
What to consider before installing:
- The code bundle largely does what the description says (generate → convert → publish), but there are clear code inconsistencies: scripts/main.py calls methods that don't exist in scripts/auto_publish.py (e.g., check_fanqie_login, full_workflow). This suggests the package may be a mismatched merge of different versions and could break at runtime.
- The skill depends on two other skills (open-novel-writing and fanqie-publisher) and on a logged-in Fanqie author account. It expects a cookie file at ~/.openclaw/skills/fanqie-publisher/scripts/fanqie_cookies.json and reads/writes files under ~/.openclaw/skills/... but does not declare these credential/file requirements in the manifest. Before installing, ensure you trust and audit the fanqie-publisher skill (network and auth behavior) because this skill will import and execute its main.py functions.
- There are no remote downloads in the install, but the code will execute local Python scripts and call subprocess to run the fanqie-publisher login; run it in a sandbox or test environment first, and back up any important cookie/auth files.
- Recommended actions: (1) ask the maintainer for a corrected release or version which aligns main.py and auto_publish.py; (2) inspect the fanqie-publisher main.py to confirm where credentials are stored and whether network endpoints are expected; (3) test the workflow with a throwaway Fanqie account; (4) only provide real credentials after you verify the other skill’s behavior. If you cannot verify those points, treat the skill as untrusted.Like a lobster shell, security has layers — review code before you run it.
latest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
fanqie-novel-auto-publish
番茄小说创作发布一条龙技能
整合 open-novel-writing(AI 创作)+ fanqie-publisher(番茄发布),从想法一键生成到发布到番茄小说。
完整流程
想法 → 设定 → 大纲 → 生成多章 → 评审修订 → 自动发布到番茄小说
工作原理
技能目录下包含两个核心模块:
| 模块 | 文件 | 说明 |
|---|---|---|
novel_generator | novel_generator.py | 调用 AI 生成小说章节 |
fanqie_publisher | fanqie_publisher.py | 调用 fanqie-publisher 发布章节 |
auto_publish | auto_publish.py | 编排完整工作流 |
使用方式
命令行发布
cd ~/.openclaw/skills/fanqie-novel-auto-publish/scripts
python auto_publish.py --check # 检查状态
python auto_publish.py --works # 列出作品
python auto_publish.py -w "作品名" -f "章节.md" # 发布单章
Python 调用
import sys
sys.path.insert(0, "~/.openclaw/skills/fanqie-novel-auto-publish/scripts")
from auto_publish import AutoPublishWorkflow
workflow = AutoPublishWorkflow()
# 检查状态
status = workflow.check_status()
# 发布章节
result = workflow.publish_chapter(
work_title="诡异系统:我在规则世界卡BUG",
chapter_file="C:/path/to/chapter.md"
)
依赖
open-novel-writing技能(生成小说内容)fanqie-publisher技能(发布到番茄小说)
这两个技能需要先安装并配置好。
工作目录
- 小说输出:
~/.openclaw/skills/novel-generator/output/ - 记忆文件:
~/.openclaw/skills/novel-generator/.learnings/ - Cookie 文件:
~/.openclaw/skills/fanqie-publisher/scripts/fanqie_cookies.json
企业开发·定制技能请联系Wx:CChenJ_
Files
9 totalSelect a file
Select a file to preview.
Comments
Loading comments…
