Skip to content

feat(skill): add desktop-pet built-in skill for pixel-art companions#2

Merged
DragonnZhang merged 1 commit into
modelstudioai:mainfrom
xxlaura:feat/desktop-pet-skill
Jun 8, 2026
Merged

feat(skill): add desktop-pet built-in skill for pixel-art companions#2
DragonnZhang merged 1 commit into
modelstudioai:mainfrom
xxlaura:feat/desktop-pet-skill

Conversation

@xxlaura

@xxlaura xxlaura commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Add a built-in desktop-pet skill 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 system

How it works

  1. User says "I want Piastri as my desktop pet" (or any character)
  2. Skill researches the character's visual appearance (team colors, outfit, hair, accessories)
  3. Designs a color palette (8–12 colors) and selects appropriate headgear/features
  4. Runs gen_spritesheet.py with the config to produce the atlas as .webp
  5. Creates pet.json manifest in ~/.qwen/pets/<id>/
  6. User clicks Refresh in OpenWork Settings → Appearance → Pet Companion to activate

Features

  • 9 animation states: idle, running-right, running-left, waving, jumping, failed, waiting, running, review
  • 10 headgear types: cap, helmet, hat, hood, crown, horns, ears (animal), halo, headband, none
  • 5 hair styles: short, long, spiky, ponytail, bald
  • Extras: glasses, scarf, tail, wings, chest number, logo, sweat drop
  • 12 customizable colors: outfit (3 shades), skin (2), hair (2), accent, shoe, eye, eye white, blush, mouth

Testing

Tested with multiple character types — all produce valid 1536×1872 RGBA webp spritesheets that load correctly in OpenWork's custom pet system:

Character Headgear Hair Extras
Piastri (F1) cap short number 81, logo
Gojo Satoru (anime) none spiky glasses
Shiba Inu (animal) ears short tail
Crown character crown long logo
Hamilton (F1) helmet short number 44

Dependencies

  • Python 3 with Pillow (widely available; the skill checks and reports if missing)

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
@DragonnZhang DragonnZhang merged commit 1b97e1c into modelstudioai:main Jun 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants