novel-backup

Automates chapter-level and daily full backups of novel manuscripts with versioned snapshots and retention cleanup.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing a long web novel means hundreds of chapters and constantly evolving setting documents; without structured backups, a bad revision or accidental overwrite can destroy weeks of work. This Skill automates versioned backups of every finalized chapter, snapshots of setting documents per chapter, and daily full archives, with conservative cleanup rules so nothing important is lost. ## Core Features & Use Cases - Per-Chapter Incremental Backup: Saves each finalized chapter as a versioned file (v1, v2, ...) and snapshots worldbuilding, character, foreshadowing, and storyline documents at that chapter's state. - Daily Full Archives: Creates tar.gz archives per book and a global cross-book backup, with semantic version numbers (M.m) that increment by day or by same-day repetition. - Retention & Cleanup Policies: Keeps first/latest chapter versions permanently, retains milestone snapshots every 10 chapters, and prunes old archives beyond 7 days while preserving weekly backups. - Use Case: After finishing chapter 47 of a web novel, the Skill automatically stores the chapter as v2 in the version history, snapshots all setting documents under 设定快照_第47章/, logs the operation, and deletes expired snapshots without interrupting the writing flow. ## Quick Start Ask the agent to back up the current novel, for example: "备份《我的小说》" or let it run automatically after each chapter is finalized.

Frequently Asked Questions about novel-backup

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

FAQPage Schema
How do I back up novel chapters automatically after writing?

The Skill triggers automatically after each chapter is finalized via the main workflow, or you can say "备份《书名》" manually. It saves the chapter as a versioned file, snapshots all setting documents, and appends an entry to the backup log.

How does chapter version numbering work for manuscript backups?

Each chapter starts at v1 on first save. Every regeneration or revision increments the version (v2, v3, ...), with the old version preserved in the version history folder and the new version overwriting the working draft.

Can I restore a previous version of a chapter or setting document?

Yes. Restore a chapter by copying the desired version from the version history folder over the working draft, restore settings from a per-chapter snapshot directory, or extract a full tar.gz archive to recover an entire book after confirmation.

What backup files are kept and which get deleted automatically?

Chapter v1 and the latest version are kept permanently, with only the 5 most recent versions retained per chapter. Setting snapshots keep the latest 20 plus every 10th chapter milestone, and daily archives older than 7 days are deleted except weekly backups.

Does the backup cleanup ever delete my first draft?

No. The first version (v1) of every chapter is permanently preserved as a creation record, and cleanup rules are deliberately conservative to avoid accidental data loss. Cleanup failures never block the writing workflow.