ClaudeMod
ModsGamesReads Files

codyssey

Turn every Claude Code session into a little adventure: generative music that follows the agent's mood, a pixel knight who battles a monster for every edit and command, and a transcript retold in game style.

Install· Claude Code 2.1.330+
$claude plugin marketplace add delexw/codyssey
$claude plugin install codyssey@codyssey
Run claude plugin validate to auditGuide →
Access & PermissionsReads Files

Reads local project files, settings, transcripts, or environment variables.

Reads mod stateplays audioPersists local stateDraws UI

Statically scanned from hooks & source. Learn how to audit

Yangliu1 starsAdded 1 months ago

codyssey logo: an amber shield with a sword whose crossguard is a pair of code brackets, a scroll and a music note

codyssey

Claude Code, played as an adventure: soundtrack, hero and quest log.

[!IMPORTANT] miod's music only works on macOS.

I'm an engineer, but these days I solve the boring problems entirely by vibe coding. Somewhere along the way I felt I had lost the creativity and curiosity I used to have when writing code myself.

So I started thinking about how to make vibe coding fun again. codyssey turns a Claude Code session into a little adventure: while the agent does the work, you hear it as music, watch a pixel knight fight through it, and read it back as a quest log.

It's three mods in one plugin, and each one turns on and off on its own.

What it is

Three Claude Code mods in one plugin.

miod: the soundtrack

Generative music written on the spot while Claude works. No music files, no library, no AI model.

  • Every task picks its own flavour (lo-fi, chiptune, ambient, jazzy and 8 more), key, chord progression, tempo, sound and theme.
  • The mood follows what the agent is doing: reading sounds airy, editing bright, testing focused, shipping triumphant, failing tense until a command passes.
  • The faster it spends tokens, the busier the music.
  • Above the prompt, one line shows the mood, flavour, key, tempo and energy, with a wave under it that scrolls with the music:

miod's status line and moving wave

knightod: the hero

A pixel knight walks a narrow strip above the prompt while Claude works.

  • Every tool call is an encounter: reading finds a scroll, editing a file fights its monster (slime, goblin, skeleton, orc, spider), web searches raise bats and ghosts, and subagents send a skeleton.
  • A failed command costs a heart. A test that passes after a failure summons the Bug Dragon.
  • Committing, pushing or opening a PR opens a treasure chest.
  • Every two minutes of play a boss comes: King Slime, Ogre, Lich, Demon, then the Shadow King.
  • Monsters and bosses grow tougher as the knight levels up.
  • Kills bring gold and xp, and xp brings levels. Progress carries from task to task within a session; a new session starts a new knight. The knight makes camp while you're away.

The knight fighting through a task

What you can meet on the road:

When Claude…The knight meetsWhat it brings
Reads or searches files (Read, Grep, Glob)A scrollHeals 1 heart
Edits or writes a fileA Slime, Goblin, Skeleton, Orc or Spider (the file name picks which)1 xp and 1 to 3 gold, plus 1 xp and 1 gold for each extra heart
Searches or fetches the webA Bat or GhostSame as any monster
Runs a commandA Goblin or WolfSame as any monster
Hands work to a subagentA SkeletonSame as any monster
Calls an MCP toolA SlimeSame as any monster
Runs a command that failsA hitLoses 1 heart
Runs a passing test or check after a failureThe Bug Dragon, 4 hearts2 xp and 5 gold or more per heart
Commits, pushes, merges, tags, or opens or merges a PRA treasure chest5 to 24 gold
Has been playing for 2, 4, 6, 8, then 10 minutesKing Slime (3 hearts), Ogre (4), Lich (5), Demon (6), Shadow King (7)2 xp and 5 gold or more per heart

The knight picks a weapon at random for every strike:

WeaponRangePowerHow oftenHow it hits
⚔️ SwordClose1 heart, or 2 with a specialOftenA slash. Now and then it becomes a glowing yellow special
🪓 AxeClose2 heartsSometimesA heavy chop
🔱 LanceA little further1 heartSometimesReaches the monster a few steps early
🗡️ DaggerFar1 heartSometimesThrown early, flies to the monster
🔥 FireballFurthest2 heartsRarelyCast from far off, flies to the monster

Thrown weapons only open a fight. Once a monster has been hit and is coming in close, the knight switches to the sword, axe or lance. Each weapon is one file in hooks/knightod/game/weapons/, with its range, power and how often it's picked.

How the game works:

MechanismHow it works
❤️ HeartsThe knight starts with 5. Every monster and boss shows one heart and the number it has left beside it, like ♥3. Past 5 hearts, the knight's line shows the count too, like ♥7/12.
📈 Monsters level upMonsters start with 1 heart and gain one every 3 knight levels. Bosses gain one every 2 knight levels, on top of their own.
⭐ LevelsEach level needs 8 more xp than the last. A new level adds a heart and heals the knight fully.
👹 Boss fightsA boss swings back and can wound the knight, but never lands the last blow. Some of the knight's strikes are specials that hit for 2.
💀 FallingLosing the last heart to a failed command brings the knight back with full hearts and half the gold.
⚡ SpeedThe knight walks faster the quicker Claude spends tokens: normal, then double from 30k tokens a minute, then triple from 80k.
📜 ProgressLevel, hearts, kills, gold, quests, play time, bosses slain and falls add up from task to task, for the rest of the session. A new session starts a new knight. Between tasks the knight sits by a campfire.
⏸️ PausingIf Claude ends its turn while a background command or subagent is still running, the knight shows ⏸ paused and stays on the road. When the last one finishes, the knight makes camp.

scrollod: the quest log

Restyles the transcript so the story is easier to follow.

  • Tool calls become one-liners, and their results show only when they fail.
  • Claude's replies stand out from the tool noise.
  • Two styles. game (the default): each tool call wears a badge (☰ SCOUT, ⚒ FORGE, ⚔ FIGHT, ☄ MAGIC, ♞ ALLY, ⚗ POTION), Claude speaks from a nameplate, your prompts sit in a ◆ YOU box, finished background tasks arrive as ⚑ QUEST rows, and a subagent's report comes back in a green ♞ box under its name. plain: the same quiet transcript without the badges.

The transcript in the game style

Install

Needs Claude Code 2.1.290 or newer.

claude plugin marketplace add delexw/codyssey
claude plugin install codyssey@codyssey

Then start a new session. All three mods start on.

If you loaded miod, knightod or scrollod on their own before (from delexw/miod, or a folder in CLAUDE_CODE_PLUGIN_DIRS), remove those first, or their commands are registered twice.

Pick your mods

All three come in the one plugin, and each turns on and off with its own command:

  • Turn one off: /miod off, /knightod off or /scrollod off, and on to bring it back. The choice is remembered in later sessions.
  • Game style: scrollod starts in the game style. Switch to the plain look with /scrollod style plain; it stays plain in later sessions until you pick /scrollod style game.

Usage

/miod                    is the music on or off?
/miod off                stop the music
/miod on                 play again from the next task
/miod wave               list the wave looks: bars, line, mirror, dots, pulse
/miod wave dots          switch the wave to the dots look

/knightod                this session's game: level, hearts, kills, gold, bosses
/knightod off            put the knight away
/knightod on             send the knight out again
/knightod reset          start over with a new knight

/scrollod                on or off, and which style
/scrollod off            show the transcript as Claude Code draws it
/scrollod on             restyle it again
/scrollod style plain    the quieter plain look
/scrollod style game     back to badges, nameplates and quest rows

Add your own

Each mod lives in its own folder under hooks/, and hooks/register.tsx turns all three on.

  • miod: each mood is one row in hooks/miod/moods.ts, each flavour one row in hooks/miod/flavours.ts, each sound style one entry in hooks/miod/styles.ts, and each wave look one file in hooks/miod/waves/.
  • knightod: each weapon is one file in hooks/knightod/game/weapons/; monsters and bosses are sprites in hooks/knightod/sprites/; which tool raises which encounter is in hooks/knightod/game/cues.ts, and the boss order and timing in hooks/knightod/game/bosses.ts.
  • scrollod: the game style's badges are in hooks/scrollod/badge.ts, and the styles in hooks/scrollod/style.ts.

Then check it:

claude plugin validate .
claude plugin test .

Run a checkout without installing it with claude --plugin-dir <path to this repo>.

Limitations

  • miod's music only plays on macOS, where Claude Code plays it through afplay.
  • miod's sound is simple chiptune-style tones.
  • codyssey only sees the session it's loaded in.

Details

Author
@delexw
GitHub Stars
1
Sub-category
Games
License
MIT
Added
1 months ago
Last synced
today
Events hooked
session.startcommand.runturn.starttool.callprompt.submitturn.stepturn.completeui.messageui.rendersession.end

Weekly Mods Digest

Top new Claude Code mods and install commands, once a week. No fluff, unsubscribe anytime.

More Mods

Claude Flightdeck
ModsSecurity

Claude Flightdeck

Live agent dashboard pane with context consumption, advisor timeline, permission verdicts, and subagent swimlanes.

Reads Files
by Sam Casella
GitHub
ModsInterface

Terminal Browser

Browse documentation, GitHub pull requests, and web pages in a split terminal pane directly beside your Claude Code conversation.

Network
by Zenbu Labs
GitHub
Agent Flow
ModsAutomation

Agent Flow

Interactive visual tree of the active session's subagents, background tasks, and teammates beside the transcript via /flow.

UI Only
by Charlie
GitHub

Command Palette

Search for a command to run...