ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 PhucUSk20

pixel-pet

프롬프트 위의 픽셀 펫이 각 도구 호출을 연기하고, 아래에는 HP/MP/ST HUD가 표시됩니다

PhucUSk20@PhucUSk20

PhucUSk20/pixel-familiars/tree/main/plugins/pixel-pet

번역 완료

이 mod 소개

<p align="center"> <img src="docs/images/slime.gif" width="160" alt="숨 쉬고 눈을 깜빡이며 뛰고 환호하는 픽셀 슬라임"> </p> <h1 align="center">Pixel Familiars</h1> <p align="center"><strong>Codex</strong>와 <strong>Claude Code</strong>를 위한 움직이는 픽셀 동료입니다.<br>살아 있는 픽셀 세계를 통해 AI의 활동, 컨텍스트와 할당량을 확인하세요.</p> <p align="center"> <a href="#codex"><img alt="Codex companion" src="https://img.shields.io/badge/Codex-VS_Code-5aa9ff"></a> <a href="#claude-code"><img alt="Claude Code companion" src="https://img.shields.io/badge/Claude_Code-terminal-ffe25a"></a> <a href="LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-5aa9ff"></a> </p>

**PhucUSk20**가 소유하고 유지 관리합니다. Namenomeaning/pixel-pet을 바탕으로 하며, 원저작자 표기와 MIT 고지를 보존합니다.

동료 선택

두 통합 모두 공유 픽셀 엔진과 테마 형식을 사용합니다. 각각 자체 런타임에 연결되므로 이벤트 스트림과 표시 화면의 차이에 따라 기능이 달라집니다.

| | Codex | Claude Code | | --- | --- | --- | | 표시 | 반응형 VS Code 패널 | 프롬프트 위의 펫, 아래의 HUD | | 활동 | 네이티브 hooks, 사용할 수 없으면 세션 로그로 대체 | Claude Code mod 이벤트 | | 공유 펫 동작 | 읽기, 검색, 쓰기, 터미널, 웹, 생각과 축하 | 읽기, 검색, 쓰기, 터미널, 웹, 생각과 축하 | | HUD | 남은 컨텍스트와 보고된 할당량/재설정 시각 | 남은 컨텍스트와 보고된 할당량/재설정 시각 | | 사용자 지정 | MCP 테마 도구, 미리 보기와 가져오기 | 플러그인 skill, 미리 보기와 테마 도구 | | 작업 동료 | Portal workers, subagent minis와 자동 프로젝트 Mini | 메인 펫을 따르는 subagent minis | | 유휴 놀이 | 독립 배회와 20가지 펫 상호작용 | 숨 쉬기, 주변 살피기와 잠 | | Legendary Pet | 다섯 가지 Mega Rayquaza 동작이 있는 독립 패널 | Codex VS Code companion을 통해 사용 가능 | | 자세한 안내 | Codex guide | Claude Code guide |

관찰과 애니메이션은 로컬에서 실행되며 AI 호출이나 토큰을 전혀 추가하지 않습니다. AI에게 테마를 다시 디자인하게 할 때는 일반 채팅/도구 워크플로를 사용합니다.

시작하기

이 저장소를 복제해 Codex companion을 설치하거나 Claude 플러그인을 소스에서 직접 불러옵니다.

git clone https://github.com/PhucUSk20/pixel-familiars.git
cd pixel-familiars

Codex

요구 사항: Node 22.18+, code 명령을 사용할 수 있는 VS Code, Codex 확장 설치.

복제한 폴더에서 설치 명령을 하나 실행합니다.

npm.cmd run install:codex

macOS/Linux에서는 npm run install:codex를 사용합니다. 설치 프로그램은 의존성을 내려받고 확장을 빌드/패키징하여 설치하며, 로컬 observer hooks와 MCP 테마 도구를 구성합니다. hook을 검토할 수 있도록 번들 Codex CLI를 엽니다.

  1. 메시지가 표시되면 폴더 신뢰를 승인합니다. /hooks를 입력하고 12개의 Pixel Pet observer 항목을 검토해 신뢰합니다.
  2. 검토 CLI를 종료합니다. Developer: Reload Window를 실행한 다음 VS Code에서 Pixel Pet: Open Companion을 실행합니다.
  3. 새 Codex 대화를 시작하고 도구를 실행합니다. 실제 이벤트를 받으면 패널에 Direct hooks가 표시됩니다.

