/cursorcam:cursorcam <url> and what to showfrom CursorCam
Records polished click demo videos (MP4) of web apps with auto-zoom, smooth cursor, and click ripples. Useful for READMEs, docs, social media, or product walkthroughs.
Ships in CursorCam. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Make a click demo video of a web app with CursorCam. You do the whole job: explore the app, write the steps, record, review your own video and hand it back. Ask the user only for things you cannot find yourself.
CursorCam comes as MCP tools or as the cursorcam CLI. Use whichever this session has.
MCP tools. When the CursorCam MCP server's tools are available (doctor, inspect, check, record, run, wait, stills, render, answer), use them instead of the commands below. Each tool does what the command of the same name does:
| In the commands below | With the MCP tools |
|---|---|
--for x, --max-size 10MB, --style '…', --format square | The for, maxSize, style and format arguments |
Any other option, like --until 3, --profile acme, --phone, --filter, --count | The argument of the same name: until, profile, phone, filter, count |
check, record or run with --detach, then wait | check, record or run, then wait. They always start in the background. wait returns within 45 seconds and says what to do next |
CURSORCAM_SECRET_PASSWORD='…' cursorcam run … | run with secrets set to {"PASSWORD": "…"} |
printf '%s' '<reply>' | cursorcam answer "<run folder>" | answer with run and answer |
Reading frame.jpg, stills and failure.jpg from disk | inspect, stills and a failed wait return them as images |
The CLI. Without the tools:
npx -y [email protected] <command>. Below, cursorcam is short for that.Either way:
doctor. If a check fails (✗), show the user that line and its Fix: line, then stop.Find out:
| Posted on | Options |
|---|---|
| YouTube | --for youtube |
| X | --for x (up to 140 s) |
--for linkedin (3 s to 15 min) | |
| Discord | --for discord (under 20 MB) |
| README or docs | --max-size 10MB |
| Square feed post | --format square |
| Phone, vertical | "viewport": "phone" in the steps, then --format vertical |
If the user did not say, use the default (1920×1080, 60 fps) and offer other sizes at the end. A new size renders in seconds and does not record again. Only a vertical video needs a phone recording.
How it zooms. By default the camera zooms in for each click and typing, stays zoomed while the next actions are in the same area, and zooms out when the flow moves somewhere else. When the user asks for something else, set it:
| The user asks for | Set |
|---|---|
| No zoom | --style '{"zoom":{"enabled":false}}' |
| Stay zoomed after clicks | --style '{"zoom":{"hold":1000}}', the time in ms |
| More or less zoom | --style '{"zoom":{"max":2.5}}', 1.3 to 2.5 |
| Zoom on one part, like the result | A hover step on it with "zoom": 1.5 and pauseAfter |
| No zoom on one step | "zoom": false on that step |
A zoom change renders again in seconds with render, without recording again.
curl -s -o /dev/null -w "%{http_code}" "<url>".package.json (dev or start), start it in the background, read the real URL from its output, and wait until it answers. Note its process ID, so you can stop exactly that process later.Steps from the user. If the user gives you a steps file, skip exploring: check it, fix only what fails, then record. When you cannot find the flow, or the user would rather show it than describe it, offer to let them click through it once:
cursorcam capture "<url>" "cursorcam-output/<short-name>.json" in the foreground with a 10 minute timeout. With the MCP tools, which have no capture tool, ask the user to run npx cursorcam capture "<url>" in a terminal instead, which saves cursorcam-output/capture.json.$secret: placeholders for passwords and login names, like $secret:PASSWORD. Ask for their values (see Logins), then check the file as above.cursorcam inspect "<url>" saves frame.jpg, the first frame of the video, and lists targets that match exactly one element, in page order.
--filter <text> narrows the list, --limit <n> raises the cap, --phone shows the phone layout, --profile <name> uses a saved login.Save the steps as cursorcam-output/<short-name>.json. The full reference is in references/steps.md.
{
"name": "create-issue",
"url": "http://localhost:3000",
"steps": [
{ "pause": 600 },
{ "click": "role=button[name='New issue']" },
{ "type": "Add an onboarding checklist", "into": "label=Title", "zoom": 1.5 },
{ "click": "role=button[name='Create issue']", "pauseAfter": 800 },
{ "hover": "text=Add an onboarding checklist", "pauseAfter": 1500 }
]
}
For a good video:
{ "pause": 600 } so viewers see the page first. End on the result, with pauseAfter of 1500 ms or more.inspect. Prefer role=, label= and testid= over CSS."zoom": false to a step that should show the whole page, and "zoom": 1.5 to set the level for a step."zoom": false or "zoom": 1.3, so the content stays in the shot.waitFor for content that loads after an action, so the video never shows a spinner.waitFor for the result of each important action, like the new item's text or a "1 item left" counter. Then check fails when an action does not do what you meant, instead of passing quietly.pauseAfter to 1200 or more where viewers need to read something."mask": [".user-email"].$secret:NAME (see Logins).cursorcam check "<steps file>" runs the steps quickly and saves one frame per step in <run folder>/check/.
Fix: line and the path of failure.jpg. Read the frame, fix the steps, run check again.ask step, check only the steps before it, with --until <step number>. Each answer is a fresh code from the user, so ask only once, during the real run.Start the run with --detach. It prints the run folder at once and keeps recording in the background. Then wait for it:
cursorcam run "cursorcam-output/create-issue.json" --for x --detach
cursorcam wait "<run folder>"
wait returns within 90 seconds (45 with the MCP tool) and says one of these:
Done. Video: …: go to step 7.Still …: run wait again.Waiting for an answer: <what>: ask the user (see Asking the user). Send the reply with printf '%s' '<reply>' | cursorcam answer "<run folder>", then wait again. The run gives up after 5 minutes.Failed …: read the error, the Fix: line and the frame, fix the steps, then start the run again.The run stopped …: read the log it names, then start the run again.check takes --detach too, for long flows.
cursorcam stills "<run folder>" saves stills at video size, plus one close-up crop per step, in <run folder>/stills/. Read 4 to 6 of them and check:
Never hand back a video with a problem you can see in the stills. A zoomed shot that is mostly empty space, or that cuts off what the step changes, is a problem to fix:
cursorcam render "<run folder>" --style '{"zoom":{"max":1.4}}'. Other looks are in references/style.md.zoom in the steps file (false or 1.3) and run again.After 3 tries, stop and tell the user what is still wrong.
Stop any dev server you started, by the process ID you noted or by stopping its background task. Never use pkill -f or killall: they can match your own shell.
Then reply in this shape, with the real values:
Your demo video is ready: <one line on what it shows>.
Video: <full path of the .mp4> (<size>, <length>, <width>×<height>)
Poster: <full path of the poster .jpg>
Steps: <full path of the steps file>, to record again after the app changes
Other sizes, made from the same recording: <the --for and --format options that fit>
If the project uses git and .gitignore does not list cursorcam-output/, offer to add it.
When the steps need something only the user has, like a login, a 2FA or email code, which account to use, or test data, ask directly in two lines, then continue:
❓ I need a login for http://localhost:3000 to record the dashboard.
Reply with: email, password
Ask for everything you need in one message. Ask before you record a real account with real data.
{ "type": "$secret:EMAIL", "into": "label=Email" } and { "type": "$secret:PASSWORD", "into": "label=Password" }.CURSORCAM_SECRET_EMAIL='…' CURSORCAM_SECRET_PASSWORD='…' cursorcam check …, and the same for run. Never export them. Write a ' inside a value as '\''.{ "ask": "2FA code", "into": "label=Code" } where the code goes."httpCredentials": { "username": "$secret:USER", "password": "$secret:PASS" }.cursorcam login "<login page url>" --profile <name> in the foreground with a 10 minute timeout. With the MCP tools, which have no login tool, ask the user to run npx cursorcam login "<login page url>" --profile <name> in a terminal instead. Add --profile <name> to inspect, check, record and run from then on. The saved login holds the site's cookies, not the password. Never open or print the saved login file.env, printenv, set or export -p.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub avijit07x/cursorcam --plugin cursorcamOther plugins' skills for the same job