giovaborgogno/cc-dino

一个将浏览器离线 T-rex 游戏放在提示上方、在 Claude 回合之间暂停,并提供排行榜和自动游玩模式的 Claude Code 插件。
giovaborgogno/cc-dino

cc-dino 是一个 Claude Code 插件,在 Claude 工作时将经典浏览器离线 T-rex 游戏渲染到提示上方。Claude 完成一回合后,游戏会暂停。它需要 function hooks(early access)和交互式终端。安装步骤是启用 CLAUDE_CODE_ENABLE_FUNCTION_HOOKS,添加市场 giovaborgogno/cc-dino,安装 cc-dino@cc-dino,然后运行 /dino。命令包括 /dino(切换棋盘)、/dino auto(Claude 开始工作时打开)、/dino top(排行榜)、/dino handle @you(加入排行榜)和 /dino demo(自动游玩)。控制方式:space/up 跳跃,down 下蹲,p 暂停,r 重启,t 排行榜,h 编辑 handle,Esc 返回提示。MIT 授权。
请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。
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