ClaudeModsClaude Code mod ディレクトリ
☰
● 0 人がオンライン ・閲覧 0 回
+ 作品を投稿
← 作品一覧へ
Reddit の投稿 · ゲーム・エンタメ / 通知・リマインダー / テーマ・外観 / ツール・連携

Claude Pets:ターミナルの中のピクセルペット成長mod — Claude Code プラグイン · ClaudeMods

この作品を報告あなたの作品ですか?所有者確認へ

ClaudeMods でこの Claude Code プラグインのソースと必要な権限を確認できます。 ターミナルに住むピクセルペットのmodで、あなたの働き方に応じて異なる形態に成長し、ミニゲームも一緒に遊べます。

uuppinote@uppinote
元の投稿の画像1
翻訳済み

この mod について

作者はClaude Codeのfunction-hook APIを使って、完全に「不要」なものを作りました:セッションの隣のペインに住むピクセルペットです。小さな庭で跳ねたり瞬きしたりし、ツールの実行中は止まって「…」を表示し、ターンの終わりには飛び上がって「nice work!」と言い、約2分静かだと居眠りし、レート制限ウィンドウが80%を超えると涙を流します。/pet patでハートとゴロゴロ音を得られます。それはあなたと共に成長します:ツール呼び出し、完了したターン、なでなで、出力トークンが経験値を与えます(出力トークンのみカウント。入力とキャッシュは会話の長さに応じて増えるので、作業量ではないからです)。レベルアップに必要な経験値は25×n²で、一晩でLv 5に到達し、その後は減速します。Lv 15でアクセサリー付きのティーンエイジャーになり、Lv 40で進化します。また、あなたの使い方に応じて性格を形成します:ツール多用はノートを持つ労働者(大人になるとピッケルを振る)、長いターンは学者、よく撫でるならスイートハート、よくゲームのおやつを食べさせるとプレイヤーになり、これも進化する形態で、20分の1がレア形態になります。庭はそれに応じて満たされ、あなたの時計に従って朝の陽光から月と星へと変わります。時々完了したターンは贈り物を落とし、32分の1の新しいペットは光るバージョンです。また、長いタスクを待つ間に遊べる2つのミニゲーム、/pet playと/pet questがあります。空腹、減少、死はなく、コーディング環境をより居心地よくするためだけです。8種類の小動物(猫、ひよこ、犬、スライム、うさぎ、ハムスター、ペンギン、カエル)をサポート。プロジェクト全体はセッションイベントに応答するregister.tsxで、ターミナルでは半ブロック文字で描画し、デスクトップとモバイルではSVGカードを使用します。作者は約3日、58コミット、19のPRを費やして完成させました。mods AP

インストール

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

/plugin marketplace add uppinote20/claude-pets
/plugin install pets@claude-pets
原文 / README

When Claude Code (Anthropic's coding CLI) got mods, I wanted to see what its function-hook API could actually do, and ended up building something completely unnecessary with it: a pixel pet that lives in a pane next to your session. https://reddit.com/link/1wwwq8v/video/2iauky8q6bth1/player It wanders around a little yard, bouncing and blinking. While tools run it stops and goes . . . , when a turn finishes it hops with a "nice work!", after about two minutes of quiet it naps, and when a rate-limit window passes 80% it tears up. /pet pat gets you hearts and a purr. It grows with you. Tool calls, finished turns, pats and output tokens give XP (only output tokens, since input and cache grow with conversation length, not with work done). Level n+1 takes 25 × n² XP, so you'll hit Lv 5 in an evening and it slows down from there. At Lv 15 it becomes a teen with an accessory, and at Lv 40 it evolves. Then I got carried away. It picks up a personality from how you use it: mostly tools and it's a worker that holds up a laptop (and swings a pickaxe as an adult), mostly long turns and it's a scholar that stops to read, lots of pats and it's a sweetie, lots of game snacks and it's a gamer. That's also the form it evolves into, and one in twenty gets a rare one instead. The yard slowly fills in to match, a building site or a library corner or a garden, and follows your clock from morning sun to moon and stars. Every so often a finished turn drops a gift, and one new pet in 32 shows up shiny. There are even two tiny games, /pet play and /pet quest , for when you're waiting on a long task. No hunger, no decay, no dying. The whole point is to make the coding environment a bit cozier, not to give you one more thing to feel guilty about. /plugin marketplace add uppinote20/claude-pets /plugin install pets@claude-pets Then /pet to let it out. There are eight critters (cat, chick, dog, slime, bunny, hamster, penguin, frog). For anyone curious: the whole thing is one register.tsx reacting to session events, drawn as half-block characters in the terminal and as an SVG card on desktop and mobile. I built it over about three days of Claude Code sessions (58 commits, 19 PRs), which says more about my self-control than anything. The mods API is early access, so a Claude Code update might break it until I catch up. I've mostly lived with it in the terminal, so if the card looks off on desktop, VS Code or mobile I'd really like to know. A new species is just a 12×12 and an 8×8 sprite written as string arrays, so new critters as PRs would make my day. https://github.com/uppinote20/claude-pets submitted by /u/uppinote [link] [comments]

元のソースを見る ↗

関連作品