Sandbox
@zenstory-ai/novel-to-game

Skill pack for turning novels into playable games

NovelToGame breaks novel adaptation into separate steps so the agent can analyze the source, choose a concept, design the world and art, build the game, and verify the result. It keeps the adaptation tied to evidence from the novel and to the chosen runtime instead of drifting into a generic reskin.

774 stars109 forksMarkdownUpdated 9d ago
Who it's for

Builders who want Claude Code or Codex to turn a novel into a playable game with reusable adaptation steps.

What it delivers

You can move from a novel to a playable, source-grounded game with a staged workflow instead of a single vague prompt.

What it does

Source analysis skill

Extracts cited rules, verbs, spaces, character agency, conflicts, and visual anchors from the novel.

Concept and world design skills

Helps select a direction, define the player promise, and turn source evidence into systems, levels, failure, and outcomes.

Art direction skill

Defines camera, composition, colour, light, materials, HUD, motion, and sound for the adaptation.

Build and QA skills

Builds a risk-matched whitebox, then verifies startup, rendering, input, core loop, restart, and limitations in the chosen runtime.

Multi-CLI installation

Supports Claude Code and Codex through shared skill installation and plugin manifests, with native install paths in the README.

How to get it

  1. 1Install adapters for all three CLIs on the same machine
    npx skills add zenstory-ai/novel-to-game -g -y -s '*' \
      -a claude-code -a codex -a kimi-code-cli
  2. 2Give the agent a novel file, directory, or link
    Use novel-to-game quick to adapt this novel into a fully playable game.
    Recommend the target platform, genre, and engine from the source, and keep the first build to about 15 minutes.
    Let the player enter the world as an original character with a new playable route through its conflict.
  3. 3When you want an interactive story rather than a systems game, say so. That locks the…
    Use novel-to-game quick to adapt this novel into an interactive story.
    Carry the experience with continuous scenes, character dialogue, testimony, and key choices.
    Keep variables as hidden causal tags rather than a visible stat panel.
    Key choices must change later scenes, character attitudes, and the ending, and be named back in later text.
  4. 4Run
    /plugin marketplace add zenstory-ai/novel-to-game
    /plugin install novel-to-game@novel-to-game-skills
    /novel-to-game:novel-to-game quick
  5. 5Run
    codex plugin marketplace add zenstory-ai/novel-to-game
    codex plugin add novel-to-game@novel-to-game-skills
  6. 6Run
    /plugins install https://github.com/zenstory-ai/novel-to-game
    /reload
    /skill:novel-to-game quick

README

NovelToGame

Turn a novel in any language into a source-grounded, fully playable game.

Validate Latest release License GitHub stars

NovelToGame is an open-source Agent Skills toolkit for Claude Code, Codex, and Kimi Code. It turns novel adaptation into a staged workflow: source analysis, concept selection, world and art direction, implementation, and runtime QA.

Bring a novel in any language and choose the target runtime. Generated artifacts follow the requested language; build and QA stay on the chosen platform instead of silently falling back to an easier substitute.

中文 · Play Online · Quick Start · Workflow · Skills · Artifacts · Contributing

Play Online

Three playable adaptations, each available in a browser right now and linked to the case study behind it: source provenance, concept trade-offs, game and art direction, runnable source, and evidence from the playable paths.

Journey to the West · Three Borrowings of the Banana Fan

Wukong's party and the Bull Demon King's formation remain fully visible above a separate light-silk command tray on the Jilei Mountain stage

One wave of a fan blew you fifty thousand li. Take the mountain back one turn at a time.

Command Wukong's party through the three borrowings of the Banana-Leaf Fan: read the five-element wheel, follow a fire-vein treasure map, decide when to press deeper or bank the haul, transform your way in where force will not work, and turn a demon king who outclasses you into a rainstorm over the Mountain of Flames.

Play in browser · Read the case study · design estimate: 45–90 min · all ages · playable prototype

Jin Ping Mei · Ledger of Desire

Five women of the Ximen household face the player across the household ledger

Choose whose door you enter tonight. Find out whose door knocks in the morning.

Twenty days, five courtyards. Keep silver, influence, reputation, exposure, and household strain in balance; respect each woman's terms; build trust through shared crises; and face a final ledger shaped by what everyone chose and remembers.

Play in browser · Read the case study · design estimate: 60–90 min · 18+ · playable prototype

Project Plateau · The Lost World · 3D

A real-time first-person 3D field-photography game adapted from Arthur Conan Doyle's The Lost World. Cross a connected plateau, observe a living Iguanodon family, expose four glass plates under aerial pressure, and return with the views that survived.

Play the full expedition on desktop, or watch the 15-second gameplay preview on other devices.

https://github.com/user-attachments/assets/27819247-4e4d-4bf0-8f0f-43d4125c4d45

Play in your browser — no install · Read the case study · Share feedback · 1–3 min run · desktop WebGL2 · playable prototype

Why NovelToGame

A one-line “turn this book into a game” prompt often produces a generic reskin or a clickable plot summary. NovelToGame keeps the adaptation traceable and gives each major decision a clear owner:

  • Source-grounded adaptation: extract rules, spaces, character agency, conflicts, and visual anchors with citations;
  • Real game design: turn source evidence into player verbs, systems, levels, feedback, failure, and outcomes;
  • Target-runtime delivery: build for the approved platform or engine without implementation silently redesigning the game;
  • Optional, restrained voice: synthesize only selected high-value lines at build time, keep subtitles and mute fallbacks, and never send the whole novel to a TTS provider by default;
  • Evidence-based QA: verify startup, rendering, input, the core loop, an outcome, restart, and explicit limitations in the tested runtime.

