⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

version unknown

cutaway

@half144⭐ 45 stars

Record polished browser workflow demos with animated zoom, a smooth cursor, motion blur, and local MP4 export, and frame screenshots with the same look. Use for web UI demos and tutorials in one Chromium tab, and for still evidence on cards or PRs.

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐⭐ 45 on GitHubGitHub ↗

Growing

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

🎬 Cutaway

Polished web app demos, recorded by your agent.

Animated zoom, a human cursor, motion blur and a macOS-style window, from a JSON plan to an MP4. Everything runs locally.

Node.js 22+ Playwright FFmpeg Output Agent skill License: MIT

Quick start · Writing a plan · Phones · Export · Screenshots · How it works


✨ See it

https://github.com/user-attachments/assets/3d1e40e9-f6c2-49f3-bc12-51adb444362e

25 s, 1080p, 60 fps, unedited, from examples/web-dashboard.json on the shadcn/ui example dashboard. Zoom, cursor, pacing, the Safari window and background are the defaults.

https://github.com/user-attachments/assets/cb7a1724-a05c-490d-8715-fcab227f9b8b

25 s, 1080p, 60 fps, unedited, from examples/web-dashboard-dark.json: the same plan with "colorScheme": "dark". The window follows the page.

https://github.com/user-attachments/assets/7457e723-e6a7-431a-beb7-f1f46e12429d

29 s, 1080×1920, 60 fps, unedited, from examples/web-dashboard-mobile.json: touch indicators, drags, the iOS keyboard and the phone frame are the defaults for a phone device.

In dark mode, from examples/web-dashboard-mobile-dark.json:

https://github.com/user-attachments/assets/37528bf4-4422-4f7c-8679-c77df053f5fa

🧭 What you get

  • A camera that follows the action. Screen Studio-style zoom on typing, menus and small results; the overview for anything that fills the screen.
  • A cursor that moves like a person. Arcs, Fitts' law timing, varied pauses and a click that presses in.
  • A finished scene. Wallpaper, a Safari-style browser window, shadow, motion blur and a shortcut pill.
  • Honest timing. Dead time is sped up; clicks, typing and results play at real speed.
  • Phones too. Touch input, a drawn device, status bar and on-screen keyboard.
  • Stills too. frame gives any screenshot the same window or phone, for evidence that needs no video. See Screenshots.

No AI model, cloud service or upload is involved: Playwright drives Chromium, Skia composes, FFmpeg encodes.

[!NOTE] Screen Studio is the visual reference. Cutaway is not affiliated with it and does not match its editor.

🚀 Quick start

Requires Node.js 22+. Everything else, FFmpeg and Chromium included, comes with the install.

curl -fsSL https://raw.githubusercontent.com/half144/cutaway/master/install.sh | bash

The installer downloads Cutaway into ~/.cutaway, installs its dependencies and Chromium, and links the skill into Claude Code (~/.claude/skills) and Codex (~/.codex/skills) when they are installed. CUTAWAY_HOME changes the folder; a skill link that already points elsewhere is left alone.

Updates are automatic. Once a day, when the skill runs, the install fast-forwards to the latest master before anything loads, and reinstalls dependencies when they changed. Offline or with local edits it keeps the installed version. CUTAWAY_NO_UPDATE=1 turns it off, and running the installer again updates on the spot. Clones made by hand never update themselves.

Then ask your agent for a recording (/cutaway record the checkout flow in Claude Code, $cutaway in Codex), or run the demo yourself:

node ~/.cutaway/src/cli.mjs record ~/.cutaway/examples/demo.json --out /tmp/cutaway-demo

The demo opens a local mock app, edits a project name and shows the result. Use a new --out folder for every recording.

git clone https://github.com/half144/cutaway.git && cd cutaway
npm ci
npx playwright install chromium
npm run demo                                         # → recordings/demo/video.mp4
node scripts/install-skill.mjs                       # links the skill into Codex
ln -s "$PWD/skills/cutaway" ~/.claude/skills/cutaway # links the skill into Claude Code

The skill runs the CLI through its link, so keep the clone where it is.

rm -rf ~/.cutaway ~/.claude/skills/cutaway ~/.codex/skills/cutaway

📝 Writing a plan

A plan is a JSON file: a URL and the steps a person would take.

{
  "url": "http://localhost:3000",
  "hide": ["nextjs-portal"],
  "steps": [
    { "action": "click", "selector": "#edit" },
    { "action": "type", "selector": "role=textbox[name=\"Title\"]", "text": "New title" },
    { "action": "upload", "selector": "button:has-text(\"Choose cover\")", "file": "cover.jpg" },
    { "action": "click", "selector": "#save", "expect": "#saved-message" },
    { "action": "focus", "selector": "#updated-title", "duration": 1.5 }
  ]
}

