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.
giovaborgogno/cc-dino

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

Needs function hooks (early access) and an interactive terminal.
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.
| 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.
Press h on the board (or run /dino handle @you) and type your X/Twitter handle.
bun test
MIT