# Attaching Browser Recordings An installable [Agent Skill](https://agentskills.io/) that makes a concise browser recording part of pull-request evidence for browser-visible changes. It directs an agent to exercise the real UI flow with available browser automation, verify the result, and upload the video with GitHub CLI's `--attach` flag during the already-authorized PR workflow. The skill skips changes with no meaningful browser behavior and reports blockers instead of claiming evidence it could not produce. ## Requirements - Browser automation with native video capture, such as [`agent-browser`](https://github.com/vercel-labs/agent-browser/blob/main/skill-data/core/references/video-recording.md) - GitHub CLI 2.99.0 or newer - GitHub.com network access - An authenticated GitHub CLI session with push access to the target repository ## Install List or install the skill from a local checkout: ```bash npx skills add . --list npx skills add . --skill attaching-browser-recordings ``` After this repository is published to GitHub: ```bash npx skills add /attaching-browser-recordings --skill attaching-browser-recordings ``` The [`skills` CLI](https://github.com/vercel-labs/skills) detects the conventional `skills/attaching-browser-recordings/SKILL.md` layout and supports Codex, Claude Code, Cursor, GitHub Copilot, and many other agents. ## What it enforces - Record only reviewer-relevant browser behavior. - Use sanitized test data and exclude secrets or personal information. - Keep recordings outside the working tree and at most 10 MB. - Use a standalone Markdown reference so GitHub renders the video player. - Attach automatically when creating or updating the PR is already authorized. - Preserve the recording and report the precise cause if upload fails. ## Sources - [GitHub CLI media announcement](https://github.blog/changelog/2026-09-01-github-cli-media-in-issues-pull-requests-and-comments/) - [GitHub CLI attachment documentation](https://docs.github.com/en/github-cli/github-cli/attaching-files-with-github-cli) - [Agent Skills specification](https://agentskills.io/specification) - [Vercel Agent Skills documentation](https://vercel.com/docs/agent-resources/skills) ## License MIT