Direct hooks는 가장 완전한 도구/subagent 타이밍과 압축 애니메이션을 제공합니다. 네이티브 이벤트를 사용할 수 없을 때는 Log fallback도 남아 있지만 모든 중첩 시작 시각을 복구할 수는 없습니다. 검토는 Codex가 요구하는 절차이며 자동으로 승인되지 않습니다. 승인한 뒤 검토 CLI를 닫을 수 있습니다.

<p align="center"><img src="docs/images/codex-pet-summoning.gif" width="816" alt="Codex 데모: 하늘 포털이 독립적인 Read, Edit 및 Run worker를 소환하고 결과를 전달합니다"></p>

도구는 색이 있는 하늘 포털을 통해 worker minis를 소환합니다. 병렬 작업에서는 완료가 기록될 때까지 각 worker가 분리되어 있습니다. 성공하면 메인 펫으로 소포가 돌아오고, 실패하면 클릭할 수 있는 오류 표지가 나타납니다. 지속되는 Mini는 관찰된 검사와 편집기 오류를 자동으로 지켜봅니다.

펫은 독립적으로 탐험하며 가끔 20가지 서로 다른 유휴 상호작용도 합니다. Feed는 피크닉을 제안하고, Play는 공놀이를 시작하며, Rest는 자율 놀이를 멈춥니다. 실제 작업이 놀이를 중단합니다. 초원은 패널 너비를 채우고, 좁은 패널에서는 컴팩트 HUD가 모서리로 이동합니다. 작업 공간 건물은 일시적으로 비활성화되어 있습니다.

<p align="center"><img src="docs/images/codex-pet-actions.gif" width="816" alt="Codex 데모: 20가지 서로 다른 로컬 펫 상호작용 갤러리"></p>

Codex GIF는 프로덕션 렌더러에서 시뮬레이션한 활동을 사용합니다. 설치 프로그램을 다시 실행하고 변경된 hook 정의를 검토해 업데이트합니다. 세션 선택, 할당량 표시, 설정, 개인정보 보호와 패널 배치는 Codex guide를 읽어 보세요. 이 펫은 Codex 채팅에 삽입된 요소가 아니라 별도의 보기입니다.

Claude Code

요구 사항: Claude Code 2.1.287+ (claude --version). 이 저장소의 marketplace에서 플러그인을 설치합니다.

claude plugin marketplace add PhucUSk20/pixel-familiars
claude plugin install pixel-pet@pixel-pet

새 세션을 시작하거나 /reload-plugins를 실행합니다. 펫은 터미널 프롬프트 위에 나타나고 그 아래에 컨텍스트/할당량 HUD가 표시됩니다.

marketplace와 플러그인은 기존 pixel-pet 식별자를 유지합니다. 원래 marketplace를 이미 사용하고 있다면 기존 설치를 바꾸지 않고 이 checkout을 한 세션 동안 시험할 수 있습니다.

claude --plugin-dir ./plugins/pixel-pet
<p align="center"><img src="docs/images/demo.gif" width="806" alt="Claude Code 데모: 읽기, 검색, subagent minis, 웹 가져오기, 편집, 실패한 테스트와 축하"></p>

펫은 읽기, 검색, 쓰기, 터미널 명령과 웹 활동을 연기합니다. 서브에이전트에는 끝날 때까지 남아 있는 minis가 생깁니다. 도구가 실패하면 펫의 표정이 바뀌고, 턴이 끝나면 환호합니다. 유휴 상태에서는 숨 쉬고 눈을 깜빡이며 잠듭니다.

/plugin configure pixel-pet@pixel-pet로 속도, 수면, HUD, 상태 텍스트와 subagent minis를 설정합니다. Claude에게 펫을 사용자 지정하게 하거나 /pixel-pet:pixel-pet을 실행하세요. 테마를 적용하기 전에 브라우저 미리 보기를 확인하세요. 설정, 업데이트, 지원 디스플레이, 개인정보 보호와 개발 점검은 Claude Code guide를 참조하세요.

