Skip to content
Back to skills

Clawdbar Mascot

ASecurity

Draw a custom Clawdbar Touch Bar mascot as pixel art from a saved brief (reference image + description). Use when the user runs /clawdbar-mascot <id> or asks to make, redraw or tweak a Clawdbar mascot.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentspythongit

Works with

  • cli

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add theDeviser/clawdbar --skill clawdbar-mascot --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Clawdbar Mascot?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Clawdbar Mascot
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedeviser-clawdbar-mascot/badge)](https://www.skillsdirectory.com/skills/thedeviser-clawdbar-mascot)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: clawdbar-mascot
description: Draw a custom Clawdbar Touch Bar mascot as pixel art from a saved brief (reference image + description). Use when the user runs /clawdbar-mascot <id> or asks to make, redraw or tweak a Clawdbar mascot.
---

# Draw a Clawdbar mascot

Clawdbar shows a small animated mascot on the MacBook Touch Bar. The user made
a brief in Clawdbar → Settings → New Mascot. Your job is to turn it into a
pixel-art sprite file. Clawdbar renders it; nothing else is needed.

The argument is the mascot id. If it's missing, list the folders in
`~/.clawdbar/mascots/` that have a `brief.md` but no `sprite.json`, and ask
which one to draw.

## Steps

1. Read `~/.clawdbar/mascots/<id>/brief.md`, and view
   `~/.clawdbar/mascots/<id>/reference.png` with the Read tool. If
   `sprite.json` already exists, it's Clawdbar's automatic pixel version (an
   idle look only, with every other mood animated by a built-in effect). Use
   it as a starting point, then replace it with hand-drawn frames for each mood.
2. Design a pixel-art version that keeps the recognisable silhouette and
   colours. Make it your own stylised take: don't trace copyrighted artwork
   pixel for pixel.
3. Write `~/.clawdbar/mascots/<id>/sprite.json` in the format below.
4. Validate it with the script below, fix any errors, and run it again.
5. Tell the user to click **Reload** under the mascot in Clawdbar Settings,
   then pick it from **Character**. They can preview every mood there.

## Format

```json
{
  "name": "Sunny",
  "author": "Your Name",
  "github": "your-github-username",
  "role": "Morale officer",
  "catchphrase": "Every reset is a holiday.",
  "story": "Three or four sentences: who it is and how it acts in each mood.",
  "palette": { "o": "#D77757", "k": "#1F1A17", "w": "#FFFFFF" },
  "fps": 4,
  "frames": {
    "idle":      [["....oooo....", "..."], ["...second frame..."]],
    "thinking":  [[...]],
    "working":   [[...]],
    "alert":     [[...]],
    "happy":     [[...]],
    "listening": [[...]],
    "resting":   [[...]]
  }
}
```

- Each frame is a list of rows, **top row first**, one character per pixel.
  `.` is transparent. Every other character must be a palette key.
- **At most 22 pixels wide and 12 tall.** Each pixel is 2.5 pt on a 30 pt-tall
  black strip. Keep every frame the same size, and put the feet on the bottom row.
- **At most 8 colours.** The background is pure black, so the body must be
  clearly visible on black. Dark colours are only for small details like eyes.
- `fps` is 2–8, and 4 suits most moods.
- Give each mood 2–4 frames that act it out. Missing moods fall back to `idle`.
  - `idle`: calm, blinking or looking around
  - `thinking`: pondering, with a puff or "…" beside the head
  - `working`: busy, stepping or carrying something (reading, searching)
  - `building`: editing files or running commands, e.g. hammering. Optional; falls back to `working`
  - `alert`: needs the user, arms up or a "!" (amber `#FFC233` reads well)
  - `happy`: done, bouncing or celebrating
  - `listening`: the user is dictating, with sound waves (red `#FF453A`)
  - `resting`: a plan limit is used up, so it's asleep until the reset (closed eyes, "z")
- Clawdbar adds a hop when the mascot is tapped, so don't draw one.
- With Reduce motion on, only frame 1 of each mood shows, so frame 1 must read
  on its own.

## Validate

```sh
python3 - "$HOME/.clawdbar/mascots/<id>/sprite.json" <<'PY'
import json, re, sys
d = json.load(open(sys.argv[1])); errs = []
pal = d.get("palette", {})
if not 1 <= len(pal) <= 8: errs.append("palette needs 1–8 colours")
for k, v in pal.items():
    if len(k) != 1 or k == ".": errs.append(f"palette key {k!r} must be one character, not '.'")
    if not re.fullmatch(r"#[0-9A-Fa-f]{6}", v): errs.append(f"colour {v!r} must be #RRGGBB")
frames = d.get("frames", {})
if "idle" not in frames: errs.append("an 'idle' mood is required")
for mood, fl in frames.items():
    if mood not in {"idle","thinking","working","building","alert","happy","listening","resting"}: errs.append(f"unknown mood {mood!r}")
    for i, f in enumerate(fl):
        if len(f) > 12: errs.append(f"{mood}[{i}] is {len(f)} rows; max 12")
        for r in f:
            if len(r) > 22: errs.append(f"{mood}[{i}] row is {len(r)} wide; max 22")
            bad = {c for c in r if c != "." and c not in pal}
            if bad: errs.append(f"{mood}[{i}] uses {''.join(sorted(bad))} not in palette")
print("\n".join(errs) or "sprite.json OK")
sys.exit(1 if errs else 0)
PY
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.