Skills Plugins MCP Prompt Model 博客 我的中心
Lifestyle & Tools #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 Curated skill Quality Good · 48 v1.0.0

Get

https://deepseekmodel.com/api/download.php?id=aresbit-claude-skills-fanqie-publish-skill-md&format=skill
Download .skill Standard format with system_prompt and model_config, ready for any agent framework
The actual content of the system_prompt field in the .skill file.
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 .
Keywords that activate this skill. Click one to copy it.

This skill does not provide trigger words.

The downloaded .skill package contains the following fields.
Field Description
formatFormat tag (skill/v1)
skill_idUnique skill ID
nameSkill name
versionVersion
descriptionDescription
categoryCategories (array)
trigger_wordsTrigger words
tagsTags
sourceSource
source_urlSource URL (this page)
exported_atExported at (set per download)
system_promptSystem prompt body
model_configModel config: provider / model / temperature / max_tokens / top_p
examplesExamples
install_guideImport guide for Coze / Dify / Claude / custom frameworks
The same skill can be exported in different platform formats.
.skill Standard format with system_prompt and model_config, ready for any agent framework Download
.skillpro Enhanced format with scripts, tools, dependencies and hooks Download
.json Plain JSON export with system_prompt and model parameters only Download
Coze Markdown with frontmatter, for Coze platform import Download
Dify Dify DSL, import directly after creating an app Download

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

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

验证码 --

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

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