ClaudeMods
☰
EN
● 0 online · Views 0 times
SponsorsSubmit a project
GitHub repositories · by giovaborgogno

cc-dino

A Claude Code plugin that puts the browser offline T-rex game above the prompt, pausing between Claude turns, with a leaderboard and auto-play modes.

Translated

About this mod

cc-dino is a Claude Code plugin that renders the classic browser offline T-rex game above the prompt while Claude works. The run pauses when Claude finishes a turn. It requires function hooks (early access) and an interactive terminal. Install by enabling CLAUDE_CODE_ENABLE_FUNCTION_HOOKS, adding the marketplace giovaborgogno/cc-dino, installing cc-dino@cc-dino, and running /dino. Commands include /dino (toggle board), /dino auto (open when Claude starts working), /dino top (leaderboard), /dino handle @you (join leaderboard), and /dino demo (self-playing run). Controls: space/up jump, down duck, p pause, r restart, t leaderboard, h edit handle, Esc return to prompt. MIT licensed.

Installation

Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.

claude plugin marketplace add giovaborgogno/cc-dino
claude plugin install cc-dino
Original text / README

cc-dino

The T-rex from the browser's offline page, above the Claude Code prompt: jump cacti and duck birds while Claude works. The run pauses when Claude finishes a turn.

cc-dino: the T-rex jumping cacti and a bird above the Claude Code prompt, then game over beside the leaderboard

Watch it as a video

Needs function hooks (early access) and an interactive terminal.

Install

Turn on function hooks in ~/.claude/settings.json:

{
  "env": { "CLAUDE_CODE_ENABLE_FUNCTION_HOOKS": "1" }
}

Then, in Claude Code:

/plugin marketplace add giovaborgogno/cc-dino
/plugin install cc-dino@cc-dino

Restart Claude Code and run /dino.

Play

| Command | What it does | | --- | --- | | /dino | open or close the board | | /dino auto | open the board whenever Claude starts working | | /dino top | show the leaderboard | | /dino handle @you | join the leaderboard under your X handle | | /dino demo | watch a run that plays itself |

On the board: click it first, then space or ↑ jumps, ↓ ducks, p pauses, r restarts, t shows the leaderboard, h edits your handle. Esc returns to the prompt.

Leaderboard

Press h on the board (or run /dino handle @you) and type your X/Twitter handle.

Develop

bun test

License

MIT

Other works with the same name

Similar projects