WorkBuddy Pet Factory
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_c0cbf071/workbuddy-pet.
About this skill
Problem
Desktop pets are often built as one hardcoded character: the animation, path, and launch logic are all wired to a single sprite. workbuddy-pet treats a pet as an installable asset. From a character image, a codex.pet link, a spritesheet, or an already downloaded codex pet, it creates a manageable instance under ~/.workbuddy/pets/<id>/, with pet.json describing layout, states, and runtime behavior.
How It Works
- Install sources: supports image, URL, codex, and spritesheet paths; image input needs a normalized spritesheet before runtime metadata is finalized.
- Spritesheet contract: default sheet is
1536×1872, arranged as9 rows × 8 columnswith192×208frames; non-standard sheets can override rows/frame layout inpet.json. - Status linkage: every
pollIntervalMs(default2000ms), it reads~/.workbuddy/workbuddy.dband maps statuses such asworking,Pending,Completed, andFailedto shortrunning,waiting,jumping, orreviewanimations, then returns toidle. - Process policy: on macOS it uses a frameless, always-on-top window at
NSStatusWindowLevel, with accessory behavior and no focus stealing; only one active pet is kept at a time, so starting or switching stops other pets. - Interaction: besides command-line control, a right-click menu can list installed pets, test animations, hide for 30 seconds, or exit.
Boundaries
This is a pet runtime and factory, not a general GUI automation framework. Spritesheets must follow the expected layout or provide a layout override; image sources depend on a sprite-normalization step; if the target environment lacks the macOS focus APIs or pyobjc, top-most and no-focus behavior may be unavailable.
Use Cases
- Turn a character image into a launchable WorkBuddy pet and test its actions
- Import a specified pet from a codex-pets.net curl link and start it locally
- Keep a macOS pet on top without stealing focus, with status-driven animations
- Switch installed pets through the right-click menu without typing commands
Best For
- Client engineers maintaining WorkBuddy desktop integration who want unified pet start/stop and state animations
- Product engineers building internal tools or Agent links who want to prototype a pet from a character image
- macOS front-end or desktop experience engineers who need to validate on-top, no-focus, and accessory behavior
- codex-pets.net ecosystem contributors who want to import, switch, and debug different pet runtimes
Related Skills
Guides Java Spring Boot backend development across REST APIs, data access, security, microservices, testing, deployment, and troubleshooting.
A systematic code error fixing skill that follows a five-step workflow: Reproduce, Isolate, Understand, Fix, Verify, to help developers resolve code errors.
Restores Lanhu designs to target framework code using schema JSON, design tokens, and image assets.
Automatically detects engineering or competition code, analyzes bugs, vulnerabilities, algorithm complexity, and edge cases, then produces risk-level findings with before/after fixes.