record

A command for recording a guided demo video of an application. The agent explores the app, records its actions, and produces a video with zoomed clicks and optional voiceover.

In plain words
What is it for?
Recording app walkthroughs, including arranging the window, testing the interaction route, writing narration, capturing the session, and rendering the finished video.
Why use it?
It helps create a clean demonstration while checking the screen, avoiding private content, and restoring the app before recording.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/jhamidun/screencast-desktop/record
Clone the repo
git clone --depth 1 https://github.com/JHamidun/screencast-desktop
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 516 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00035 $0.00516
Opus 5 $0.00017 $0.00258
Sonnet 5 $0.00007 $0.00103
Haiku 4.5 $0.00003 $0.00052

Measured yesterday against content hash d6cd8124545d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

record scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/record.md · 45 lines

What it actually says

Record a demo video of the app: $ARGUMENTS

Work step by step and look at the screen after each one — never act blind.

1. Prepare the stage. desktop_windows — find the window. Put it on a non-primary monitor if there is one (desktop_monitors) so it stays off the working screen: desktop_place_window(..., fit=0.7). Confirm from the response that the window fits entirely — an app may come back with a size other than the one it was given, and then it will be cropped in the recording.

2. Check the frame for private content. Take a desktop_screenshot and look: mail, private conversations, names, passwords, notifications. If there is anything in the frame that should not be in the video — tell me about it before recording, not after.

3. Scout the route LIVE. Walk the scenario with clicks via ui_snapshot / desktop_click, confirming from the returned shots that you hit the right places and that the app responds as expected. Mistakes are fine here — this is a draft, it is not being recorded.

4. Return the app to its initial state. An unclosed search box or a card left open from scouting will end up in the video and ruin it.

5. Write the voiceover for the route you found. The script is about actions, not content: a live list changes between the draft and the recording. Show me the script before recording.

6. Record the clean take. desktop_record_start → actions → desktop_record_stop. Between actions, hold pauses matching the length of the narration lines.

7. Assemble and watch. desktop_render, then open the finished file and check with your own eyes: did the camera go where it should, are there black bars at the edges, is the cursor visible. A coordinate mistake produces a technically valid file in which the camera looks at the wrong place.

If something is off — rebuild with desktop_render using different parameters: the app is not relaunched and the screen does not need to be re-recorded.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 45 lines · 0 tokens per session scan A d6cd8124545d

Subscribe to this mod's changes

record is a command published in the GitHub repository JHamidun/screencast-desktop (0 stars, last pushed 7d ago), licensed MIT. It adds 35 tokens to every session and 516 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.