Book Game logo

Book Game

Community
epicsagas
book-game

Game narrative craft reference: branching architecture, quest design, dialogue systems, lore bible, player agency, and game-writing AI tells. Read by all agents on game scenarios, visual novels, and interactive fiction.

Overview

Publisherepicsagas
RepositoryVelith
Skill namebook-game
Stars
40
Forks
7
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by epicsagas on GitHub. Read the source before you install it.

Installation

Install the Book Game AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/epicsagas/Velith/tree/main/skills/book-game
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/epicsagas/Velith.git /tmp/Velith
mkdir -p .claude/skills
cp -r /tmp/Velith/skills/book-game .claude/skills/book-game
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Book Game in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Book Game on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Book Game is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Game Narrative

The reader is a player. They act, and the story must answer. A game script that reads well but ignores the player's hands is a screenplay with buttons.

Architecture

  • Critical path (60%): must work if the player does nothing optional. Every beat of the main story lands regardless of side content.
  • Side content (30%): enriches, never gates. Side quests reward with understanding of the world or characters, not only items.
  • Hidden (10%): for players who look. Rewards curiosity.
  • Branch depth ≤ 4 before convergence. Convergence types: full (all paths merge), partial (state carries), butterfly (small early choice, large late consequence; use once or twice per game, telegraph nothing).
  • Choice types: binary, multi-way, conditional (flag/item), timed. A choice with no consequence is a menu, not a choice. A choice where one option is obviously correct is not a choice.
  • Endings: each ending is earned by a pattern of choices, not one final selection. The player should be able to explain why they got their ending.

Quest design

Per quest: ID, title, hook (why the player cares), prerequisites (flags, items, relationships), steps (3-7, each verifiable by the game), branch points, resolution, rewards, flags set. Quest chains: linear, hub, parallel.

The hook is narrative, not "collect five." The reward includes a change in the world the player can see.

Dialogue system

  • Node: speaker, line, emotion tag, next-node links, conditions.
  • Player responses ≤ 3 per node; each is a stance (investigate, push, withdraw), not a paraphrase of the same thing.
  • NPC state (trust, fear, knowledge) affects available lines. Track in the bible.
  • Barks and ambient lines carry world texture; write them with the same care as cutscene dialogue.
  • Lines are short. Players skip. The most important line in a conversation is the one that changes state, and it should be unmissable.
  • Localization: avoid idioms that do not travel; keep string lengths sane for UI.

Lore bible

Entries per location, character, faction, item, event, concept, rule. Fields: name, description, connections, mechanical relevance, narrative role, first appearance, flags. Consistency check before finalizing: every named thing in a quest or line exists in the bible. World rules (magic, tech, politics) are stated once and never broken without a story reason.

Character across routes

Core identity is constant; route-specific development varies. A companion who is warm on one route and cold on another needs a reason the player can find. Personal quests unlock on trust thresholds. Companions comment on the player's choices; silence is also a comment.

Game-writing tells

  • NPCs who explain the world to a player character who lives in it.
  • Every choice offering good / neutral / evil.
  • Quest text that restates the objective marker.
  • Lore dumps in item descriptions that nobody reads.
  • Villains monologuing at the boss door.
  • Companions who approve of everything.
  • Endings differentiated by one final dialogue choice.
  • Uniform dialogue length across NPCs.

Format

Markdown with YAML frontmatter per quest and per dialogue tree. Branching maps as Mermaid flowcharts. Dialogue as structured blocks:

markdown
### NODE guard_gate_01
**Speaker:** GUARD · **Emotion:** wary · **Condition:** !has_pass
"State your business."
- [investigate] "What happened here?" → guard_gate_02
- [push] "Let me through." → guard_gate_03 (sets: guard_hostile)
- [withdraw] (leave) → END

Deliverables per outline: overview, world bible, character bible, main quest line, side quests, dialogue trees, cutscene scripts, branching map, flag table.

Validation (architect scoring for game)

Critical path works standalone; branch depth within limit with defined convergence; every choice has consequence; endings earned by patterns; every named entity in the bible; flag table complete and no orphan flags; quest steps verifiable.

Visuals

The scenario document needs: world map and region maps (figure-engineer base layers from the lore bible, stylized by the illustrator), branching maps (Mermaid flowcharts from the quest data, never drawn by hand), character sheets with mechanical annotations, location key art, item and UI mock references. Character and location sheets are locked before scene art. Consistency is not optional: the art bible's constants become the studio's reference. All through /book-visuals.

Frequently asked questions

What does the Book Game AI skill do?

Game narrative craft reference: branching architecture, quest design, dialogue systems, lore bible, player agency, and game-writing AI tells. Read by all agents on game scenarios, visual novels, and interactive fiction.

Why use Book Game on TypingMind?

Because you install it once and use it with any model. Book Game is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Book Game in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/epicsagas/Velith/tree/main/skills/book-game. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Book Game?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Book Game?

As many as you like. As long as a model supports skills, you can use Book Game with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Book Game AI skill free?

Yes. It is published on GitHub by epicsagas under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