0xmythril/my-agent-skills/redact-demo-recording
Claude Code and agent skill by 0xmythril/my-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when a screen recording or demo video needs personal or sensitive content removed before it is shared — blurring email addresses, faces, wallet addresses, API keys or account details, stripping audio, cutting or fast-forwarding a login segment, or converting the result to mp4. Triggers on requests like "blur my email out of this video", "remove the audio", "fast forward through the login", or a .mov/.mp4 handed over for cleanup before a demo or public post.
Install
npx vskill@latest install 0xmythril/my-agent-skills/redact-demo-recordingSKILL.md
The same SKILL.md was published earlier as 0xmythril/my-agent-skills/redact-demo-recording.
Redact a demo recording
Remove sensitive content from a screen recording without destroying the demo it is meant to show. The output gets shared externally, so an incomplete redaction is the failure mode that matters — a slightly ugly blur is fine, a leaked email is not.
Workflow
1. Probe before anything else
Note the dimensions and whether an audio stream exists. Screen recordings from Retina displays are routinely odd-sized (e.g. 2940x1833), which libx264 rejects outright.
2. Find the regions by looking, never by guessing
This is the step that decides whether the job takes three commands or three hundred. Extract frames at the timestamps where the sensitive content is visible and view the PNGs to read off coordinates:
Read each frame with the image-reading tool and measure the region in source pixels. If a frame was downscaled for display, multiply the coordinates back up by the stated factor before using them.
Ask the user which content must go if it is ambiguous — an over-blurred demo is a wasted re-render, an under-blurred one is a leak.
3. Generate the filtergraph
build_filtergraph.py handles the constraints that break hand-written graphs (see Common mistakes). Regions are x,y,w,h or x,y,w,h@start-end in seconds:
--mode pixelate (the default) is legal at any region size; --mode blur is softer but its radius gets clamped on small regions. Run with --help for all options.
Omit the @start-end window when the content is on screen for the whole clip. Prefer a window when it is not — a permanent blur over a region the demo needs later is the most common re-render cause.
4. Verify on single frames before encoding the whole file
A full encode of a multi-minute 4K recording is slow. Check the graph on stills first:
View them. Only proceed when every region lands where intended.
5. Encode
-an drops audio. Keep it unless the user wants sound — demo recordings frequently capture background conversation. To keep audio, replace -an with -c:a aac -b:a 128k.
6. Verify the output, then report
Re-extract frames from the finished file at the sensitive timestamps and view them. Confirm the content is unreadable. State plainly what was redacted and what was left.
Cutting and speeding up segments
Trim a section (fast, no re-encode of the filter chain):
Speed a segment up 8x — setpts for video, and drop -an only if keeping audio:
Then concatenate parts that share codec and dimensions:
Quick reference
| Need | Approach | |
|---|---|---|
| Blur a fixed region | --region x,y,w,h | |
| Blur only while visible | --region x,y,w,h@start-end | |
| Region too small for blur | --mode pixelate (works at any size) | |
| Strip audio | -an | |
| Odd source dimensions | handled automatically by the generated graph | |
| Fast-forward a segment | setpts=PTS/N on a split-out part, then concat | |
| Burn in a text label | not available — this ffmpeg build has no drawtext |
Common mistakes
- Guessing coordinates instead of extracting a frame. The dominant cause of
repeated re-renders. Always measure from a real frame.
- Encoding the full file to check a blur. Check stills first (step 4).
- `boxblur` radius too large for the region. ffmpeg validates the radius against
the chroma plane, which is half-size in yuv420p — a 28px-tall region allows a chroma radius of only 7. Omitting the 4-parameter form makes chroma inherit the luma radius and fail. The generator clamps both; do not hand-edit radii back up.
- Odd width or height.
height not divisible by 2kills the encode. The generated
graph ends in scale=trunc(iw/2)*2:trunc(ih/2)*2 to prevent it.
- Assembling a filtergraph in a shell loop. Quoting and
$-expansion silently
corrupt filter names (flags= became 26ags, enable= became nable in past runs). Write the graph to a file and use -filter_complex_script.
- Empty filter segments. A trailing
,or a doubled;yields
No such filter: ''. The generator never emits them.
- Declaring the job done without viewing the output. The deliverable is a file the
user will publish. Look at it first.
Regression tests
test_build_filtergraph.py covers the failure modes the generator exists to prevent (chroma-clamped boxblur, odd source dimensions, out-of-bounds regions, empty filter segments, both modes, time windows, multi-region chaining). It stubs nothing but also never calls ffprobe, so it runs anywhere Python 3 is installed:
Any change to build_filtergraph.py should keep these green.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/redact-demo-recording/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/0xmythril/my-agent-skills/redact-demo-recording)