컨텍스트와 할당량 HUD

  • HP: 남은 컨텍스트 창.
  • MP: 보고된 남은 5시간 할당량과 재설정 카운트다운.
  • ST: 보고된 남은 7일 할당량과 재설정 카운트다운.

할당량 이용 가능 여부는 런타임과 계정에 따라 다릅니다. 누락된 값은 알 수 없음으로 남습니다. 막대는 관찰된 사용량을 반영할 뿐 추가 권한이나 보장된 작업 용량을 뜻하지 않습니다. 값이 낮으면 색과 펫의 표정이 바뀝니다.

내 것으로 만들기

두 통합 모두 공유 테마 형식을 통해 사용자 지정 픽셀 펫, 소품, 효과, 상태 텍스트, HUD 색상과 장면을 지원합니다.

보라색 슬라임, 고무 오리, 달 장면, 웹 검색용 레이더 또는 FUEL이라는 이름의 HUD를 사용해 보세요. Codex는 get_theme, get_theme_format, preview_theme, set_theme을 사용하고, Claude Code는 플러그인 skill과 테마 도구를 사용합니다. 적용하기 전에 결과를 미리 봅니다.

<p align="center"><img src="docs/images/pets.gif" width="440" alt="픽셀 슬라임과 사용자 지정 고무 오리"></p>

Legendary Pet

VS Code에서 Pixel Pet: Open Legendary Pet을 실행하면 독립 패널이 열립니다. Mega Rayquaza에는 flight, curled sleep, roar, Dragon Pulse 및 dash/braking의 다섯 가지 동작이 있으며 부드러운 전환, Auto와 Pause를 지원합니다. Hình gốc은 비교를 위해 변경되지 않은 원본 프레임을 재생합니다.

<p align="center"><img src="docs/images/legendary-source-actions.gif" width="700" alt="부드러운 전환과 잠든 머리가 보이는 Mega Rayquaza의 다섯 가지 동작"></p>

애니메이션은 로컬에서 실행되고 AI 세션을 공유하지 않으며 모델 요청도 만들지 않습니다.

개발

  • 공유 엔진과 Claude adapter: plugins/pixel-pet/.
  • Codex adapter와 VS Code 패널: extensions/codex/.
  • 빌드, 패키징과 녹화: tools/codex/.
  • 독립 저장소 워크플로와 업스트림 기여: development guide.

Codex companion에서는 npm.cmd ci, npm.cmd run typecheck, npm.cmd test와 npm.cmd run package를 실행합니다. 호스트, 렌더러 또는 브리지를 변경한 뒤에는 npm.cmd run test:ui도 실행합니다. macOS/Linux에서는 npm을 사용합니다.

Claude 플러그인을 변경할 때는 CLAUDE.md를 따르고 다음을 실행합니다.

claude plugin validate . --strict
claude plugin validate plugins/pixel-pet --strict
claude plugin test plugins/pixel-pet

Claude Code guide에는 생성 타입 설정과 미리 보기 점검이 포함되어 있습니다. npm.cmd run record:codex-pets 또는 npm.cmd run record:legendary로 Codex GIF를 다시 만들 수 있습니다(Chrome/Edge와 ffmpeg 필요).

개인정보 보호와 보안

Codex companion은 로컬 hooks, 작업 공간 범위 세션 로그와 프로젝트 진단을 관찰합니다. 정제된 활동 메타데이터는 보존하지만 프롬프트, 추론 또는 전체 도구 출력은 보존하지 않습니다. OpenAI가 설치한 확장을 변경하거나 도구를 승인하지도 않습니다.

Claude 플러그인은 Claude Code 내부에서 실행되며 테마/세션 사용량/subagent 상태를 읽고 펫을 그립니다. 이 mod는 네트워크 요청을 하지 않고, 프로세스를 시작하지 않으며, 환경 변수도 읽지 않습니다. 선택 사항인 상태 대상에는 짧은 파일/명령 힌트가 표시됩니다. 화면을 공유할 때는 꺼 두세요.

자세한 내용은 각 통합 가이드를 참조하세요. 취약점은 비공개 보안 권고를 통해 신고하세요.

라이선스와 감사

MIT. Pixel Familiars는 **PhucUSk20**가 유지 관리합니다. 원본 Pixel Pet은 Namenomeaning/pixel-pet의 halluqinate가 만들었습니다. 원래 저작권 고지와 커밋 작성자 정보는 보존됩니다.

