Skip to main content
skill CX Codex

novel-creator — Claude Code skill: what it does, how to install

Guides story writing through interactive RPG choices and compiles Markdown chapters into a finished EPUB ebook.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add mave99a/novel-skill --skill novel-creator -a claude-code
Open on GitHub

What novel-creator does

This skill organizes story writing into five phases. It begins by collecting core parameters like genre, protagonist background, and target chapter length. Next comes an interactive run with 10 to 15 decision points. The user picks options. The assistant tracks items, character relationships, and foreshadowing seeds from each decision.

After the interactive session, the skill creates task_plan.md with an outline and chapter targets. It then drafts chapter files containing 4000 to 5500 words each. Packaging the markdown files into an .epub requires python3 to run scripts/create_epub.py.

What it helps with

  • run interactive story branching sessions before writing drafts
  • generate a structured chapter plan with a foreshadowing matrix
  • write novel chapters in Markdown following scene templates
  • convert separate chapter files into a formatted EPUB ebook

Example prompts for the agent

  • Write an interactive fantasy story with RPG choices
  • Create task_plan.md from my outline and start writing chapter 1
  • Convert my markdown chapters into an epub file

How to install novel-creator

1Skills CLI (Vercel)

npx skills add mave99a/novel-skill --skill novel-creator -a claude-code

2Manually: put the files in place

~/.claude/skills/novel-creator/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/novel-creator/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about novel-creator

How to install novel-creator in Claude Code?

Run npx skills add mave99a/novel-skill --skill novel-creator -a claude-code. The file will be saved to ~/.claude/skills/novel-creator/SKILL.md.

What does novel-creator do?

It runs a 5-phase writing workflow from initial parameters and 10 to 15 decision points to detailed drafting and final EPUB compilation.

What is required to produce EPUB files?

You need python3 installed on your machine. The skill executes python3 scripts/create_epub.py to package the generated chapters into an .epub book.

Source text

SKILL.md · MIT
---
name: novel-creator
description: |
  Interactive novel creation workflow combining RPG-style storytelling with professional EPUB ebook production.
  Use when users want to: (1) Create interactive stories/RPG games with branching choices, (2) Write full novels from story concepts,
  (3) Generate novels with time-travel/fantasy/romance elements, (4) Convert markdown stories to EPUB ebooks,
  (5) Create Chinese web novels with ancient poetry paired with modern lyrics, (6) Write light novels or serialized fiction.
  Triggers: "write a novel", "create a story", "interactive fiction", "RPG story", "make an ebook", "穿越小说", "写小说", "创作故事", "制作电子书"
---

# Novel Creator

Transform story ideas into complete novels with EPUB output through an interactive RPG-style workflow.

## Workflow

```
[Story Concept] → [Interactive RPG] → [Writing Plan] → [Chapters] → [EPUB]
     Phase 1           Phase 2           Phase 3        Phase 4     Phase 5
```

## Phase 1: Story Setup

Use `AskUserQuestion` tool to gather:

| Element | Options | Default |
|---------|---------|---------|
| Genre | 穿越/Fantasy/Romance/Mystery | 穿越 |
| Setting | Ancient palace/Modern/Fantasy world | Palace |
| Protagonist | Name, background, abilities | - |
| Goal | What to achieve | Survive and thrive |
| Length | Chapters × words | 10 × 5000 |

Load character personas from `references/personas.md` based on setting.

## Phase 2: Interactive RPG

Run 10-15 decision points where user makes choices via `AskUserQuestion`:

```
[Vivid scene description]
↓
AskUserQuestion with 3-4 meaningful choices
↓
[Consequence + next scene]
```

**Required elements to weave in:**
- **Tech/Knowledge**: Modern knowledge as "magic" (phone→照妖镜, chemistry→炼丹)
- **Fantasy**: Special abilities (灵觉), artifacts (蓄雷珠), prophecies
- **Romance**: First meeting → mutual help → feelings → confession

**Track throughout:**
- Key plot points and decisions
- Relationship development stages
- Items and abilities acquired
- Foreshadowing seeds planted

## Phase 3: Writing Plan

Create `task_plan.md` with:

```markdown
# Writing Plan: [Title]

## Characters
| Name | Role | Traits | Arc |
|------|------|--------|-----|

## Foreshadowing Matrix
| Element | Ch.1 Hint | Development | Payoff |
|---------|-----------|-------------|--------|
| Tech | [seed] | Ch.4 [use] | Ch.9 [climax] |
| Fantasy | [seed] | Ch.6 [reveal] | Ch.9 [power] |
| Romance | [meeting] | Ch.5 [feelings] | Ch.10 [love] |

## Poetry Pairings (Chinese novels)
| Ch | Ancient Poetry | Modern Lyrics | Theme |
|----|----------------|---------------|-------|
See references/poetry_pairs.md for suggestions.

## Chapter Outline
- [ ] Ch.1: [title] - [key scenes, ~5000 words]
...

## Progress
| Ch | Status | Words |
|----|--------|-------|
```

## Phase 4: Chapter Writing

Write each chapter (~4000-5500 words) following this structure:

```markdown
# 第X章:[押韵标题]

> *[Ancient poetry quote]*
> *——[Author]《[Title]》*

---

## 一
[Scene 1: Setting + action]

## 二
[Scene 2: Dialogue + conflict]

## 三
[Scene 3: Resolution + hook]

---

(第X章完)

---

> *"[Modern lyrics quote]"*
> *——《[Song]》*
```

**Writing checklist:**
- [ ] Vivid sensory descriptions (sight, sound, smell, touch)
- [ ] Dialogue with subtext (what's said vs. what's meant)
- [ ] Internal monologue showing modern perspective
- [ ] Proper pacing (action → dialogue → reflection)
- [ ] Foreshadowing elements per plan
- [ ] Chapter-end hook

**File naming:** `[##]_[章节标题].md` (e.g., `01_梦回千年惊鸿起.md`)

Update `task_plan.md` progress after each chapter.

## Phase 5: EPUB Generation

Run:
```bash
python3 scripts/create_epub.py
```

Script auto-detects chapter files in current directory and generates:
- Cover page with title/subtitle/author
- Introduction page
- All chapters with proper formatting
- Table of contents
- Chinese typography CSS

Output: `[书名].epub`

## Quick Commands

| User says | Action |
|-----------|--------|
| "写一部穿越小说" | Full workflow Phase 1-5 |
| "根据大纲写小说" + outline | Phase 3-5 |
| "把章节转成epub" | Phase 5 only |
| "继续写下一章" | Resume Phase 4 |

## Resources

- `scripts/create_epub.py` - EPUB generator
- `references/personas.md` - Character templates by setting
- `references/poetry_pairs.md` - Poetry and lyrics pairings

© mave99a · MIT · mave99a/novel-skill

Similar skills

All skills for Writing and docs →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor