ClaudeMod
ModsGamesWrites / Shell

Git Gud

Prepare to code. A Claude Code mod that turns your terminal into a Souls-like: commands fail, you die, you drop runes, you fix the bug, you get them back.

Install· Claude Code 2.1.330+
$claude plugin marketplace add enriquesanchez-elastic/git-gud
$claude plugin install git-gud@git-gud
Run claude plugin validate to auditGuide →
Access & PermissionsWrites / Shell

Writes files, executes local shell processes, or programmatically drives Claude.

Drives ClaudeReads mod stateplays audioPersists local stateDraws UI

Statically scanned from hooks & source. Learn how to audit

Enrique SanchezAdded 1 months ago

git-gud

Prepare to code.

A Claude Code mod that turns your terminal into a Souls-like. Commands fail, you die. You earn runes, you drop them. You fix the bug, you get them back. Mostly.

                         Y O U   D I E D
                 slain by npm test · ᚱ 3,412 dropped

What it does

WhenWhat happens
A command failsYOU DIED in blood red above the prompt. Your runes drop at a bloodstain (a stash of the runes you lost, tagged with the command that killed you).
You succeed at the command that killed youYou pick the runes back up. Die again first and the old one is lost forever.
Claude edits a fileRunes. An Edit whose old_string isn't there is a death too.
Tests passENEMY FELLED. If they were failing before: GREAT ENEMY FELLED and a pile of runes.
git commitBONFIRE LIT. Checkpoint saved.
A destructive command (rm -rf, git push --force, git reset --hard, DROP TABLE…) asks permissionA fog wall appears under the dialog.
You deny a tool callParried!
A subagent's command failsYour summoned phantom has died.
Claude is thinkingThe spinner is Panic-rolling, Praising the sun, Reading item descriptions, Waiting for the elevator…
A turn endsRested for 12s, Parried for 3s, Got gud for 1m 4s
A session startsA message from another Tarnished: "Be wary of Friday deploy, therefore try rubber duck" (appraised 412 times)
You type git gud as a promptIt's dropped. Thou art already gud.

Successes in a row build a streak: +25% runes per five, up to double. Dying breaks it.

Your level, runes, deaths and bloodstain live in the status line (Lv 3 · ᚱ 1,240 · ☠ 12 · 🩸 ᚱ 3,400 to recover) and persist across sessions, so the death counter only ever goes up.

A grep that finds nothing doesn't kill you (probing commands are exempt). Turn on hardcore mode and it does.

New here?

Type /bonfire help in a session for the full guide. The short version:

  1. Work normally. Edits and commands earn runes (ᚱ).
  2. When something fails you die and drop your runes at a bloodstain (🩸).
  3. Succeed at the same command that killed you to get them back.
  4. Win several in a row to build a 🔥 streak. Spend runes on levels with /bonfire level.

Commands

  • /bonfire help — the in-game guide.
  • /bonfire — rest a moment: runes held, deaths, enemies felled, bonfires lit, where your bloodstain is, and a verdict.
  • /bonfire level — spend runes to rise a level (cost grows each time). Level gives you a title: Hollow, Wanderer, Tarnished, Knight, Champion, Elden Lord.
  • /bonfire trophies — your achievements: First Blood, Fall Guy, Git Gud, Great Hunter, Untouchable, Fog Diver, Ascended.
  • /bonfire rest — rest for real: compacts the conversation. The enemies respawn.
  • /soapstone — read a message from another player.
  • /soapstone <text> — scrawl your own. A future you will find it at the start of a later session.

Install

At the prompt of a Claude Code terminal session:

/plugin install git-gud --marketplace enriquesanchez-elastic/git-gud

Answer y to add the marketplace, then pick a scope.

From a shell:

claude plugin install git-gud --marketplace enriquesanchez-elastic/git-gud

In the desktop app: click + next to the prompt box → Plugins → Add marketplace with enriquesanchez-elastic/git-gud → Add plugin.

Mods are early access in Claude Code: hooks modules load only where function hooks are enabled, and the API may change between releases.

Options

Set them in /config (each is a row there) or under pluginConfigs["git-gud"].options in ~/.claude/settings.json.

OptionDefault
hardcorefalseEvery failed command kills you, even probes like grep, test and git diff.
speakfalseSay "You died" with the system voice (macOS say). Deeply unnecessary. Recommended.
messagestrueA soapstone message when each session starts.

Developing

claude --plugin-dir .        # run it from source, hot-reloads on save
claude plugin validate .     # what the engine will refuse, before it does
claude plugin test .         # the tests in tests/

.claude-plugin/types/ holds the generated claude-code type declarations. It is gitignored; regenerate it with your Claude Code install before running tsc -p ..

All the words live in hooks/lore.ts: spinner verbs, turn verbs, soapstone templates and words, and the regexes that decide what counts as tests, a commit, a probe or a fog wall. PRs adding better messages are very welcome. Keep them short, keep them about code.

Fine print

A fan-made parody, not affiliated with or endorsed by FromSoftware or Bandai Namco. No game assets, sounds or logos are included; the banners are plain text.

MIT licensed.

Details

Sub-category
Games
License
MIT
Surfaces
terminal
Added
1 months ago
Last synced
3 days ago
Events hooked
session.starttool.callui.renderprompt.submitcommand.run

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
Terminal Browser
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...