Agent skill

Yas PR Screenshots

by tmck-code in tmck-code/yet-another-statusline

Generate before/after PNG screenshots for a YAS branch's rendering changes, push them to the yas-pr-screenshots repo, and hand back a markdown before/after table for the PR description.

BSD-3-ClauseAuto-check passedDevelopment

Install Yas PR Screenshots

skills CLI
$ npx skills add tmck-code/yet-another-statusline --skill yas-pr-screenshots -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tmck-code/yet-another-statusline yas-pr-screenshots --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tmck-code/yet-another-statusline.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/yas-pr-screenshots .claude/skills/yas-pr-screenshots && rm -rf skills-src

Use ~/.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/

Facts

Skill name
yas-pr-screenshots
GitHub stars
242
Token cost
~1.2k tokens
SKILL.md length
487 words
Files
2 (incl. scripts)
Skills in repo
7
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Generate before/after PNG screenshots for a YAS branch's rendering changes, push them to the yas-pr-screenshots repo, and hand back a markdown before/after table for the PR description.

  • Works in 6 steps: Resolve . If the current branch already… → Locate the screenshots checkout. Use… → Pick variants. Always shoot… → …
  • The user wants real image screenshots (not ANSI-stripped text) attached to a YAS pull request
  • SKILL.md covers Steps and Notes
  • Runs Shell scripts from its folder; calls git and gh

What it does

Yas PR Screenshots is an agent skill from tmck-code/yet-another-statusline. Generate before/after PNG screenshots for a YAS branch's rendering changes, push them to the yas-pr-screenshots repo, and hand back a markdown before/after table for the PR description. Use when the user wants real image screenshots (not ANSI-stripped text) attached to a YAS pull request, or asks to shoot/capture before-after statusline screenshots for a branch.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/shoot.sh`).

It sits in Development, covering Pull requests. It works with Git and GitHub. The repository describes itself as: A statusline for Claude Code inspired by terminal monitor programs. The licence is BSD-3-Clause.

When your agent uses it

  • The user wants real image screenshots (not ANSI-stripped text) attached to a YAS pull request
  • Asks to shoot/capture before-after statusline screenshots for a branch

Example prompts

  • “/yas-pr-screenshots”

Requirements

  • A Bash shell

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Resolve . If the current branch already has a PR, use its number
  2. Locate the screenshots checkout. Use $YAS_PR_SCREENSHOTS_DIR if set, else a
  3. Pick variants. Always shoot kitchen-sink. Then read git diff --stat main...HEAD
  4. Render + stage. From the YAS repo root run the helper with the chosen variants
  5. Commit + push (outward-facing — confirm with the user first)
  6. Hand off the table. Output the table from step 4 verbatim as the final result so

What it can do on your machine

Read from SKILL.md and the folder at commit 26dc47d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • git
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Yas PR Screenshots loads about 1.2k tokens when it runs. Until then it costs about 96 tokens; SKILL.md has 487 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~96
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from tmck-code/yet-another-statusline at commit 26dc47d, republished under its BSD-3-Clause licence (© tmck-code). 487 words, ~1,224 tokens.

Download SKILL.mdSave it as .claude/skills/yas-pr-screenshots/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
yas-pr-screenshots
description
Generate before/after PNG screenshots for a YAS branch's rendering changes, push them to the yas-pr-screenshots repo, and hand back a markdown before/after table for the PR description. Use when the user wants real image screenshots (not ANSI-stripped text) attached to a YAS pull request, or asks to shoot/capture before-after statusline screenshots for a branch.

YAS PR screenshots

Render the statusline on main ("before") and on the current branch ("after") as deterministic PNGs, publish them to the public tmck-code/yas-pr-screenshots repo, and emit a markdown table that another worker (e.g. the yas-pr skill or a gh pr edit) drops into the PR body. PNGs come from DEMO_ONLY=<scenario> make demo/img (via ops/ansi_png.py — needs ImageMagick magick + a Mono Nerd Font).

