Lab // Index

Total: 07

Component // Skill

04 of 07

Package My Work

A Claude Code skill that turns UI work into a crisp, shareable clip, shown here as a looping before and after: the raw recording on the left, the packaged clip on the right

Demo // Live

Interactive

Install // Steps

Total: 03

Step 01

Install the skill

Downloads SKILL.md, the recorder and its reference into your personal Claude Code skills folder.

mkdir -p ~/.claude/skills/package-my-work/{scripts,references,examples}
cd ~/.claude/skills/package-my-work
for f in SKILL.md references/shot-plan.md scripts/record.mjs scripts/sheet.mjs examples/self-running-demo.json; do
  curl -fsSL "https://bearerop.in/skills/package-my-work/$f" -o "$f"
done

Step 02

Run /package-my-work, or drive the recorder with a shot plan.

The recorder needs playwright-core and ffmpeg in the project you record from. Source code shows the skill's SKILL.md.

# In Claude Code, from the project you want to show off:
/package-my-work record the add-to-cart stepper on /groceries

# Or drive the recorder yourself with a shot plan:
npm i -D playwright-core ffmpeg-static
node ~/.claude/skills/package-my-work/scripts/record.mjs shot.json --draft
node ~/.claude/skills/package-my-work/scripts/record.mjs shot.json

# shot.json
{
  "url": "http://localhost:3000/groceries",
  "output": "out/add-to-cart-7s.mp4",
  "frame": ".product-card",
  "padding": 60,
  "isolate": ".product-card",
  "outputWidth": 3840,
  "steps": [
    { "do": "wait", "ms": 600 },
    { "do": "click", "to": "button[aria-label='Increase']", "zoom": { "to": ".stepper-row", "padding": 64 } },
    { "do": "wait", "ms": 450 },
    { "do": "click" },
    { "do": "wait", "ms": 700 },
    { "do": "click", "to": "button[aria-label='Decrease']" },
    { "do": "wait", "ms": 450 },
    { "do": "click" },
    { "do": "wait", "ms": 500 },
    { "do": "move", "to": { "x": 330, "y": 300 }, "zoom": { "to": "reset" } },
    { "do": "wait", "ms": 500 }
  ]
}

Step 03

Optional: reuse the before and after demo on your own site.

Copy package-my-work.tsx into your project (it needs Motion) and render it.

import { PackageMyWork } from "@/components/craft/package-my-work";

export default function MyPage() {
  return (
    <div className="mx-auto max-w-4xl p-8">
      <PackageMyWork />
    </div>
  );
}

Spec // What the skill does

Total: 04
  • 01

    Records your work at the right resolution

    Every frame is rendered at output size, 3840 wide by default, and framed on the component rather than the window

  • 02

    Uses correct cursor and touch indicators (and movement)

    Arrow, pointing hand or text beam depending on what is under it; a touch dot on mobile; eased travel along a slight arc

  • 03

    Zooms in on key details

    The camera pushes in while the cursor travels, and stays sharp because zoomed frames are re-rendered, not upscaled

  • 04

    Applies packaging tricks I've learned over the years

    Isolates the subject, paces for a viewer, holds on results, loops cleanly, and names the file for what it shows