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

tama

プロンプトの上にいる昔ながらのたまごっち。リアルタイムで空腹や退屈、汚れが進み、完了したターンが食事になり、祝うべき出来事で元気になり、失敗したツールが汚れを残します。

mutlumehmet@mutlumehmet

mutlumehmet/claude-plugins/tree/main/plugins/tama

元の投稿の画像1
翻訳済み

この mod について

tama

Claude Code の mod です。プロンプトの上の行、その右端にある小さな LCD に昔ながらのたまごっちが住みます。Claude Code を閉じている間もリアルタイムで動き、あなたの作業が餌になります。claude-plugins の Claude Code Arcade の一部です。

できること

  • 孵化します。3 回の完了したターンのあとに卵から孵り、実際の日数をかけて赤ちゃん、子ども、ティーン、大人へ成長します。どんな大人になるかは育て方次第で、働き者、いたずらっ子、またはよく食べた子になります。
  • 空腹は 20 分ごとに、喜びは 1 時間ごとに減ります。Claude Code を閉じていてもリアルタイムで進みます。完了したターンはすべて食事です。
  • 中くらいの出来事で少し元気になり、大きな出来事では大いに元気になります(ハートが浮かびます)。
  • 失敗したツールは汚れを残します。汚れのないターンを 5 回続けると 1 つ片付きます。汚れが 3 つたまるか、空腹になると病気になります。
  • 十二時間空腹のままだと荷物をまとめて去り、卵を 1 つ残します。死ぬことはありません。
  • 夜(現地時間 23:00 から 07:00)は眠ります。
  • LCD の下:♨ ▮▮▮▯ ♥ ▮▮▯▯ ✧ ▮▮▮▮(食事、喜び、きれいさ)。
  • **/tama**で状態を確認できます。/tama feed、play、clean は 1 日に数回できる手入れです。/tama hide でしまい、/tama show で戻します。

出来事

各 Arcade ゲームは祝うべき出来事をそれぞれ独自に見つけるため、他への依存なしで単独インストールできます。コーディング中かどうかに関係なく、セッションには出来事があります。

| 大きさ | 出来事 | |---|---| | 小 | ターンの完了、ファイルの保存、1 ターン中の 10 回目ごとのツール呼び出し | | 中 | コミット、プッシュ、pull request の作成、テスト成功、任意の skill の実行、サブエージェントの完了、計画の承認、送信・作成・投稿・公開を行う MCP ツール、長い文書の作成、メッセージ内の称賛 | | 大 | マージ、リリース(gh release create、npm publish)、本番デプロイ(vercel --prod、netlify deploy --prod、fly deploy など)、失敗後にテストが再びグリーンになること、成果物(PDF、DOCX、XLSX、PPTX、画像)の作成、ページの公開、3 件以上のタスク一覧の完了、マラソンターン(10 分、30 ツール、エラーなし)、1 ターンで 3 つのサブエージェントを完了、3、7、30、100 日の連続記録、100 回目・1,000 回目・10,000 回目のツール呼び出し |

"nothing to commit" と書かれたコミットや、"Everything up-to-date" と表示されたプッシュは何も数えません。サブエージェント内のツール呼び出しは数えず、完了したことだけを数えます。

設定

すべて任意で、デフォルトでは空です。/plugin(プラグイン設定)または settings.json の pluginConfigs で設定します。

| 設定 | 用途 | 例 | |---|---|---| | big_skills | 実行が大きな出来事になる skill(それ以外は中くらい) | release-notes, publish-report | | quiet_skills | 何も祝わない skill | commit | | big_commands | 成功すると大きな出来事になるシェルコマンドの正規表現 | make ship | | medium_commands | 成功すると中くらいの出来事になるシェルコマンドの正規表現 | terraform apply | | praise_words | 組み込みの称賛語(thanks、great、perfect と他言語のいくつか)に加えて称賛として数える語 | nice one, cheers |

読み取るものと行うこと

  • 読み取るもの:Claude が実行する各ツールの名前と失敗したかどうか、シェルコマンドのコマンドラインと出力が変化なしと示しているか、Claude が書き込むファイルの名前と行数、skill 名、メッセージの単語(称賛の検出だけに使用)、サブエージェントの開始と完了。
  • 保持するもの:自身のスコアと状態を、あなたのマシン上にある Claude Code のプラグインストアに保存します。
  • 描画するもの:プロンプトの上の行の右端に 1 ブロックと、ときどき通知を表示します。
  • Hook:skill.prompt は実行された skill だけを記録するので、完了した skill を出来事として数えられます。skill の prompt は変更せずに渡します。command.run は自分の /tama コマンドだけに応答します。
  • プライバシー:PRIVACY.md を参照してください。
  • 決してしないこと:ツール呼び出しやメッセージを変更・ブロック・遅延すること、どこかへ送信すること(ネットワーク呼び出しやテレメトリーを含む)、Claude が書くファイルの内容を行数の集計以上に読むこと。

インストール

Claude Code 2.1.287 以降(mods)が必要です。2.1.289 でテストしています。

/plugin marketplace add mutlumehmet/claude-plugins
/plugin install tama@mehmetmutlu

mod は Claude Code 内であなたの権限を使って動きます。mod をインストールする前にコードを読んでください。

