record-browser-gif
Skill by Fei2411
Records browser and web UI sessions as optimized GIFs for demos and pull request evidence. It uses the available browser control workflow and a bundled encoder, and can attach the GIF to a PR with gh or an assets branch.
Install record-browser-gif
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Fei2411/DS-Bot /tmp/DS-Bot && mkdir -p ~/.claude/skills && cp -r /tmp/DS-Bot/.agents/skills/record-browser-gif ~/.claude/skills/record-browser-gifRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Fei2411/DS-Bot /tmp/DS-Bot && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/DS-Bot/.agents/skills/record-browser-gif ~/.gemini/antigravity-cli/skills/record-browser-gifAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Record Browser GIF is an agent skill that turns a browser or web interface session into a short, optimized GIF. It prefers the browser control workflow the assistant has available. When that workflow supports recordVideo, it opens Playwright Videos to get a higher frame rate. A bundled encoder script (scripts/encode_gif.py) crops, changes speed, holds the final frame, and controls output width, colors, frame rate and file size.
The skill is aimed at developers who need demo evidence for pull requests. The source says that PRs changing user-visible interface behavior need screenshot evidence under the PR template, and that a GIF recorded with this skill from the PR branch's real service and real model flow satisfies it. Recording and publishing are kept separate. Publishing can attach the GIF with gh --attach or fall back to a dedicated assets branch.
Written from the project's SKILL.md and checked against it.
What it can do
- Browser recordingRecords a browser or web UI session as a GIF using the available browser control workflow.
- Playwright Videos captureOpens Playwright Videos for a higher frame rate when the workflow supports recordVideo.
- GIF encodingUses scripts/encode_gif.py to crop, change speed, hold the final frame and set size and colors.
- Screenshot storyboardsBuilds a GIF from three to six verified screenshots when continuous recording is unavailable.
- PR attachmentAttaches the GIF to a pull request with gh --attach, or uses an assets branch if that is not possible.
- Output checksReads the encoder summary and checks the encoded GIF before reporting the result.
What you need
- python3, ffmpeg and ffprobe
- gh v2.99.0 or newer to attach GIFs to a PR
- Write access to a github.com repository for PR attachment
- Playwright and Chromium for the headless fallback
- A deepseek-harness checkout for the dev test bench
Try asking
- Record a GIF of this UI change and attach it to the pull request.
- Trim this recording to seconds 2 to 32 at 2x speed with a 3 second final hold.
- Make a screenshot storyboard GIF of the chat flow under 10 MB.
Good to know
- gh --attach works only on github.com, not GitHub Enterprise Server.
- gh --attach accepts GIFs up to 10 MB.
- Demos should use real services and API keys, not fixtures or mock transport, unless the user asks for fixtures.
- GIFs must never be committed to the PR branch or long-lived branches.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/record-browser-gif/SKILL.md, .agents/skills/record-browser-gif/scripts/encode_gif.py, .agents/skills/record-browser-gif/scripts/test_encode_gif.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md15 KB -
scripts/encode_gif.py13 KB -
scripts/test_encode_gif.py5 KB
Alternatives to record-browser-gif
All alternatives →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser
record-browser-gif: common questions
Does it need a real API key to record a demo?
The source says demos should run real services, real API keys and real model turns instead of fixtures or mock transport. It also says credentials must never be read or exposed.
Where does the GIF go after recording?
Recording only produces local video or screenshots and a .gif file. Publishing is a separate final step that runs only when the task includes attaching the GIF to a PR.
What happens if gh --attach is not available?
The skill falls back to a dedicated orphan assets branch and embeds the raw blob URL with ?raw=true in the PR body. It does not force-push or rewrite that branch.
How do I install record-browser-gif?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is record-browser-gif free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is record-browser-gif safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to record-browser-gif?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
