ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 giovaborgogno

cc-dino

ブラウザのオフライン T-rex ゲームをプロンプト上に置き、Claude のターン間で一時停止し、リーダーボードと自動プレイを提供する Claude Code プラグインです。

翻訳済み

この mod について

cc-dino は、Claude が作業している間、昔ながらのブラウザのオフライン T-rex ゲームをプロンプト上に描画する Claude Code プラグインです。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
原文 / 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

同名の他の作品

関連作品