Inkos Interactive Film

Designs branching interactive films and story games with meaningful choices, tracked story flags, filmable scenes and endings every route can reach.

Writing & Editinginteractive-fictionscreenwritingbranching-storiesgamesby Narcooo11kGitHub

What it is

Interactive films and story games let the audience decide what a character does next. This skill gives an AI agent a craft method for writing them: the story tree, the variables and flags that remember earlier choices, scene-by-scene nodes that can be filmed or illustrated, and multiple endings. It comes from InkOS, an open-source story-creation system, and its description is in Chinese and English. It is aimed at writers, game-script authors and short-drama creators planning branching projects.

The method targets the mistakes that break branching stories. Choices must differ in intention, cost, information, relationships or consequences, not just wording. Every branch states its entry condition, the choice, what changes, the later consequence, and where it merges or ends. Variables track what the story must remember, such as evidence, promises, secrets or relationships, rather than generic RPG stats. At merge points and shared endings, scene text only states facts true for every incoming route, with route-specific lines placed behind explicit conditions.

It also guards continuity: characters cannot forget injuries, items or earlier choices, and storyboards and image prompts must keep characters, locations, props, era and lighting consistent without inventing a visual style you did not choose. On its own the skill is guidance any capable agent can apply. Inside InkOS, the same method drives the interactive-film workflow, which turns an idea, script or prose into a playable story graph with image prompts, node images and an exportable project package.

What it can do

  • Plans a story tree where each choice changes knowledge, relationships, access, risk or resources, not only wording.
  • Defines a small, inspectable set of variables and flags, noting who sets each one and which scenes use it.
  • Writes playable nodes with a clear situation, visible actions, performable dialogue and a valid next destination.
  • Checks merge points and shared endings so scene text never contradicts any route that leads there.
  • Counts the choices a player can actually see at each state when you ask for a specific number of options.
  • Keeps characters, locations, props, era and lighting consistent across storyboards and image prompts.
  • Makes every ending traceable and shaped by the path taken, not a label attached to the same outcome.

When to use it

  • You're writing a mystery interactive film and need the evidence the player collected earlier to change who can be accused in the finale.
  • Your branching romance script has six endings and you suspect some of them can't actually be reached.
  • You have a linear short-drama script and want a version with three real decision points.
  • You're preparing image prompts for each scene and need the heroine's outfit and injuries to stay consistent across branches.

How it works

  1. 1Confirms what you have already decided, such as premise, audience, format, budget and visual direction, and leaves unspecified choices open instead of inventing defaults.
  2. 2Maps acts or episodes and story-graph nodes as separate scales, honouring any act count or node budget you set.
  3. 3Writes each node against its entry state: what the player knows and holds on arrival, the choices on offer and the state change each choice applies.
  4. 4Audits every merge and ending by checking all routes that can reach it, moving route-specific dialogue behind explicit conditions.
  5. 5Checks storyboard and image-prompt continuity, and confirms each ending reflects the accumulated path.

Try asking

“Design a branching interactive film about a heist with three key choices and four endings.”
“Check my interactive story tree for unreachable endings and contradictions at the merge points.”
“Turn this linear script into an interactive film where the player's choices change the ending.”
“Set up the story flags for a detective game where the evidence collected decides the final accusation.”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add https://github.com/Narcooo/inkos/tree/master/packages/core/skills/inkos-interactive-film
pnpm
pnpm dlx skills add https://github.com/Narcooo/inkos/tree/master/packages/core/skills/inkos-interactive-film

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the inkos-interactive-film folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/Narcooo/inkos.git
mkdir -p ~/.claude/skills
cp -r inkos/packages/core/skills/inkos-interactive-film ~/.claude/skills/inkos-interactive-film

Then just ask in plain language, for example: “Design a branching interactive film about a heist with three key choices and four endings.”