feat(skill): add desktop-pet built-in skill for pixel-art companions#2
Merged
Merged
Conversation
Add a bundled desktop-pet skill that generates chibi pixel-art desktop pet companions for any character (F1 drivers, anime characters, celebrities, animals, etc.). - SKILL.md: guides the agent through character research, color palette design, and spritesheet generation - scripts/gen_spritesheet.py: parameterized generator producing a 1536x1872 RGBA spritesheet (8x9 grid) compatible with the pet animation system (9 states, 10 headgear types, 5 hair styles, extras) - Output goes to ~/.qwen/pets/ for auto-discovery by the custom pet system
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a built-in
desktop-petskill that generates chibi pixel-art desktop pet companions for any character the user names — F1 drivers, anime characters, celebrities, fictional characters, animals, etc.Changes
.agents/skills/desktop-pet/SKILL.md— Skill instructions guiding the agent through character research, color palette design, spritesheet generation, and pet activation in OpenWork.agents/skills/desktop-pet/scripts/gen_spritesheet.py— Parameterized Python script that generates a 1536×1872 RGBA spritesheet (8 cols × 9 rows, 192×208 px cells) compatible with OpenWork's pet animation systemHow it works
gen_spritesheet.pywith the config to produce the atlas as.webppet.jsonmanifest in~/.qwen/pets/<id>/Features
Testing
Tested with multiple character types — all produce valid 1536×1872 RGBA webp spritesheets that load correctly in OpenWork's custom pet system:
Dependencies