설치

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

claude plugin marketplace add PhucUSk20/pixel-familiars
claude plugin install pixel-pet
원문 / README
<p align="center"> <img src="docs/images/slime.gif" width="160" alt="A pixel slime breathing, blinking, jumping and cheering"> </p> <h1 align="center">Pixel Familiars</h1> <p align="center">Animated pixel companions for <strong>Codex</strong> and <strong>Claude Code</strong>.<br>See your AI's activity, context and quota through a living pixel world.</p> <p align="center"> <a href="#codex"><img alt="Codex companion" src="https://img.shields.io/badge/Codex-VS_Code-5aa9ff"></a> <a href="#claude-code"><img alt="Claude Code companion" src="https://img.shields.io/badge/Claude_Code-terminal-ffe25a"></a> <a href="LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-5aa9ff"></a> </p>

Owned and maintained by PhucUSk20. Based on Namenomeaning/pixel-pet, with original authorship and MIT notices preserved.

Choose your companion

Both integrations use the shared pixel engine and theme format. Each connects to its own runtime; features differ where their event streams and display surfaces differ.

| | Codex | Claude Code | | --- | --- | --- | | Display | Responsive VS Code panel | Pet above the terminal prompt, HUD below | | Activity | Native hooks, with a session-log fallback | Claude Code mod events | | Shared pet motions | Read, search, write, terminal, web, think and celebrate | Read, search, write, terminal, web, think and celebrate | | HUD | Context remaining and reported quota/reset times | Context remaining and reported quota/reset times | | Customization | MCP theme tools, preview and import | Plugin skill, preview and theme tools | | Task companions | Portal workers, subagent minis and automatic project Mini | Subagent minis following the main pet | | Idle play | Independent roaming and 20 pet interactions | Breathing, looking around and sleep | | Legendary Pet | Independent panel with five Mega Rayquaza actions | Available through the Codex VS Code companion | | Detailed guide | Codex guide | Claude Code guide |

Observation and animation run locally and add no AI calls or tokens. Asking an AI to redesign a theme uses its normal chat/tool workflow.

Get started

Clone this repository to install the Codex companion or load the Claude plugin directly from source:

git clone https://github.com/PhucUSk20/pixel-familiars.git
cd pixel-familiars

Codex

Requirements: Node 22.18+, VS Code with the code command available, and the Codex extension installed.

Run one installation command from the cloned folder:

npm.cmd run install:codex

On macOS/Linux, use npm run install:codex. The installer downloads dependencies, builds/packages the extension, installs it and configures the local observer hooks and MCP theme tools. It opens the bundled Codex CLI for hook review:

  1. Approve folder trust if prompted. Enter /hooks, review and trust the 12 Pixel Pet observer entries.
  2. Exit the review CLI. Run Developer: Reload Window, then Pixel Pet: Open Companion in VS Code.
  3. Start a new Codex conversation and run a tool. The panel should show Direct hooks after receiving a real event.

Direct hooks provides the fullest tool/subagent timing and compaction animations. Log fallback remains available when native events are unavailable; it cannot recover every nested start time. Review is required by Codex and is not granted automatically. The review CLI can close after approval.

<p align="center"><img src="docs/images/codex-pet-summoning.gif" width="816" alt="Codex demo: sky portals summon independent Read, Edit and Run workers, with result deliveries"></p>

Tools summon worker minis through colored sky portals. Parallel work keeps separate workers until recorded completion. Success brings a parcel back to the main pet; failure brings a clickable error sign. The persistent Mini watches observed checks and editor errors automatically.

The pets also explore independently and occasionally meet for 20 different idle interactions. Feed invites a picnic, Play starts catch, and Rest pauses autonomous play. Real work interrupts play. The meadow fills the panel width, and short panels move the compact HUD into a corner. Workplace buildings are temporarily disabled.

<p align="center"><img src="docs/images/codex-pet-actions.gif" width="816" alt="Codex demo gallery of 20 different local pet interactions"></p>

The Codex GIFs use simulated activity with the production renderer. Update by rerunning the installer and reviewing changed hook definitions. Read the Codex guide for session selection, quota readings, settings, privacy and panel placement. The pet is a separate view rather than an embedded part of Codex's chat.