エディターの統合ターミナルを含むターミナルと、デスクトップアプリの Code タブに描画します。VS Code のチャットパネルと claude -p では動作しますが描画しません。複数の Arcade ゲームを同時に開けますが、プロンプト上の行は埋まっていきます。/<command> hide で 1 つしまい、/<command> show で戻せます。

既知の不足

  • 夜間はコンピューターの時計から読み取ります。別の睡眠時間を設定する機能はまだありません。
  • 手入れは feed、play、clean を合わせて 1 日 6 回までです。

概要

Mehmet Mutlu: work that's shipped, at mehmetmutlu.dev

Mehmet Mutlu 制作。claude-plugins の一部です。作品の詳細は mehmetmutlu.dev を参照してください。

ライセンス

MIT

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add mutlumehmet/claude-plugins
claude plugin install tama
原文 / README

tama

A Claude Code mod: a classic Tamagotchi in a small LCD at the right end of the line above the prompt. It lives in real time, even while Claude Code is closed, and your work is what feeds it. Part of the Claude Code Arcade in claude-plugins.

What it does

  • It hatches from an egg after three finished turns, then grows from baby to child to teen to adult over real days. The adult it becomes depends on how it was raised: hard working, a rascal, or well fed.
  • Hunger drops every 20 minutes and joy every hour, in real time, also while Claude Code is closed. Every finished turn is a meal.
  • Medium moments cheer it up a little, big moments a lot (hearts float up).
  • A failed tool leaves a mess; five clean turns in a row tidy one away. Three messes, or an empty stomach, and it falls ill.
  • Left hungry for twelve hours it packs its bags and leaves an egg behind. It never dies.
  • At night (23:00 to 07:00 local time) it sleeps.
  • Under the LCD: ♨ ▮▮▮▯ ♥ ▮▮▯▯ ✧ ▮▮▮▮ (food, joy, clean).
  • /tama says how it is doing; /tama feed, play and clean are hand care, a few times a day; /tama hide puts it away and /tama show brings it back.

Moments

Every Arcade game spots the moments worth celebrating on its own, so each one installs alone with no dependency. Coding or not, a session has them.

| Size | Moments | |---|---| | Small | A finished turn, a file saved, every 10th tool call in a turn | | Medium | A commit, a push, a pull request opened, tests passing, any skill run, a subagent finished, a plan approved, an MCP tool that sends, creates, posts or publishes, a long document written, praise in your message | | Big | A merge, a release (gh release create, npm publish), a production deploy (vercel --prod, netlify deploy --prod, fly deploy and others), tests back to green after failing, a deliverable made (PDF, DOCX, XLSX, PPTX, images), a published page, a finished task list of three or more, a marathon turn (10 minutes, 30 tools, no errors), three subagents done in one turn, a 3, 7, 30 or 100 day streak, the 100th, 1,000th or 10,000th tool call |

A commit that says "nothing to commit" or a push that says "Everything up-to-date" counts for nothing. Tool calls inside subagents do not count; their finishing does.

Settings

All optional; every one is empty by default. Set them in /plugin (the plugin's settings) or in settings.json under pluginConfigs.

| Setting | What it is for | Example | |---|---|---| | big_skills | Skills whose run is a big moment (every other skill is medium) | release-notes, publish-report | | quiet_skills | Skills that celebrate nothing | commit | | big_commands | A regular expression of shell commands whose success is big | make ship | | medium_commands | A regular expression of shell commands whose success is medium | terraform apply | | praise_words | Extra words that count as praise, on top of the built-in list (thanks, great, perfect and a few in other languages) | nice one, cheers |

What it reads and does

  • Reads: the name of each tool Claude runs and whether it failed; for shell commands, the command line and whether its output says nothing changed; for file writes, the file name and its line count; skill names; the words of your message (only to spot praise); subagent start and finish.
  • Keeps: its own score and state in Claude Code's plugin store on your machine.
  • Draws: one block at the right end of the line above the prompt, and an occasional notice.
  • Hooks: skill.prompt only notes which skill ran, so a finished skill can count as a moment; it passes the skill's prompt on unchanged. command.run answers its own /tama command and no other.
  • Privacy: see PRIVACY.md.
  • Never: changes, blocks or delays a tool call or a message; sends anything anywhere (no network calls, no telemetry); reads file contents beyond counting lines of a file Claude writes.

Install

Needs Claude Code 2.1.287 or later (mods). Tested on 2.1.289.

/plugin marketplace add mutlumehmet/claude-plugins
/plugin install tama@mehmetmutlu

A mod runs inside Claude Code with your permissions. Read the code before you install any mod.

It draws in a terminal (including an editor's integrated terminal) and in the Code tab of the Desktop app; in the VS Code chat panel and claude -p it runs but draws nothing. Several Arcade games can be open at once, but the line above the prompt fills up: /<command> hide puts one away, /<command> show brings it back.

Known gaps

  • Night is read from the computer's clock; there is no setting for other sleeping hours yet.
  • Hand care is limited to six actions a day across feed, play and clean.

About

Mehmet Mutlu: work that's shipped, at mehmetmutlu.dev

Made by Mehmet Mutlu, part of claude-plugins. More of his work at mehmetmutlu.dev.

License

MIT

関連作品