✳ClaudeModsClaude Code mod 디렉터리
☰
● 0 명 접속 중 · 조회 0 회
+ 프로젝트 제출
← 프로젝트 목록으로
Reddit 게시물 · 게임 및 엔터테인먼트 / 프롬프트 및 입력 / 테마 및 외관 / 워크플로 및 CI

Claude Code 픽셀 펫 플러그인: 코딩을 함께하는 작은 생명체 키우기

Claude Code 창에 사는 픽셀 펫으로, 도구 호출, 턴 완료, 쓰다듬기에 따라 XP를 얻어 성장하고, 사용 습관에 따라 다양한 성격과 형태로 진화합니다.

uuppinote@uppinote
번역 완료

이 mod 소개

저자는 Claude Code의 function-hook API를 사용해 "전혀 필요 없는" 픽셀 펫 플러그인을 만들었습니다. 세션 옆 창에 살고 있습니다. 작은 마당을 걷고, 뛰고, 눈을 깜빡입니다. 도구가 실행되는 동안 멈춰서 ". . ."을 표시하고, 턴이 완료되면 뛰어올라 "nice work!"를 외치고, 2분 동안 조용하면 졸고, 속도 제한 창이 80%를 초과하면 눈물을 흘리며, /pet pat을 입력하면 쓰다듬어 하트와 그르렁 소리를 얻을 수 있습니다.

성장 메커니즘: 도구 호출, 완료된 턴, 쓰다듬기, 출력 토큰이 XP를 제공합니다(출력 토큰만 사용. 입력과 캐시는 작업량이 아니라 대화 길이에 따라 증가하기 때문). 레벨 n+1에는 25 × n² XP가 필요하며, 하룻밤에 Lv 5에 도달할 수 있고 이후에는 느려집니다. Lv 15에서는 액세서리를 착용한 소년이 되고, Lv 40에서 진화합니다. 펫은 사용 습관에 따라 성격을 얻습니다: 도구가 많으면 노트북을 안은 노동자(성인이 되면 곡괭이를 휘두름), 긴 턴이 많으면 읽기 위해 멈추는 학자, 쓰다듬기가 많으면 스위트하트, 게임 간식이 많으면 게이머——이것들도 진화 형태이며, 추가로 1/20 확률로 희귀 형태가 나옵니다. 마당은 그에 따라 공사장, 도서관 구석, 또는 정원으로 천천히 채워지고, 당신의 시계에 따라 아침 햇살부터 달빛 밤까지 변합니다. 가끔 완료된 턴이 선물을 떨어뜨리고, 1/32 확률로 반짝이는 펫이 나타납니다. 또한 두 가지 미니게임 /pet play와 /pet quest가 있습니다. 배고픔, 쇠퇴, 죽음은 없습니다.

설치: /plugin marketplace add uppinote20/claude-pets 그런 다음 /plugin install pets@claude-pets, 그리고 /pet 입력

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

/plugin marketplace add uppinote20/claude-pets && /plugin install pets@claude-pets
원문 / README

When Claude Code mods dropped, I was poking around to see what the function-hook API could actually do, and ended up making something completely unnecessary: a pixel pet that lives in a pane next to your session. https://reddit.com/link/1wwwemd/video/bgz3c6e55bth1/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 about mods: it's a register.tsx hooking session.start , command.run , tool.call , turn.complete , session.measure and ui.render . In the terminal the sprite is one Raster element of half-block cells, kitty and Ghostty get a single hi-res image, and desktop, VS Code and mobile get an SVG card instead. One fun quirk: the module's clock is UTC, so it asks date +%z for your offset to know when it's night. It went from 0.1.0 to 0.2.0 in 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]

원본 출처 보기 ↗

비슷한 프로젝트