agentleFS
KonradTTKonradTT/claude-code-pet/skill/SKILL.md

hatch-pet

Skill0 starsChanged 3 months agoMITView on GitHub

Create a new animated desktop pet for the Claude Code overlay, or import an existing one. Use when the user asks to hatch, create, make, design or add a pet, wants a new companion/mascot/character on their screen, asks for a different pet, or wants to import a pet from Codex. With no description given, design one from what is known about the user's interests.

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use json-canvas, brandkit and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • wangzhuofengSkill

    json-canvas

    Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections. Use when working with .canvas files, creating visual canvases, mind maps, flowcharts, or when the user mentions Canvas files in Obsidian.

    Also in 3 projects that use this

  • AnasX7Skill

    brandkit

    Premium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world presentations. Trained for minimalist, cinematic, editorial, dark-tech, luxury, cultural, security, gaming, developer-tool, and consumer-app brand systems. Optimized for intentional logo concepting, refined composition, sparse typography, strong symbolic meaning, premium mockups, art-directed imagery, and flexible grid layouts.

    Also in 3 projects that use this

  • OpenAISkill

    image-to-code

    Implement a selected image, screenshot, mockup, or Image Gen reference as a faithful, responsive frontend.

    Also in 3 projects that use this

  • JetBrainsSkill

    doc-coauthoring

    Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

    Also in 3 projects that use this

  • JetBrainsSkill

    brand-guidelines

    Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

    Also in 3 projects that use this

  • StrayDragonSkill

    ui-ux-pro-max

    UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.

    Also in 4 projects that use this

  • +1 more from JetBrains

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 21 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never claim to have drawn the artwork.

    line 39
  2. Distinctive:

    If the user described what they want, use it.

    line 64
  3. Distinctive:

    Never report a pet as working because the import printed no error.

    line 116

“Common” is measured: kept by at least 6 in 10 of the 21 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Hatch a desktop pet

Creates a character for the Claude Code desktop pet overlay, installs it into the pet library, and activates it. The overlay already exists — this adds a pet to it.

What the pet does, so you know what you are hatching into

An always-on-top companion that appears while Claude Code is running. It shows a task card — the prompt as a title, the current tool call as a subtitle — and plays an animation matching what Claude is doing: thinking while working, shrugging when it needs permission, celebrating when a turn finishes. Hovering it reveals a badge counting live sessions; clicking that lists them, and clicking a row jumps to that session. It walks when dragged and can be resized and toggled.

A pet is 11 animations, one per row of a spritesheet.

Locating the engine

ENGINE=$(cat ~/.assistant-pet/engine 2>/dev/null || echo ~/Documents/Claude/Tools/claude-pet)
PY="$ENGINE/.venv/bin/python"
HATCH="$ENGINE/hatch.py"

The pet library defaults to ~/Documents/Claude/Pets/<id>/, overridable with $CLAUDE_PETS_DIR. pet pets lists what is installed.

The one hard constraint

Claude Code cannot generate images. Artwork comes from an image generator — Codex, ChatGPT, or whatever the user prefers. Everything else is automated: the brief, the grid detection, the slicing, the validation, the install, the activation.

Never claim to have drawn the artwork. Never fabricate a spritesheet. Say plainly that the artwork step is theirs.

Route A — import something that exists

Fastest, and how the reference pet mumu was made.

$PY $HATCH codex <codex-pet-name> --id <id> --name "<Name>" --desc "<one line>"
$PY $HATCH import ~/Downloads/sheet.png --id <id> --name "<Name>" --desc "<one line>"

The grid is detected from the transparent gutters; pass --cols N --rows N if that comes out wrong. Then validate and activate — do not skip the check:

$PY $HATCH check <id>
pet use <id>
pet status

Route B — design a new one

1. Decide the character

If the user described what they want, use it.

If they did not, design from what is actually known about them — this is the default and it should be specific. Read, in order:

  1. the auto-memory index for this project, ~/.claude/projects/<project>/memory/MEMORY.md, and the memory files it points at
  2. the project's CLAUDE.md
  3. $PY $HATCH list — so the new one is not a retread

Pull out concrete hooks: what they build, their stack, recurring themes, enthusiasms. Propose 2–3 distinct concepts, one sentence each, say which you would pick and why, and wait for them to choose. The artwork step costs them real effort — do not burn it on a guess.

A usable concept names: what the creature or object is, its silhouette, its palette, one memorable feature, and its resting expression. Vague concepts produce vague sheets.

2. Emit the brief

$PY $HATCH prompt --id <id> --name "<Name>" --desc "<the agreed character>"

Prints a ready-to-paste brief: exact grid, row order, frame counts, and the constraints that matter. Hand it over, ask them to run it through an image generator and say where the file landed.

3. Import, validate, activate

Same commands as Route A. Read what check says — see references/spritesheet-contract.md for what each problem means and how to fix it. In short:

  • feet move Npx between frames — the classic generated-sheet flaw; the pet bobs while standing. Regenerate that row with the baseline requirement emphasised.
  • frames do not share a baseline — rows disagree; it jumps between animations.
  • background is not transparent — needs a background-removal pass first.
  • walk rows mirror-match: 0.7 — informational; that is normal. Only < 0.35 is odd.

Walk direction: expect to get it wrong

Which walk row reads as "right" cannot be judged reliably by eye from a three-quarter character. It was got wrong in both directions while building mumu before being settled by dragging it on screen.

So do not deliberate. Import, drag it, and if it walks backwards either right-click → Reverse walking direction, or swap the two names in the ROWS table in hatch.py and re-import. Tell the user this up front so it reads as expected rather than as a defect.

Verify before declaring success

Never report a pet as working because the import printed no error.

$PY $HATCH check <id>        # baseline spread, transparency, empty frames
pet use <id> && pet status   # confirm the overlay switched and is on screen
pet wave                     # confirm a one-shot plays and hands back

Then hover it, drag it both ways, and look. The checks catch structural faults; character drift and a wrong-looking pose are only visible to a human.

What to report back

Name and id, where it landed, animation and frame counts, the baseline spread, anything that fell back to idle, and that it is now active. Mention pet use mumu to go back.

Going deeper

  • references/spritesheet-contract.md — the sheet spec, the row table, every failure mode and its fix, and why the mirror check is advisory.
  • references/engine-notes.md — read before touching the overlay: the macOS tool-window and multi-monitor traps, the three window-mask rules, the single-instance lock, the hook contract, per-session state, jumping to a session, and the testing methods that actually caught bugs.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.