novel-publishing

Delivers web novel chapters to the Fanqie author backend draft box via Playwright browser automation.

Updated Jul 31, 2026
One-click install
npx skills add https://github.com/cwjdong-design/novel --skill novel-publishing-cwjdong-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: novel-publishing
Source: https://github.com/cwjdong-design/novel/tree/main/novel-publishing
Command: npx skills add https://github.com/cwjdong-design/novel --skill novel-publishing-cwjdong-design

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes references (resource) components.

What problem does it solve? Manually uploading finished web novel chapters to a platform's author backend is repetitive and error-prone, and automated publishing risks accidentally releasing chapters publicly. This Skill automates only the safe part: logging into the Fanqie author backend, filling the chapter editor, saving drafts, and verifying them in the draft box—while strictly refusing any formal publish action. ## Core Features & Use Cases - Semi-automated draft delivery: Uses Playwright with a persistent browser profile to log in via QR code, fill chapter title and body from local Markdown files, and save drafts. - Draft reconciliation: Verifies saved drafts against the draft box page or the draft_list API, checking chapter numbers, titles, word counts, and duplicates before claiming success. - Safety guardrails: Hard-stops on captchas, risk control, or page structure changes; never executes formal publishing, scheduled publishing, or cookie extraction. - Use Case: After finishing chapters 40–45 of a novel, ask the agent to send them to the Fanqie draft box; it logs in, delivers each chapter in order, then reconciles the full range against the backend draft list with screenshots as evidence. ## Quick Start Send chapter 42 of my current book to the Fanqie draft box and verify it was saved.

Frequently Asked Questions about novel-publishing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upload novel chapters to the Fanqie author backend automatically?

Use Playwright with a persistent browser profile to log in via QR code, then fill the chapter title and body from a local Markdown file and click save draft. The workflow ends with draft box reconciliation to confirm the chapter exists with correct title and word count.

Can this automation publish chapters publicly on Fanqie?

No. The workflow deliberately stops at draft_saved_verified and never executes formal publishing, scheduled publishing, or any action making chapters visible to readers. It only delivers chapters to the draft box and verifies them.

Why does pasting text into the Fanqie chapter editor fail?

The Fanqie editor uses ProseMirror, which rejects keyboard input and paste events from automation. Content must be injected by writing innerHTML directly to the DOM instead of simulating typing or clipboard paste.

How do I keep the Fanqie login session persistent in Playwright?

Use launch_persistent_context with a fixed user_data_dir so cookies persist across sessions. The user scans the QR code once manually, and subsequent runs reuse the stored login state without passwords or cookie extraction.

What happens when the automation hits a captcha or page change?

The workflow stops immediately rather than clicking blindly. It records the last successful step, takes a screenshot if possible, and reports the exact failure point so the user can handle the captcha or risk control manually.

How do I verify multiple chapters were all saved as drafts?

After delivering chapters in order, open the draft box route once and reconcile against the draft_list API or page table, checking chapter numbers, titles, word counts, and duplicates. A single chapter's success never proves an entire range was delivered.