Skills Plugins MCP Prompt Model 博客 我的中心
生活与工具 #browser #automation #ai

fanqie-publish

Automates publishing novel chapters to 番茄小说 (fanqienovel.com) via Playwright browser automation. Use when the user wants to publish, batch-upload, or retry uploading novel chapters from a local directory to 番茄小说. Handles login state, ProseMirror editor injection, popup dismissal (错别字检测/仅基础检测/AI声明/确认发布), and auto-archives successfully published files. Triggers on requests like "发布章节到番茄", "上传小说", "batch publish chapters", or retrying failed chapters.

DeepseekModel 官方收录技能 质量 良好 · 48 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=aresbit-claude-skills-fanqie-publish-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name fanqie-publish description Automates publishing novel chapters to 番茄小说 (fanqienovel.com) via Playwright browser automation. Use when the user wants to publish, batch-upload, or retry uploading novel chapters from a local directory to 番茄小说. Handles login state, ProseMirror editor injection, popup dismissal (错别字检测/仅基础检测/AI声明/确认发布), and auto-archives successfully published files. Triggers on requests like "发布章节到番茄", "上传小说", "batch publish chapters", or retrying failed chapters. fanqie-publish Prerequisites cd /home/ares/ares/llm/fanqie_auto_publish uv sync # install deps playwright install chromium # first time only Login (one-time, saves cookies to state.json ): DISPLAY=:0 uv run python login.py # Follow on-screen prompt: log in, then press Enter Chapter File Naming Files must live in <SOURCE_DIR>/<书名>/ and be named with leading numeric prefix for sorting: 01-第1章-章节标题.md 02-第2章-章节标题.md Or standard format: 001 第1章 章节标题.md 002 第2章 章节标题.md Supports .md and .txt . .md files are auto-converted to plain text on publish. The script extracts chapter number from leading digits in the filename, and chapter title from the # 第N章 标题 heading inside the file. ⚠️ CRITICAL: Strict Chapter Ordering 番茄小说 has a bug: once a chapter number is assigned, it CANNOT be changed or reordered. If you accidentally publish Chapter 2 before Chapter 1, Chapter 1 will forever appear AFTER Chapter 2 in the book's table of contents. There is no way to fix this in the web UI. Rules: ALWAYS publish chapters in strict numeric order: 第1章 → 第2章 → 第3章 → ... NEVER skip a chapter number If a chapter fails to publish, FIX the issue and retry that chapter BEFORE moving to the next one Before starting a batch publish, verify the first chapter is truly Chapter 1 If a published chapter needs to be deleted from the website, also clean the archive directory and re-publish from Chapter 1 onward When retrying after a partial failure: Delete any incorrectly published chapters from the 番茄小说 website Move archived files back from ARCHIVE_DIR to CHAPTER_DIR Clear the ARCHIVE_DIR directory Re-run batch_publish.py starting fresh from Chapter 1 Batch Publish (primary method) Edit the three constants at the top of batch_publish.py : CHAPTER_DIR = "/path/to/chapters/书名" ARCHIVE_DIR = "/path/to/chapters/uploaded/书名" BOOK_ID = "7640498714590579774" # from fanqienovel.com writer URL Run: DISPLAY=:0 uv run python batch_publish.py # all chapters DISPLAY=:0 uv run python batch_publish.py --count 5 # first 5 only DISPLAY=:0 uv run python batch_publish.py --headless # headless (less reliable) Published files are moved to ARCHIVE_DIR automatically. Failed chapters stay in CHAPTER_DIR . Retrying Failed Chapters Move files back from archive to source, then re-run: mv /path/to/uploaded/书名/NNN*.md /path/to/chapters/书名/ DISPLAY=:0 uv run python batch_publish.py Getting BOOK_ID Open the book in the writer backend. Extract the numeric ID from the URL: https://fanqienovel.com/main/writer/7640498714590579774/manage/ Known Failure Modes & Fixes See references/publish-flow.md for the full browser automation flow, popup sequence, and known failure patterns. MCP Server (alternative) mcp_server.py exposes publish_chapters , list_books , preview_chapters , read_chapter_content , and check_login_status as MCP tools. See references/mcp-usage.md .
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。