Steps

  1. Resolve <pr_id>. If the current branch already has a PR, use its number (gh pr view --json number -q .number). Otherwise predict the next one: gh pr list --state all --limit 1 --json number -q '.[0].number' + 1.

  2. Locate the screenshots checkout. Use $YAS_PR_SCREENSHOTS_DIR if set, else a sibling ../yas-pr-screenshots, else clone git@github.com:tmck-code/yas-pr-screenshots.git. Ensure it's on main and clean (git -C <dir> pull --ff-only). *.png is LFS-tracked there.

  3. Pick variants. Always shoot kitchen-sink. Then read git diff --stat main...HEAD (and the diff) and add the variants most relevant to what changed — map area → variant:

    Branch touchesAdd variant LABEL:SCENARIO:ENV
    subagents / openspec / tasks / workflowssubagents:subagents: · openspec:openspec: · tasks:tasks: · workflows:workflows:
    context fill / soft limit / token windowfull-context:full-context: (or YAS_SOFT_LIMIT=)
    config parsing / errorsconfig-error:config-error:
    narrow width / truncationnarrow:kitchen-sink:YAS_MAX_WIDTH=40
    full widthfull-width:kitchen-sink:YAS_FULL_WIDTH=1
    justify / labelsjustify:kitchen-sink:YAS_JUSTIFY=1 · labels:kitchen-sink:YAS_LABELS=1
    theme / gradient / colourtheme-<name>:kitchen-sink:YAS_THEME=<name>
    glyph modegithub:kitchen-sink:YAS_GLYPH_MODE=github
    model / thinkingopus-thinking:opus-thinking: · sonnet-thinking:sonnet-thinking:

    Use the same ENV on both sides so the diff is purely the content change. Scenario names: ops/demo.py SCENARIOS (kitchen-sink, tasks, openspec, subagents, workflows, full-context, config-error, sonnet-thinking, opus-thinking, …).

  4. Render + stage. From the YAS repo root run the helper with the chosen variants:

    bash
    .claude/skills/yas-pr-screenshots/scripts/shoot.sh <pr_id> <screenshots_dir> \
      'kitchen-sink:kitchen-sink:' 'narrow:kitchen-sink:YAS_MAX_WIDTH=40' 'subagents:subagents:'

    For each variant it renders after (current tree) and before (a throwaway main worktree), then combines the pair into ONE wide PNG — before and after side by side, each half topped by a small "before" / "after" heading, joined by a visible vertical separator strip (ImageMagick magick, deterministic). The combined image lands at screenshots/<pr_id>/<label>.png (the raw halves are also kept under screenshots/<pr_id>/{before,after}/ for reference, but the table embeds only the combined image). It prints the markdown table to stdout: a blank-headed left column holding the variant label, one row per variant. A before render that fails (scenario new to the branch) yields a "(not on main)" placeholder left half instead of aborting.

    |  | before / after |
    |--|----------------|
    | <label> | ![<label>](<url_base>/<label>.png?raw=true) |

    When the change is theme-wide, use the same scenario (usually kitchen-sink) across all rows and vary only YAS_THEME, labelling each row with the theme name.

  5. Commit + push (outward-facing — confirm with the user first):

    bash
    git -C <dir> add screenshots/<pr_id>
    git -C <dir> commit -m "screenshots: PR #<pr_id> before/after (<branch>)"
    git -C <dir> push origin main
  6. Hand off the table. Output the table from step 4 verbatim as the final result so the PR-authoring worker can paste it into the Screenshots / recording section. Do not edit the PR body yourself — that's the next worker's job.

Show full SKILL.md (52 more words)Show less