Claude Code

Requirement: Claude Code 2.1.287+ (claude --version). Install the plugin from this repository's marketplace:

claude plugin marketplace add PhucUSk20/pixel-familiars
claude plugin install pixel-pet@pixel-pet

Start a new session, or run /reload-plugins. The pet appears above the terminal prompt with its context/quota HUD below.

The marketplace and plugin retain their established pixel-pet identifiers. If you already use the original marketplace, you can try this checkout for one session without changing that installation:

claude --plugin-dir ./plugins/pixel-pet
<p align="center"><img src="docs/images/demo.gif" width="806" alt="Claude Code demo: reading, searching, subagent minis, web fetching, editing, failed tests and celebration"></p>

The pet acts out reading, searching, writing, terminal commands and web activity. Subagents get minis that remain until they finish. Tool failures change the pet's expression; completed turns make it cheer. Idle time brings breathing, blinking and sleep.

Run /plugin configure pixel-pet@pixel-pet for speed, sleep, HUD, status text and subagent minis. Ask Claude to customize a pet or run /pixel-pet:pixel-pet; review its browser preview before applying the theme. See the Claude Code guide for settings, updating, supported displays, privacy and development checks.

Context and quota HUD

  • HP: context window remaining.
  • MP: remaining reported 5-hour quota, with a reset countdown.
  • ST: remaining reported 7-day quota, with a reset countdown.

Quota availability depends on the runtime and account. Missing readings stay unknown. The bars reflect observed usage, not extra permissions or guaranteed task capacity. Low readings change colors and pet expressions.

Make it yours

Both integrations support custom pixel pets, props, effects, status text, HUD colors and scenes through the shared theme format.

Try a purple slime, a rubber duck, a moon scene, a radar for web searches or a HUD named FUEL. Codex uses get_theme, get_theme_format, preview_theme and set_theme; Claude Code uses its plugin skill and theme tools. Preview the result before applying it.

<p align="center"><img src="docs/images/pets.gif" width="440" alt="A pixel slime beside a custom rubber duck"></p>

Legendary Pet

In VS Code, run Pixel Pet: Open Legendary Pet for an independent panel. Mega Rayquaza has five actions: flight, curled sleep, roar, Dragon Pulse and dash/braking, with smooth transitions, Auto and Pause. Hình gốc plays the unchanged source frames for comparison.

<p align="center"><img src="docs/images/legendary-source-actions.gif" width="700" alt="Five Mega Rayquaza actions with smooth transitions and a visible sleeping head"></p>

Its animation runs locally, shares no AI session and makes no model requests.

Develop

  • Shared engine and Claude adapter: plugins/pixel-pet/.
  • Codex adapter and VS Code panels: extensions/codex/.
  • Build, packaging and recordings: tools/codex/.
  • Independent repo workflow and upstream contributions: development guide.

For the Codex companion, run npm.cmd ci, npm.cmd run typecheck, npm.cmd test and npm.cmd run package. Also run npm.cmd run test:ui after host, renderer or bridge changes. On macOS/Linux, use npm.

For Claude plugin changes, follow CLAUDE.md and run:

claude plugin validate . --strict
claude plugin validate plugins/pixel-pet --strict
claude plugin test plugins/pixel-pet

The Claude Code guide includes generated-type setup and preview checks. Recreate Codex GIFs with npm.cmd run record:codex-pets or npm.cmd run record:legendary (Chrome/Edge and ffmpeg required).

Privacy and security

The Codex companion observes local hooks, workspace-scoped session logs and project diagnostics. It retains sanitized activity metadata, not prompts, reasoning or full tool output. It does not modify OpenAI's installed extension or approve tools.

The Claude plugin runs inside Claude Code, reads its theme/session usage/subagent state and draws the pet. The mod makes no network requests, starts no processes and reads no environment variables. Its optional status targets show short file/command hints; turn those off when sharing your screen.

See each integration's guide for details. Report vulnerabilities through a private security advisory.

License and attribution

MIT. Pixel Familiars is maintained by PhucUSk20. Original Pixel Pet by halluqinate, from Namenomeaning/pixel-pet. Original copyright notices and commit authorship are preserved.

동명의 다른 작품

비슷한 프로젝트