Selectors are Playwright locators: CSS, role=…[name="…"], :has-text() and :text-is(). Each must match exactly one element.

Actions

ActionParametersWhat it does
clickselectorAims like a person, clicks and waits for the interface to settle
typeselector, textFocuses the field, clears it and types at a human rhythm
uploadselector, fileClicks the control that opens the file chooser and hands it file (a path or array, relative to the plan); no native dialog opens
focusselector, durationFrames an element without clicking; tall regions are read from the top
scrolly, durationRelative scroll in pixels: starts fast and glides to a stop
presskeyA key or shortcut on the focused element (Enter, ControlOrMeta+K)
waitdurationPause in seconds

Step options

OptionWhat it does
expectA selector that must become visible: the real success indicator, not an always-present container. The camera frames it with the control.
pauseSeconds to hold after the step. Leave it out: the recorder picks a human rhythm and holds results long enough to read.
holdSeconds to keep a click or tap pressed (0.05–5), for a long press.

Plan options

OptionDefaultWhat it does
urlrequiredhttp:, https: or file: (file:./page.html is relative to the plan)
viewport1440×810Browser size, 16:9 like the export
devicenoneA phone from Playwright's device list; see Phones
captureScale2 (3 on phones)Source pixel density; 3 for 4K exports
hidenoneCSS selectors removed from every frame, such as the Next.js dev badge
timeout10000Action time limit in milliseconds (up to 120000)
colorSchemelightdark opens the page in dark mode, for apps that follow the system appearance

Ambiguous selectors, missing elements and unmet expectations stop the recording, and export refuses incomplete sessions. For an app behind a login, pass --storage-state /path/session.auth.json with a saved Playwright state; --headed shows the browser.

[!WARNING] The recorder really performs each step. A local frontend can still point at a production API or database, so

// HOW IT'S BUILT

// FILES