Notes

  • Images render only after the push lands (GitHub's LFS/image proxy may lag a few seconds).
  • The embed URL is .../blob/main/screenshots/<pr_id>/<label>.png?raw=true — the ?raw=true blob form resolves LFS pointers correctly where raw.githubusercontent.com doesn't.
  • Prerequisite: magick on PATH (also used for the combine step) and a Mono Nerd Font installed (see ops/ansi_png.py env knobs).

© tmck-code, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in .claude/skills/yas-pr-screenshots of tmck-code/yet-another-statusline.

  • SKILL.md
  • scripts/shoot.sh

Open the folder on GitHubat commit 26dc47d

Compare with similar skills

Yas PR 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.

Yas PR Screenshots compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Yas PR Screenshots this skilltmck-code/yet-another-statusline242—~1.2kAutomated safety check: PassBSD-3-Clause
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0
PR Review State Fetchprisma/orm48k—~767Automated safety check: PassApache-2.0
Creating Description For Gh PRredis/jedis12k—~838Automated safety check: PassMIT

Similar skills

  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    Fetches a pull request's canonical review state as JSON, validates it, and renders markdown, a text summary and triage target files from it using bundled scripts.

    48k GitHub stars~767 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Official

    Generate a clear, concise GitHub PR title and description from the diff between two local git branches, and save it to prDescription.md in the repo root.

    12k GitHub stars~838 tokensUpdated today
    DevelopmentAuto-check passed
  • Opens a pull request for the current branch using the repo's template, a work item ID in the title and a description filled in from the actual diff.

    60k GitHub stars~824 tokensUpdated yesterday
    DevelopmentAuto-check passed

More from tmck-code/yet-another-statusline

  • Yas Demo Text

    tmck-code/yet-another-statusline

    Convert make demo/img statusline snapshots into ANSI-stripped plain text for diffing and PR embedding.

    242 GitHub stars~649 tokensUpdated 3 days ago
    Auto-check passed
  • Tmck Code Statusline

    tmck-code/yet-another-statusline

    Edit the Claude Code statusline renderer safely. An agent skill from tmck-code/yet-another-statusline.

    242 GitHub stars~3k tokensUpdated 3 days ago
    Auto-check passed
  • Uninstall

    tmck-code/yet-another-statusline

    Unwire yet-another-statusline from Claude Code — removes statusLine.command from settings.json in CLAUDECONFIGDIR (default ~/.claude/) and deletes the renderer's runtime state.

    242 GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check: notes
  • Yas PR

    tmck-code/yet-another-statusline

    Assemble a pull request that follows this repo's PR template, then open it as a draft.

    242 GitHub stars~1.1k tokensUpdated 3 days ago
    Auto-check passed
  • Config

    tmck-code/yet-another-statusline

    Reconfigure yet-another-statusline — re-runs the interactive install wizard (glyph mode, theme, labels, token soft-limit, and Python version) against the already-installed plugin and re-wires…

    242 GitHub stars~254 tokensUpdated 3 days ago
    Auto-check: notes
  • Init

    tmck-code/yet-another-statusline

    Wire yet-another-statusline into Claude Code — writes statusLine.command to settings.json in CLAUDECONFIGDIR (default ~/.claude/).

    242 GitHub stars~185 tokensUpdated 3 days ago
    Auto-check: notes

Works with

Categories

Questions about Yas PR Screenshots

What does Yas PR Screenshots do?

Generate before/after PNG screenshots for a YAS branch's rendering changes, push them to the yas-pr-screenshots repo, and hand back a markdown before/after table for the PR description. Yas PR Screenshots is an agent skill from tmck-code/yet-another-statusline. Generate before/after PNG screenshots for a YAS branch's rendering changes, push them to the yas-pr-screenshots repo, and hand back a markdown before/after table for the PR description.

When should I use Yas PR Screenshots?

Yas PR Screenshots fits situations like: the user wants real image screenshots (not ANSI-stripped text) attached to a YAS pull request; asks to shoot/capture before-after statusline screenshots for a branch.

How do I install Yas PR Screenshots in Claude Code?

Run `npx skills add tmck-code/yet-another-statusline --skill yas-pr-screenshots -a claude-code`. Or copy the skill folder (.claude/skills/yas-pr-screenshots in tmck-code/yet-another-statusline) into .claude/skills/yas-pr-screenshots in your project. Claude Code loads it when a task matches its description.

How do I install Yas PR Screenshots in Codex?

Run `npx skills add tmck-code/yet-another-statusline --skill yas-pr-screenshots -a codex`. Or copy the skill folder (.claude/skills/yas-pr-screenshots in tmck-code/yet-another-statusline) into .agents/skills/yas-pr-screenshots in your project. Codex loads it when a task matches its description.

Can I use Yas PR Screenshots in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tmck-code/yet-another-statusline --skill yas-pr-screenshots -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/yas-pr-screenshots, .gemini/skills/yas-pr-screenshots, .github/skills/yas-pr-screenshots and .opencode/skills/yas-pr-screenshots in your project.

What does Yas PR Screenshots need to run?

Going by SKILL.md and its folder, Yas PR Screenshots needs a shell for the scripts in its folder and the command-line tools its instructions call (git and gh). Our summary lists: A Bash shell.

Does Yas PR Screenshots access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Yas PR Screenshots safe to install?

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.

What licence does Yas PR Screenshots use?

Yas PR Screenshots is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Yas PR Screenshots use?

About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Yas PR Screenshots?

Skills that share tags, products or a category with Yas PR Screenshots: Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Create Pull Request (cline/cline, 70k stars), Pull Request Title and Body Writer (openinterpreter/openinterpreter, 69k stars) and PR Review State Fetch (prisma/orm, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Yas PR Screenshots?

tmck-code (a GitHub user) maintains it in tmck-code/yet-another-statusline, which has 242 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 4, 2026.

Source: tmck-code/yet-another-statusline on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.