Skip to content

Claude Fables

Watch Claude Code fabricate a little cartoon as you work.

Install: git clone https://github.com/henrik-thevibe/Claude-Fables

Works with Claude Code · 41 GitHub stars

Install

$git clone https://github.com/henrik-thevibe/Claude-Fables

Install command taken from the project's README or registry entry. Always review code before running it.

Claude Fables

Your work, told as a cartoon while Claude codes. A Claude Code mod for the desktop app that plays a small animated story in the band above the prompt.

Quick start · How it works · Use · The scenes · Captions · Styles · Develop

[!NOTE] Claude Fables was developed entirely in Claude Code cloud environments and tested locally in the desktop app as well. Still, there may be bugs and rough edges. Issues and pull requests are very welcome.

While Claude works, Fables watches each tool call it makes and each line it says. Every few seconds it asks Sonnet (or Haiku, if you prefer) to retell the latest moment as a scene. Bug hunts turn into nature documentaries and bad regexes get pulled over by the train police. Claude appears as a small orange critter walking, sneaking or flying through the story. When the turn ends there is a closing scene, and it stays up for 30 seconds.

  • A scene every few seconds: each tool call and line Claude says becomes a moment in a story.
  • 20 actions: Claude walks, sneaks, digs, trips, shrugs, sleeps and celebrates, matched to the work.
  • 7 hand-lit scenes: forest, space, city, desert, volcano, lab and night village.
  • 11 styles: from pixel art to ukiyo-e, every element redrawn in the medium.
  • Captions that read like a terminal: files, functions, numbers, failures and successes each set apart.
  • Safe by design: the model writes data, never code, and a bad reply is simply skipped.

Quick start

  1. Clone this repo somewhere permanent, for example ~/code/Claude-Fables.

  2. Add it to the env block in ~/.claude/settings.json:

    {
      "env": {
        "CLAUDE_CODE_PLUGIN_DIRS": "/Users/you/code/Claude-Fables"
      }
    }
    

    To work on the mod with hot reload, also add "CLAUDE_CODE_PLUGIN_DIR_WATCH": "1".

  3. Restart the desktop app and give Claude a task in the Code tab. The cartoon appears above the prompt after the first few seconds.

To try it from the terminal for one session instead, run claude --plugin-dir ~/code/Claude-Fables. Note that in the terminal the mod only watches and draws nothing.

How it works

tool calls, Claude's own words ──► activity log (last 14 lines)
                                         │  as each scene is read, ≥5s apart
                                         ▼
        Sonnet or Haiku ($.model.complete) ──► JSON scene ──► parseScene (validate + clamp)
                                                                  │
                                                                  ▼
                                    sceneToSvg ──► one self-animating SVG (SMIL)
                                                                  │
                                                                  ▼
                                        <Svg isInteractive/> in the AbovePrompt band

Similar plugs

Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…

The Developer Tool for Visual Engineers • An Open-Source AI-First Design tool • Visually build, style, and edit your code with AI • World's best, top-most agent recommended #1…

Rebuild the object in a reference image as a code-only, procedural, quality-gated, animation-ready Three.js model. Token-efficient image-to-3D.

Use Claude Code, OpenCode, Cursor CLI, and Codex on mobile and web with CloudCLI (aka Claude Code UI). CloudCLI is a free open source webui/GUI that helps you manage your…

Explore related