2 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.

  • skills/cutaway/SKILL.md7.8 KBupstream ↗
    ---
    name: cutaway
    description: Record polished browser workflow demos with animated zoom, a smooth cursor, motion blur, and local MP4 export, and frame screenshots with the same look. Use for web UI demos and tutorials in one Chromium tab, and for still evidence on cards or PRs.
    ---
    
    # Cutaway
    
    Turn the requested workflow into one JSON plan, then capture and export it with the bundled CLI. The CLI controls Playwright; no additional model or video service is needed.
    
    ## Fast path
    
    1. Reuse the current conversation: app URL, running dev server, implemented feature, selectors, tests and known success state. If these are already known, write the plan directly. Otherwise inspect only the route or controls needed for this recording, using existing tests/source or a targeted browser inspection. Do not perform a fresh project audit, whole-repository search, build, or full test suite just to record a demo. Start the app only if it is not already available.
    2. Write a short plan for the requested outcome. Prefer stable test IDs, IDs or input names already verified in code/UI. Include necessary navigation and a visible success indicator. Avoid rehearsing the entire workflow before recording when the available context is sufficient. Avoid fixed waits when `expect` can wait for the actual result; leave `pause` unset unless extra reading time is useful.
    3. Run the command below once. It checks dependencies automatically before browser actions, captures, and exports the final video. Do not run a preview followed by a final export by default.
    4. Review the exported video or representative frames at interactions, zoom transitions and the final result. If the result is correct, deliver it. Re-render only for a concrete visual defect or a requested variant; re-record only for an actual capture/action problem and when replay is authorized.
    
    Use `scripts/run.mjs` next to this skill, with its absolute path. It resolves the linked repository automatically; the working directory can remain the user's application. Use absolute plan/output paths. Do not copy the skill scripts into the target project or reimplement the recorder.
    
    ```sh
    node <skill-directory>/scripts/run.mjs record /absolute/plan.json --out /absolute/new-recording
    ```
    
    Default output is **1920×1080 at 60 fps**: the Sonoma Horizon wallpaper (after `npm run wallpapers`; the bundled macOS wallpaper otherwise), a browser window with traffic lights and address bar, Screen Studio-style zoom shots at 1.5×, a human-paced cursor and temporal motion blur. New captures use lossless PNG at 2× physical resolution and high-quality H.264 export (`--quality high`, CRF 16). Keep this quality for showcase videos. For PR evidence, bug repros and quick previews, add `--width 1280 --height 720 --quality standard`: it stays legible in GitHub's player, exports about 3× faster (~0.7 s per second of video on an Apple M4, against ~1.8 s at the default) and keeps ~30 s of video under the 10 MB attachment limit on free plans. Export already uses up to half the CPU cores in parallel processes, so run one export at a time.
    
    ## Plan
    
    ```json
    {
      "url": "http://localhost:3000/projects",
      "steps": [
        { "action": "click", "selector": "[data-testid=edit-project]" },
        { "action": "type", "selector": "input[name=title]", "text": "Website atualizado" },
        { "action": "click", "selector": "button[type=submit]", "expect": "[data-testid=saved]" },
        { "action": "focus", "selector": "[data-testid=project-title]", "duration": 1 }
      ]
    }
    ```
    
    Selectors are Playwright locators: CSS plus `role=textbox[name="Email"]`, `:has-text("Continue")` and `:text-is("Skip")`, which help when the app has no test IDs. Each must match exactly one element. The example selectors are placeholders for your app, not selectors to guess. `expect` must identify the actual result, not an always-visible empty container. Default capture scale: 2× (2880×1620 source pixels at the default viewport). Set `captureScale: 3` in the plan for a 4K delivery when useful; source dimensions must remain at most 8192 pixels. Default viewport: 1440×810 (16:9, matching the export); override with `viewport` only when the app needs a different size. `hide` at the plan root takes CSS selectors (not Playwright ones) removed from every frame, such as `["nextjs-portal"]` for the Next.js dev tools badge on a dev server. `colorScheme: "dark"` at the plan root opens the page in dark mode, for apps that follow the system appearance or when the user asks for a dark recording.
    
    Actions: `click`; `type` (replaces text with visible typing); `focus` (frames a visible element without clicking); `scroll` (`y` relative pixels, optional `duration`); `press` (`key`, e.g. `Enter`); `wait` (`duration` seconds); `upload` (`selector` of the button that opens the file chooser, `file` as a path or array of paths relative to the plan: the click is shown, no native dialog opens and the files go straight to the page). Each step accepts `pause` and `expect` (visible selector). Leave `pause` unset for adaptive human pacing: after clicks and keys the capture waits for animations to settle, and an `expect` result stays on screen long enough to register (0.6 s + 0.15 s per word, 0.8–1.6 s). Pauses vary slightly, like a person's. Set `pause` only when the content needs a deliberate editorial hold. Give important steps an `expect`: the camera frames that result with the clicked control, or moves to it. `timeout` at the plan root sets action timeout in milliseconds (default 10000, maximum 120000). Use a larger `focus` container when surrounding context matters; tall regions are framed from the top. A short closing hold and zoom-out are already included. Zoom is for local detail: a click whose effect fills the screen (a chart redraw, a panel opening) plays out on the overview, while typing, menus and small effects get a close-up. Local actions less than ~3 s apart share one continuous close-up, which holds 1.8 s after the last click, even during a network wait, so use explicit `focus` when the user needs a longer one. Manual `scroll` ends a close-up; automatic scrolling to the next target does not, and it brings the next step's target into view too. Typing into wide fields follows the caret. Shortcuts with modifiers (`press` with `ControlOrMeta+K`) and named keys that change the page (Escape, Enter, Tab) are shown on screen; plain character keys are not. The recorder adds human timing on its own (varied pauses, and the pointer moving to the next visible target in one stroke while the viewer reads), and balanced pacing trims dead time where nothing on screen changes, so don't pad plans with extra `wait` steps. Do not add a click immediately before `type` just to focus that same field. Rendering uses balanced pacing with continuous speed ramps (up to 4×) to shorten only long inactive waits while preserving their start and end at real speed; pass `--pacing original` when captured duration must remain exact.
    
    ## Phones
    
    When the user asks for a mobile, phone or vertical recording, add `"device": "iPhone 15 Pro"` (or another phone from Playwright's device list, such as `"Pixel 7"`) at the plan root and leave out `viewport`. The page runs in Chromium at the phone's size with touch input and a mobile user agent. Write `tap` and `swipe` (`y` pixels) for `click` and `scroll`; `hold` seconds on a tap makes a long press. Pick selectors from the app's mobile layout (a bottom tab bar or a menu button instead of a desktop sidebar). The export defaults to a 1080×1920 video with a drawn phone, a status bar, white touch indicators instead of a cursor and an on-screen keyboard while typing; a close-up fills the width with the screen and only pans vertically. For a feed post pass `--width 1080 --height 1350`; for a landscape video with the phone centered, `--width 1920 --height 1080`; for PR evidence, `--width 720 --height 1280 --quality standard`. The timeline keeps typed characters (not password fields) to draw the keyboard.
    
    ## Screenshots
  • README.mdupstream ↗

    Contents are not inlined in the catalog. Open the upstream file.

Plain-text copy, no login: /skill-bundles/half144-cutaway-skills-cutaway.md

// REPO STATS

45 stars