# ThatPet character packs (pack.json)

For ThatPet 0.6.9 on macOS, Windows and Linux. Updated 2026-10-26. Web page: https://thatpet.app/packs. Agent skill: https://thatpet.app/packs/SKILL.md.

A ThatPet character is a folder with a pack.json and one PNG picture per pose. You can redraw her, retime her, choose her crossfades, effects and particles, and add poses and animations of your own. A pack holds only pictures and JSON: it can't run code or add agent hooks.

## Quick answers

- **Particles:** 10 built-in kinds the app draws around her: zzz, thought_dots, exclaim, sparkle, sparkle_small, confetti, hearts, sweat, dust, poof.
- **FX:** 15 whole-body effects that bob, hop, sway, squash or stretch her. They move, tilt or scale the whole picture; they never bend part of her.
- **xfade:** Yes: a crossfade between one frame and the next, in milliseconds. 0 is a hard cut.
- **Actions and hooks:** Your agent’s events become 10 pet states, and each state plays a named animation you can redraw or retime.

## Start from your own pet

1. In ThatPet choose Characters → Add Your Own Pet… and make a pet from any picture. You get a complete pack: all 41 standard poses and all 29 standard animations.
2. In Settings → Pet → Your own pets, click Show in Finder (Explorer on Windows, Files on Linux) to open her folder.
3. Copy the folder somewhere outside packs/ as a backup, then edit pack.json and replace pictures in poses/.
4. Open ThatPet's menu or Settings: changed packs reload. If one doesn't load, Settings → Pet → Your own pets says why.

Packs live in ThatPet's packs folder, one folder each:

