Terminal Screenshot Capture
QwenLM/qwen-code
Drives a CLI through a TypeScript scenario and saves terminal screenshots at each step, so pull requests that change command output can be checked visually.
Captures before and after screenshots of two URLs or images with the Vercel before-and-after CLI, uploads them and can add a markdown comparison to a pull request.
$ npx skills add michaelshimeles/skills --skill before-and-after -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install michaelshimeles/skills before-and-after --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/michaelshimeles/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/before-and-after .claude/skills/before-and-after && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "before-and-after" agent skill from https://github.com/michaelshimeles/skills/tree/main/before-and-after into .claude/skills/before-and-after/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "before-and-after", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/michaelshimeles/skills/tree/main/before-and-afterType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add michaelshimeles/skills --skill before-and-after -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install michaelshimeles/skills before-and-after --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/michaelshimeles/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/before-and-after .agents/skills/before-and-after && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "before-and-after" agent skill from https://github.com/michaelshimeles/skills/tree/main/before-and-after into .agents/skills/before-and-after/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "before-and-after", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add michaelshimeles/skills --skill before-and-after -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install michaelshimeles/skills before-and-after --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/michaelshimeles/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/before-and-after .cursor/skills/before-and-after && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "before-and-after" agent skill from https://github.com/michaelshimeles/skills/tree/main/before-and-after into .cursor/skills/before-and-after/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "before-and-after", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/michaelshimeles/skills.git --path before-and-after--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add michaelshimeles/skills --skill before-and-after -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install michaelshimeles/skills before-and-after --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/michaelshimeles/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/before-and-after .gemini/skills/before-and-after && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "before-and-after" agent skill from https://github.com/michaelshimeles/skills/tree/main/before-and-after into .gemini/skills/before-and-after/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "before-and-after", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install michaelshimeles/skills before-and-afterInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add michaelshimeles/skills --skill before-and-after -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/michaelshimeles/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/before-and-after .github/skills/before-and-after && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "before-and-after" agent skill from https://github.com/michaelshimeles/skills/tree/main/before-and-after into .github/skills/before-and-after/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "before-and-after", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add michaelshimeles/skills --skill before-and-after -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install michaelshimeles/skills before-and-after --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/michaelshimeles/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/before-and-after .opencode/skills/before-and-after && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "before-and-after" agent skill from https://github.com/michaelshimeles/skills/tree/main/before-and-after into .opencode/skills/before-and-after/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "before-and-after", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
before-and-afterCaptures before and after screenshots of two URLs or images with the Vercel before-and-after CLI, uploads them and can add a markdown comparison to a pull request.
The skill uses the `@vercel/before-and-after` package, not a similarly named one. The execution order is fixed: check the CLI is installed (installing it globally if not), check whether a `.vercel.app` URL is protected (401 or 403), capture the two pages, upload the images with `scripts/upload-and-copy.sh`, and optionally append the markdown to a PR with `gh pr edit`.
The agent does not switch branches, stash changes or start dev servers, and never guesses what the before state is: the current state is treated as after, and if only one URL is given it asks for the before URL. Flags cover mobile and tablet viewports, a custom size, a CSS selector, an output folder and markdown output; full-page capture is used only on request. Uploads go to 0x0.st by default, with blob and gist adapters bundled, and protected Vercel previews need a bypass token.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 4b72f46. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
Bash(npx @vercel/before-and-after *)Bash(before-and-after *)Bash(which before-and-after)Bash(npm install -g @vercel/before-and-after)Bash(*/upload-and-copy.sh *)Bash(curl -s -o /dev/null -w *)Bash(gh pr view *)Bash(gh pr edit *)Bash(vercel inspect *)Bash(vercel whoami)…and 2 more on the same allowed-tools line.
From allowed-tools in the SKILL.md frontmatter.
Ships 5 files in scripts/ (Shell), which the agent can run.
Shell commands in SKILL.md call:
ghnpxnpmvercelcurlFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh, npx, npm, vercel and curl, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Before and After Screenshots loads about 1k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 289 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from michaelshimeles/skills at commit 4b72f46, republished under its MIT licence (© michaelshimeles). 289 words, ~1,010 tokens.
.claude/skills/before-and-after/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.Package:
@vercel/before-and-afterNever usebefore-and-after(wrong package).
DO NOT:
--full unless user explicitly asks for full page / full scroll captureDO:
--markdown when user wants PR integration or markdown output--mobile / --tablet if user mentions phone, mobile, tablet, responsive, etc.which before-and-after || npm install -g @vercel/before-and-after.vercel.app URL: curl -s -o /dev/null -w "%{http_code}" "<url>" (401/403 = protected)before-and-after "<before-url>" "<after-url>"./scripts/upload-and-copy.sh <before.png> <after.png> --markdowngh pr edit to append markdownNever skip steps 1-2.
# Basic usage
before-and-after <before-url> <after-url>
# With selector
before-and-after url1 url2 ".hero-section"
# Different selectors for each
before-and-after url1 url2 ".old-card" ".new-card"
# Viewports
before-and-after url1 url2 --mobile # 375x812
before-and-after url1 url2 --tablet # 768x1024
before-and-after url1 url2 --full # full scroll
# From existing images
before-and-after before.png after.png --markdown
# Via npx (use full package name!)
npx @vercel/before-and-after url1 url2| Flag | Description |
|---|---|
-m, --mobile | Mobile viewport (375x812) |
-t, --tablet | Tablet viewport (768x1024) |
--size <WxH> | Custom viewport |
-f, --full | Full scrollable page |
-s, --selector | CSS selector to capture |
-o, --output | Output directory (default: ~/Downloads) |
--markdown | Upload images & output markdown table |
--upload-url <url> | Custom upload endpoint (default: 0x0.st) |
# Default (0x0.st - no signup needed)
./scripts/upload-and-copy.sh before.png after.png --markdown
# GitHub Gist
IMAGE_ADAPTER=gist ./scripts/upload-and-copy.sh before.png after.png --markdownIf .vercel.app URL returns 401/403:
which vercel && vercel whoamivercel inspect <url> to get bypass token# Check for gh CLI
which gh
# Get current PR
gh pr view --json number,body
# Append screenshots to PR body
gh pr edit <number> --body "<existing-body>
## Before and After
<generated-markdown>"If no gh CLI: output markdown and tell user to paste manually.
| Error | Fix |
|---|---|
command not found | npm install -g @vercel/before-and-after |
could not determine executable | Use npx @vercel/before-and-after (full name) |
| 401/403 on .vercel.app | See Vercel protection section |
| Element not found | Verify selector exists on page |
© michaelshimeles, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files (scripts) in before-and-after of michaelshimeles/skills.
Open the folder on GitHubat commit 4b72f46
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in michaelshimeles/skills, which our catalogue first saw on October 7, 2026.
Before and After Screenshots next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Before and After Screenshots this skillmichaelshimeles/skills | 1.3k | 1 repos | ~1k | Automated safety check: Pass | MIT | |
| Terminal Screenshot CaptureQwenLM/qwen-code | 28k | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| UI Visual DebuggingNangoHQ/nango | 13k | — | ~1.3k | Automated safety check: Pass | Custom licence | |
| Bun Runtimespinspire/pocketbase-sveltekit-starter | 511 | 5 repos | ~653 | Automated safety check: Notes | MIT | |
| Pre Commitwellwelwel/poku | 1.2k | — | ~728 | Automated safety check: Pass | MIT | |
| Before Afterevloghq/evlog | 1.9k | — | ~2.7k | Automated safety check: Pass | MIT |
QwenLM/qwen-code
Drives a CLI through a TypeScript scenario and saves terminal screenshots at each step, so pull requests that change command output can be checked visually.
NangoHQ/nango
A skill your agent uses when modifying or visually debugging Nango frontend UI, including packages/webapp, packages/connect-ui, browser interactions, screenshots, and visual regressions.
spinspire/pocketbase-sveltekit-starter
Bun as runtime, package manager, bundler, and test runner. An agent skill from spinspire/pocketbase-sveltekit-starter.
wellwelwel/poku
Run the mandatory pre-commit checks for the poku repository before staging a commit.
evloghq/evlog
Produce a before/after visual comparison of an evlog surface (landing, docs, telemetry, playgrounds) and share it as public Blob URLs.
openclaw/clawhub
Run and verify ClawHub production deploys and stable ClawHub CLI npm releases.
michaelshimeles/skills
Records an annotated screen recording of the agent testing an app hands-on, then posts the video and a results summary to the PR and tracker issue.
michaelshimeles/skills
Loops on a large pull request, merge request or Perforce changelist, fixing Greptile findings until it scores 5/5 with no unresolved comments.
michaelshimeles/skills
Start a new task in an isolated Git worktree branched from origin/main so multiple agents can work on the same repo in parallel without conflicts.
Categories
Captures before and after screenshots of two URLs or images with the Vercel before-and-after CLI, uploads them and can add a markdown comparison to a pull request. The skill uses the `@vercel/before-and-after` package, not a similarly named one.sh`, and optionally append the markdown to a PR with `gh pr edit`.
Before and After Screenshots fits situations like: documenting a UI change with before and after screenshots for a PR; comparing a production page with a preview deployment visually; capturing mobile or tablet views of two versions of a page.
Run `npx skills add michaelshimeles/skills --skill before-and-after -a claude-code`. Or copy the skill folder (before-and-after in michaelshimeles/skills) into .claude/skills/before-and-after in your project. Claude Code loads it when a task matches its description.
Run `npx skills add michaelshimeles/skills --skill before-and-after -a codex`. Or copy the skill folder (before-and-after in michaelshimeles/skills) into .agents/skills/before-and-after in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add michaelshimeles/skills --skill before-and-after -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/before-and-after, .gemini/skills/before-and-after, .github/skills/before-and-after and .opencode/skills/before-and-after in your project.
Going by SKILL.md and its folder, Before and After Screenshots needs a shell for the scripts in its folder and the command-line tools its instructions call (gh, npx, npm, vercel and curl). Our summary lists: Node.js with npm, to install `@vercel/before-and-after`; GitHub CLI `gh`, only for editing a PR; Vercel CLI, only for protected preview URLs. Its frontmatter pre-approves these tools: Bash(npx @vercel/before-and-after *), Bash(before-and-after *), Bash(which before-and-after), Bash(npm install -g @vercel/before-and-after), Bash(*/upload-and-copy.sh *), Bash(curl -s -o /dev/null -w *), Bash(gh pr view *), Bash(gh pr edit *), Bash(vercel inspect *), Bash(vercel whoami), Bash(which vercel), Bash(which gh).
SKILL.md contains no URLs. Its commands use gh, npx, npm and curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Before and After Screenshots is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Before and After Screenshots: Terminal Screenshot Capture (QwenLM/qwen-code, 28k stars), UI Visual Debugging (NangoHQ/nango, 13k stars), Bun Runtime (spinspire/pocketbase-sveltekit-starter, 511 stars) and Pre Commit (wellwelwel/poku, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
michaelshimeles (a GitHub user) maintains it in michaelshimeles/skills, which has 1,279 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 4, 2026.
Source: michaelshimeles/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.