Quick Start

1. Install the seven skills

Agent CLIInstallInvoke
Claude Codenpx skills add zenstory-ai/novel-to-game -g -y -a claude-code -s '*'/novel-to-game
Codexnpx skills add zenstory-ai/novel-to-game -g -y -a codex -s '*'$novel-to-game
Kimi Codenpx skills add zenstory-ai/novel-to-game -g -y -a kimi-code-cli -s '*'/skill:novel-to-game

Install adapters for all three CLIs on the same machine:

npx skills add zenstory-ai/novel-to-game -g -y -s '*' \
  -a claude-code -a codex -a kimi-code-cli

Cloning the repository also enables project-local skill discovery in all three CLIs.

2. Start an adaptation

Give the agent a novel file, directory, or link:

Use novel-to-game quick to adapt this novel into a fully playable game.
Recommend the target platform, genre, and engine from the source, and keep the first build to about 15 minutes.
Let the player enter the world as an original character with a new playable route through its conflict.

When you want an interactive story rather than a systems game, say so. That locks the narrative-led experience profile, so concept, design, and QA judge continuous scenes, character dialogue, testimony, and key choices instead of applying rounds, cards, and resource bars:

Use novel-to-game quick to adapt this novel into an interactive story.
Carry the experience with continuous scenes, character dialogue, testimony, and key choices.
Keep variables as hidden causal tags rather than a visible stat panel.
Key choices must change later scenes, character attitudes, and the ending, and be named back in later text.

The narrative track keeps the same agency and runtime-evidence requirements, without forcing a fixed progression arc: questioning people, pressing contradictions, and changing attitudes can carry the player loop.

quick is the low-friction option: the agent drafts sensible defaults, asks only about materially branching or safety-sensitive choices, compares meaningful alternatives, and continues through design, build, and QA. Already selected directions are validated, not reopened to fill a quota. QA covers real startup, rendering, input, a complete loop, an outcome, restart, and explicit limitations. Diagnosis and reruns are allowed; the final record must come from one complete run. No human-playtest gate or separate approval report is required. Choose director when you want to pick the concept yourself.

Native plugin installation

Claude Code

/plugin marketplace add zenstory-ai/novel-to-game
/plugin install novel-to-game@novel-to-game-skills
/novel-to-game:novel-to-game quick

Codex

codex plugin marketplace add zenstory-ai/novel-to-game
codex plugin add novel-to-game@novel-to-game-skills

Kimi Code 0.27 or newer

/plugins install https://github.com/zenstory-ai/novel-to-game
/reload
/skill:novel-to-game quick

Workflow

The orchestrator locks PRODUCT_BRIEF.md, then hands the adaptation through separately owned decisions. Concept, experience/level design, and art direction remain distinct. After world design, a risk-matched whitebox tests the hardest causal, systemic, spatial, or control question before art production; its findings return to the design owner rather than becoming a new QA gate.

Novel → Source analysis → Concept → World design → Risk-matched whitebox ↺ → Art direction → Production build → QA → Playable game

The whitebox runs only the narrow check needed for its declared risk. The production build targets the chosen runtime and prepares one authoritative verification entry point. QA may diagnose, fix, and rerun; its final record binds all six player-visible effects to the same complete execution, without reusing stale passes. Capability-specific regression checks run only when that capability is adopted. No human-playtest gate or duplicate QA report is required. Source-code provenance, public hosting, marketing, rights, subjective fun, and publication quality are not machine-proven by this QA record.

Skills

SkillResponsibility
novel-to-gameConfirm requirements, choose a mode, orchestrate stage handoffs, and recover progress
novel-game-analyzeExtract cited rules, verbs, spaces, agents, systems, and signature moments
game-conceptCompare meaningful alternatives, reject invalid options, and select or validate a direction
game-world-designDefine the player promise, core loop, world response, systems, levels, failure, and outcomes
game-art-directionDefine camera, composition, visual grammar, colour, light, materials, HUD, motion, and sound
game-buildBuild a risk-matched whitebox, then implement the approved production candidate without redesigning it
game-qaVerify commands, states, screenshots, and real play paths without overstating subjective results

Artifacts

Each run creates a compact, self-contained adaptation workspace:

game-adaptations/<project>/
  PRODUCT_BRIEF.md
  analysis/SOURCE_BIBLE.md
  concepts/CONCEPT.md
  design/GAME_DESIGN.md
  design/ART_DIRECTION.md
  build/BUILD_BRIEF.md
  build/app/
  qa/verification.json
  _progress.md

Core design documents remain independent of any single model or game engine. The approved target runtime determines the implementation and QA environment.

Contributing

Reproducible bugs, skill gaps backed by evidence, and example proposals that demonstrate a distinct adaptation lesson are welcome. Read the contribution guide and use the repository's structured issue and pull request templates.

License

NovelToGame is released under the MIT License.

Acknowledgments

Thanks to the linux.do community for early feedback and support.

Files in the repo

Repository payload20 top-level entries
  • .agents
  • .claude
  • .claude-plugin
  • .codex-plugin
  • .github
  • docs
  • examples
  • scripts
  • skills
  • tests
  • .gitattributes
  • .gitignore
  • AGENTS.md
  • CHANGELOG.md
  • CONTRIBUTING.md
  • kimi.plugin.json
  • LICENSE
  • README_ZH.md
  • README.md
  • VERSION

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More skills

obra/
superpowers

An agentic skills framework & software development methodology that works.

285k
1 add

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

117k
1 add
Vincentwei1021/
anything2explainer

Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.

666

Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)

71k