| System | Folder |
| --- | --- |
| macOS | `~/Library/Application Support/ThatPet/packs/` |
| Windows | `%LOCALAPPDATA%\ThatPet\packs\` |
| Linux | `~/.local/state/thatpet/packs/` |

On Linux with XDG_STATE_HOME set, the folder is $XDG_STATE_HOME/thatpet/packs/.

## pack.json

| Key | Needed | Meaning |
| --- | --- | --- |
| `format` | required | Always "thatpet-pack/1". |
| `id` | required | Lowercase letters, digits, - and _. Must not be a ThatPet character’s id. |
| `name` | optional | Shown in the Characters menu. Defaults to the id. |
| `version` | optional | Text for your own records. |
| `author` | optional | Text for your own records. |
| `canvas` | required | The side of every pose picture in pixels, 16 to 4096. ThatPet uses 512. |
| `floor` | required | Where her feet stand, as a fraction of the canvas height from the top: above 0.5, at most 1. ThatPet uses 0.965 (494 px on 512). |
| `stand_height` | optional | How much of the canvas her standing pose fills, above 0.1, at most 1. Default 0.76. That height shows as 160 px at Size 1. |
| `scale_hint` | optional | For your records only; her size comes from the pictures. |
| `poses` | required | Pose id → { file, anchor, mirror }. At least one. |
| `animations` | required | Animation name → animation. Must include idle. Names starting with _ are ignored, so you can use them for notes. |

A trimmed example (a real pack lists all 41 standard poses and 29 animations):

```json
{
  "format": "thatpet-pack/1",
  "id": "my-pet",
  "name": "My Pet",
  "version": "1",
  "author": "you",
  "canvas": 512,
  "floor": 0.965,
  "stand_height": 0.76,
  "poses": {
    "idle_stand": { "file": "poses/idle_stand.png", "anchor": "feet", "mirror": false },
    "idle_blink": { "file": "poses/idle_blink.png", "anchor": "feet", "mirror": false },
    "climb_1": { "file": "poses/climb_1.png", "anchor": "wall", "mirror": true }
  },
  "animations": {
    "_note": "Names starting with _ are ignored, so they work as comments.",
    "idle": {
      "frames": [["idle_stand", 3200], ["idle_blink", 140], ["idle_stand", 2600], ["idle_blink", 120]],
      "loop": true, "xfade": 0, "fx": ["breathe"]
    }
  }
}
```

## Poses

Draw every pose on the same square canvas with transparency. Her feet stand on the floor line (494 px from the top of a 512 canvas) and her standing height is about stand_height × canvas (389 px), so she keeps one size as poses change. A pose's anchor says which point ThatPet holds still:

| Anchor | Meaning |
| --- | --- |
| `feet` | She stands on the floor line. The default; effects pivot at her feet. |
| `top` | She hangs from the top edge (carried, ceiling). Effects pivot at the top. |
| `center` | She is in the air (falling, jumping). |
| `wall` | She grips a wall at the canvas’s left edge (climbing). |

Pose fields:

| Key | Meaning |
| --- | --- |
| `file` | The picture, relative to the pack folder, for example poses/idle_stand.png. It must stay inside the folder. |
| `anchor` | feet (default), top, center or wall. See the table below. |
| `mirror` | true lets ThatPet flip this pose. It flips only in animations marked mirror_on_right_wall (climbing the right edge). Keep false for anything with text. |

The 41 standard poses:

| Pose | Group | Anchor | Mirror | What she does |
| --- | --- | --- | --- | --- |
| `idle_stand` | Idle | feet | no | Standing relaxed, facing you. The reference pose for her height. |
| `idle_blink` | Idle | feet | no | The same as idle_stand with her eyes closed. |
| `idle_signature` | Idle | feet | no | Her signature pose. |
| `idle_look` | Idle | feet | no | Looking toward the screen’s left, curious. |
| `sleep_sit` | Idle | feet | no | Sitting and dozing, eyes closed. |
| `walk_l_1` | Walk | feet | no | Walking left: one leg forward. |
| `walk_l_2` | Walk | feet | no | Walking left: legs passing under her. |
| `walk_l_3` | Walk | feet | no | Walking left: the other leg forward. |
| `walk_r_1` | Walk | feet | no | Walking right: one leg forward. |
| `walk_r_2` | Walk | feet | no | Walking right: legs passing under her. |
| `walk_r_3` | Walk | feet | no | Walking right: the other leg forward. |
| `fall` | Move | center | no | Falling, arms up. |
| `drag_hang` | Move | top | no | Lifted by the collar, hanging straight down. |
| `drag_swing_l` | Move | top | no | Swung left while carried: legs trail to the right. |
| `drag_swing_r` | Move | top | no | Swung right while carried: legs trail to the left. |
| `sit_floor` | Move | feet | no | Sitting on the floor. |
| `climb_1` | Move | wall | yes | Climbing a wall on the canvas’s left edge. |
| `climb_2` | Move | wall | yes | The next climbing step. |
| `ceiling_1` | Move | top | no | Hanging from the top edge by both hands. |
| `ceiling_2` | Move | top | no | Moving hand over hand along the top edge. |
| `jump_crouch` | Move | feet | no | Crouched, about to jump. Also used to land. |
| `jump_air` | Move | center | no | Mid-air leap. |
| `land_hard` | Move | feet | no | A hard landing in a deep crouch. |
| `land_flop` | Move | feet | no | Landed sitting down, dazed. |
| `thinking_1` | Agent | feet | no | Thinking, hand on her chin. |
| `thinking_2` | Agent | feet | no | Thinking hard, finger on her temple. |
| `working_1` | Agent | feet | no | Typing on a laptop. |
| `working_2` | Agent | feet | no | Typing with her fingers in another place. Change only what should move. |
| `attention_1` | Agent | feet | no | Waving to get your attention. |
| `attention_2` | Agent | feet | no | Calling out, hands around her mouth. |
| `celebrate_1` | Agent | feet | no | Arms up in a V. |
| `celebrate_2` | Agent | feet | no | Victory fist pump. |
| `error_1` | Agent | feet | no | Shocked, hands on her cheeks. |
| `error_2` | Agent | feet | no | Disappointed slump. |
| `error_3` | Agent | feet | no | Sulking on the floor. |
| `grateful` | Agent | feet | no | Saying thank you. |
| `rare_spin_1` | Rare | feet | no | Mid-twirl, turning away. |
| `rare_spin_2` | Rare | feet | no | Mid-twirl, seen from behind. |
| `rare_wink` | Rare | feet | no | A wink at the end of the twirl. |
| `rare_finale` | Rare | feet | no | Her finishing flourish. |
| `tired_stand` | Energy | feet | no | Tired but awake: half-closed eyes, slumped shoulders, a little shorter. From 0.6.9; optional. |

You can add more poses with any id and use them in your animations.

## Animations

An animation is a list of frames, each a pose shown for a number of milliseconds.

| Key | Meaning |
| --- | --- |
| `frames` | [[pose, milliseconds], …]. At least one frame; every pose must exist; every duration above 0. |
| `loop` | true repeats until her state changes. false (default) plays repeat times, then next. |
| `repeat` | How many times a non-looping animation plays. Whole number, at least 1. Default 1. |
| `next` | What plays after a non-looping animation ends. It must exist in the pack. Default idle. |
| `hold` | true starts on a random frame each time, so it doesn’t always open the same way (thinking uses it). |
| `xfade` | Crossfade between consecutive frames, in milliseconds. 0 is a hard cut. |
| `fx` | Effect names, combined. Unknown names are ignored. |
| `particles` | Particle names, combined. Unknown names are ignored. |
| `mirror_on_right_wall` | true flips the animation’s mirrorable poses on the right screen edge (climb). |

**xfade is a crossfade.** During the fade ThatPet blends the old frame into the new one. Keep 0 for loops of separately drawn poses (walking, climbing, waving): a fade there shows two bodies at once. 60–160 ms suits one-off changes such as landing, celebrating or thinking.

The 29 standard animations:

| Animation | When it plays | Ends |
| --- | --- | --- |
| `idle` | Standing between moves, with a blink now and then. | loops |
| `idle_fidget` | Now and then while idle she looks around (Settings → Animations calls it Looking around). | once, then idle |
| `sleep` | After 5 minutes with nothing to do. | loops |
| `walk_left` | Walking left along the bottom of the screen. Never mirrored, so draw both directions. | loops |
| `walk_right` | Walking right. Never mirrored. | loops |
| `sit` | Sitting down while idle. | loops |
| `fall` | Dropping off a wall or the top edge, or after you throw her. | loops |
| `drag` | Carried by the mouse, held still. | loops |
| `drag_left` | Carried while the mouse moves left. | loops |
| `drag_right` | Carried while the mouse moves right. | loops |
| `climb` | Climbing a screen edge. Mirrored on the right edge. | loops |
| `ceiling` | Moving along the top edge of the screen. | loops |
| `jump_launch` | The crouch before a jump. | once, then jump_air |
| `jump_air` | In the air during a jump. | loops |
| `land_good` | A soft landing. | once, then idle |
| `land_hard` | Landing after a fall of more than 400 px, or a fast throw. | once, then idle |
| `land_flop` | Landing after a very fast throw. | once, then idle |
| `thinking` | Your agent is thinking: you sent a prompt, or it is reasoning between steps. | loops |
| `working` | Your agent is running tools: editing, searching, running commands. | loops |
| `attention` | Your agent needs your approval. | loops |
| `grateful` | Just after you approve, before she goes back to working. | once, then working |
| `celebrating` | Your agent finished its turn. 3% of the time rare_surprise plays instead. | once, then idle |
| `error` | The turn ended with an error. | once, then idle |
| `oops` | One tool call failed; she goes back to working. | once, then working |
| `helper` | Your agent started a helper (subagent); she goes back to working. | once, then working |
| `attention_urgent` | An approval has been waiting for 30 seconds. | loops |
| `compacting` | Your agent is compacting its conversation. | once, then idle |
| `rare_surprise` | Rarely after a finished turn, at most once an hour while idle, and from Play surprise in the menu. | once, then idle |
| `tired` | From ThatPet 0.6.9: on a computer, while your AI plan’s allowance is low (Settings → Energy); on Android, for 5 seconds after she was thrown around a lot. Optional: without it she rests sitting, and older versions ignore it. | loops |

Their standard frames, to copy into a pack and change:

```json
{
  "idle": {"frames":[["idle_stand",3200],["idle_blink",140],["idle_stand",2600],["idle_blink",120],["idle_stand",90],["idle_blink",120]],"loop":true,"xfade":0,"fx":["breathe"]},
  "idle_fidget": {"frames":[["idle_look",1600],["idle_stand",400],["idle_signature",1800]],"loop":false,"repeat":1,"next":"idle","xfade":110,"fx":["breathe"]},
  "sleep": {"frames":[["sleep_sit",4000]],"loop":true,"xfade":0,"fx":["breathe_slow"],"particles":["zzz"]},
  "walk_left": {"frames":[["walk_l_1",150],["walk_l_2",150],["walk_l_3",150],["walk_l_2",150]],"loop":true,"xfade":0,"fx":["walk_bob"]},
  "walk_right": {"frames":[["walk_r_1",150],["walk_r_2",150],["walk_r_3",150],["walk_r_2",150]],"loop":true,"xfade":0,"fx":["walk_bob"]},
  "sit": {"frames":[["sit_floor",4000]],"loop":true,"xfade":0,"fx":["breathe"]},
  "fall": {"frames":[["fall",1000]],"loop":true,"xfade":0,"fx":["fall_stretch"]},
  "drag": {"frames":[["drag_hang",1000]],"loop":true,"xfade":0,"fx":["pendulum"]},
  "drag_left": {"frames":[["drag_swing_l",1000]],"loop":true,"xfade":60,"fx":["pendulum"]},
  "drag_right": {"frames":[["drag_swing_r",1000]],"loop":true,"xfade":60,"fx":["pendulum"]},
  "climb": {"frames":[["climb_1",260],["climb_2",260]],"loop":true,"xfade":0,"fx":["climb_bob"],"mirror_on_right_wall":true},
  "ceiling": {"frames":[["ceiling_1",280],["ceiling_2",280]],"loop":true,"xfade":0,"fx":["pendulum"]},
  "jump_launch": {"frames":[["jump_crouch",180]],"loop":false,"repeat":1,"next":"jump_air","xfade":0,"fx":["squash"]},
  "jump_air": {"frames":[["jump_air",1000]],"loop":true,"xfade":0,"fx":["stretch"]},
  "land_good": {"frames":[["jump_crouch",120],["idle_stand",200]],"loop":false,"repeat":1,"next":"idle","xfade":60,"fx":["land_squash"]},
  "land_hard": {"frames":[["land_hard",700],["jump_crouch",160],["idle_stand",200]],"loop":false,"repeat":1,"next":"idle","xfade":80,"fx":["land_squash"],"particles":["dust"]},
  "land_flop": {"frames":[["land_flop",900],["sit_floor",300],["idle_stand",200]],"loop":false,"repeat":1,"next":"idle","xfade":90,"fx":["land_squash"],"particles":["dust"]},
  "thinking": {"frames":[["thinking_1",4000],["thinking_2",4000]],"hold":true,"loop":true,"xfade":160,"fx":["breathe","sway"],"particles":["thought_dots"]},
  "working": {"frames":[["working_1",260],["working_2",260]],"loop":true,"xfade":0,"fx":[]},
  "attention": {"frames":[["attention_1",320],["attention_2",320]],"loop":true,"xfade":0,"fx":["hop"],"particles":["exclaim"]},
  "grateful": {"frames":[["grateful",1300]],"loop":false,"repeat":1,"next":"working","xfade":120,"fx":["breathe"],"particles":["sparkle_small"]},
  "celebrating": {"frames":[["celebrate_1",420],["celebrate_2",520],["celebrate_1",420],["celebrate_2",900]],"loop":false,"repeat":1,"next":"idle","xfade":70,"fx":["hop"],"particles":["confetti"]},
  "error": {"frames":[["error_1",700],["error_2",1100],["error_3",1800],["idle_stand",200]],"loop":false,"repeat":1,"next":"idle","xfade":120,"fx":["shake_once"],"particles":["sweat"]},
  "oops": {"frames":[["error_1",450],["error_2",550]],"loop":false,"repeat":1,"next":"working","xfade":90,"fx":["shake_once"],"particles":["sweat"]},
  "helper": {"frames":[["attention_2",700],["idle_signature",700]],"loop":false,"repeat":1,"next":"working","xfade":110,"fx":["hop"],"particles":["sparkle_small"]},
  "attention_urgent": {"frames":[["attention_1",200],["attention_2",200]],"loop":true,"xfade":0,"fx":["hop"],"particles":["exclaim"]},
  "compacting": {"frames":[["thinking_2",500],["rare_spin_1",160],["rare_spin_2",160],["idle_stand",400]],"loop":false,"repeat":1,"next":"idle","xfade":0,"fx":["poof"],"particles":["poof"]},
  "rare_surprise": {"frames":[["idle_stand",120],["rare_spin_1",110],["rare_spin_2",110],["rare_spin_1",110],["rare_wink",1500],["rare_finale",1700],["idle_stand",200]],"loop":false,"repeat":1,"next":"idle","xfade":0,"fx":["spin_hop"],"particles":["hearts","sparkle"]},
  "tired": {"frames":[["tired_stand",4000]],"loop":true,"xfade":0,"fx":["breathe_slow"]}
}
```

## Effects (fx)

Effects move, tilt or scale the whole picture around her anchor point and run at your display's refresh rate. List several to combine them.

| fx | What it does | Standard animations using it |
| --- | --- | --- |
| `breathe` | Gentle breathing: about 1% taller and slightly thinner, then back, every 3.6 s. | idle, idle_fidget, sit, thinking, grateful |
| `breathe_slow` | Slower breathing, every 6 s. | sleep, tired |
| `sway` | A slow tilt from side to side, up to 1.2°. | thinking |
| `walk_bob` | Bobs up to 3 px with every step. | walk_left, walk_right |
| `type_bob` | A small 1.5 px bounce, like typing. No standard animation uses it. | none |
| `hop` | A 10 px hop on every frame change. | attention, celebrating, helper, attention_urgent |
| `pendulum` | Swings from the top point with the mouse’s speed, up to 14°, and sways gently when still. | drag, drag_left, drag_right, ceiling |
| `climb_bob` | Lifts 2 px on every frame change. | climb |
| `squash` | Squashes wider and shorter over the frame (1.12 × 0.86). | jump_launch |
| `stretch` | Stretches taller and thinner while rising (0.92 × 1.1). | jump_air |
| `fall_stretch` | Stretches taller the faster she falls, up to 12%. | fall |
| `land_squash` | A springy landing wobble: starts squashed (1.18 × 0.8) and settles. | land_good, land_hard, land_flop |
| `shake_once` | A quick side-to-side shake that dies out in half a second. | error, oops |
| `poof` | Shrinks to 60% and fades to 40%, then comes back, in 0.4 s. | compacting |
| `spin_hop` | A 14 px hop across a spin. | rare_surprise |

## Particles

The app draws particles around her. They last 0.6–1.4 s, stay close to her and never catch clicks. Their shapes and colours are fixed; you choose which ones play and when.

| particles | Looks like | Standard animations using it |
| --- | --- | --- |
| `zzz` | Three soft “z”s drifting up. | sleep |
| `thought_dots` | Three dots pulsing above her head. | thinking |
| `exclaim` | A bouncing “!” badge. | attention, attention_urgent |
| `sparkle` | Four-point stars. | rare_surprise |
| `sparkle_small` | Smaller four-point stars. | grateful, helper |
| `confetti` | 30 small pieces in orange, yellow, violet and teal. | celebrating |
| `hearts` | Six pink hearts that pop up. | rare_surprise |
| `sweat` | One blue drop. | error, oops |
| `dust` | Soft grey puffs at her feet. | land_hard, land_flop |
| `poof` | A white puff ring. | compacting |

## Agent events (hooks)

Connecting an agent in ThatPet installs its hooks. Each agent event becomes a pet state, and each state plays an animation from the pack. These are Claude Code and Codex names; Cursor, OpenCode, Hermes Agent, Antigravity and Kiro events map to the same states.

| When | Agent events | State | She plays |
| --- | --- | --- | --- |
| A session starts | SessionStart | `idle` | idle, then she wanders |
| You send a prompt, or the agent reasons | UserPromptSubmit, progress events | `thinking` | thinking |
| It runs a tool | PreToolUse, PostToolUse, SubagentStop | `working` | working (grateful first, right after you approve) |
| A tool fails | PostToolUseFailure | `toolfail` | oops, then working |
| It needs your approval | PermissionRequest, permission notifications | `attention` | attention; attention_urgent after 30 s |
| It starts a helper | SubagentStart | `helper` | helper, then working |
| The turn finishes | Stop | `celebrating` | celebrating (3%: rare_surprise), then idle |
| The turn fails | StopFailure | `error` | error, then idle |
| It compacts its context | PreCompact | `compacting` | compacting, then idle |
| The last session ends | SessionEnd | `stop` | she fades out |

To change how she reacts, redraw or retime the animation for that state. A pack can't add events or hooks.

## Other ways to customise

- **Settings → Animations** picks another standard animation for thinking, working, needs approval, done and error.
- **Custom event images:** put PNG, GIF or APNG files in the approval, done, error, thinking or idle folder inside ThatPet's events folder (next to packs) and turn that event on in Settings. She shows one of them instead of the animation: approval until the state changes, the others for 4 s.

## Rules a pack must follow

- pack.json is valid JSON with format "thatpet-pack/1" and an id of lowercase letters, digits, - and _.
- Every pose file is a PNG inside the pack folder, exactly canvas × canvas pixels, and not fully transparent.
- There is an idle animation. Every frame names a pose the pack lists, with a duration above 0.
- Every next names an animation the pack has.
- All standard animations can play. Leave one out and ThatPet uses its standard frames, which need the standard poses; Windows refuses the pack when they are missing. Keeping all 41 standard poses is the simple way. tired and tired_stand are the exception: without them she rests sitting.
- It uses none of a paid ThatPet character’s pictures unless this computer owns that character, and it doesn’t take a ThatPet character’s id.

## Examples

### A bigger celebration

Replace celebrating: a twirl in the middle, hearts with the confetti, a softer crossfade.

```json
"celebrating": {
  "frames": [["celebrate_1", 420], ["rare_spin_1", 140], ["rare_spin_2", 140], ["celebrate_2", 900]],
  "loop": false, "repeat": 1, "next": "idle", "xfade": 90,
  "fx": ["hop"], "particles": ["confetti", "hearts"]
}
```

### A pose of your own

Add a 512 × 512 PNG to poses/, add its entry next to the other poses, then use it in any animation.

```json
"poses": {
  "wave_big": { "file": "poses/wave_big.png", "anchor": "feet", "mirror": false }
},
"animations": {
  "attention": {
    "frames": [["wave_big", 300], ["attention_2", 300]],
    "loop": true, "xfade": 0, "fx": ["hop"], "particles": ["exclaim"]
  }
}
```

### Sleepy thinking

Slower breathing, a sway and zzz while your agent thinks.

```json
"thinking": {
  "frames": [["thinking_1", 4000], ["thinking_2", 4000]],
  "hold": true, "loop": true, "xfade": 300,
  "fx": ["breathe_slow", "sway"], "particles": ["thought_dots", "zzz"]
}
```

Questions: info@cohentra.ai.
