Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-agent-capture

БесплатноБез исполняемых скриптовНе проверен

macOS screen capture, window recording, GIF conversion, and agent evidence bundles from the terminal. Built on ScreenCaptureKit for window-level targeting…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

Agent Capture - Printing Press CLI

Prerequisites: Install the CLI

This skill drives the agent-capture-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install agent-capture --cli-only
    
  2. Verify: agent-capture-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

go install github.com/mvanhorn/printing-press-library/library/developer-tools/agent-capture/cmd/agent-capture-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

When to Use This CLI

Reach for this when the user wants:

  • screenshot a specific window or app (screenshot, batch for multiple)
  • record video of a window, app, display, or region (record)
  • convert a recording to an optimized GIF (convert)
  • do a full capture + record + GIF pipeline in one command (pipeline)
  • diff against a baseline screenshot (diff) for before/after evidence
  • bundle screenshots + recording + GIF as evidence for a PR or bug report (evidence)
  • find the right window by fuzzy-matching its title (find)
  • stitch multiple screenshots into an animated GIF (stitch)
  • extract text from a window using macOS Vision OCR (ocr)
  • record a terminal session via VHS tape files (vhs)
  • render Remotion compositions to video or stills (remotion)
  • monitor a UI by periodic screenshots (watch)
  • save and replay capture configs (preset)

Skip it on non-macOS hosts; the CLI uses ScreenCaptureKit (macOS only). On first run it will prompt for Screen Recording permission; the permissions command guides that flow.

Argument Parsing

Parse $ARGUMENTS:

  1. Empty, help, or --help -> show agent-capture --help
  2. Starts with install -> CLI installation (no MCP server ships today)
  3. Anything else -> Direct Use (map to the best command and run it)

Direct Use

  1. Check installed: which agent-capture. If missing, offer CLI installation.
  2. If permissions aren't granted, run agent-capture permissions first.
  3. Use agent-capture list to see available capture targets (open windows, displays).
  4. Use agent-capture find <text> to fuzzy-match a window title before capturing.
  5. Execute with --json for structured output (agent-native default):
    agent-capture <command> [args] --json
    

Notable Commands

Command What it does
screenshot Capture a window, app, display, or region
record Record video of a window, app, display, or region
pipeline Record + convert + optimize in one command
convert Video -> optimized GIF (two-pass palette)
diff Capture + diff against a baseline
evidence Full bundle (screenshots + recording + GIF) for a PR
batch Screenshot multiple apps in one invocation
find Fuzzy search open window titles
list List available capture targets
ocr Extract text from a window using macOS Vision
stitch Combine screenshots into an animated GIF
vhs Run a VHS tape file for terminal recording
remotion Render Remotion compositions
watch Periodic capture for UI monitoring
preset Save / load capture configs
permissions Guide Screen Recording permission setup
health Machine-readable CI / agent preflight

Run any command with --help for full flag documentation.

Exit Codes

Code Meaning
0 Success
2 Usage error (wrong arguments)
3 Target not found (no matching window or display)
4 Permissions missing (Screen Recording not granted)
5 Capture error (ScreenCaptureKit failure, ffmpeg failure)
Полный SKILL.md на GitHub

Установить pp-agent-capture в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

Вложенные файлы

.manuscripts/20260405-115134/proofs/2026-04-05-115134-fix-agent-capture-pp-cli-build-log.md.manuscripts/20260405-115134/proofs/2026-04-05-115134-fix-agent-capture-pp-cli-shipcheck.md.manuscripts/20260405-115134/research/2026-04-05-115134-feat-agent-capture-pp-cli-absorb-manifest.md.manuscripts/20260405-115134/research/2026-04-05-115134-feat-agent-capture-pp-cli-brief.md.printing-press-patches/.gitkeep.printing-press-patches/catalog-go-1264-vuln-floor.json.printing-press-patches/catalog-go-1265-vuln-floor.json.printing-press-patches/catalog-go-1266-xml-vuln-floor.json.printing-press-patches/doctor-remotion-versions-and-capture-doc-runtime-truth.json.printing-press-patches/stampable-runtime-version-literal.json.printing-press-release.json.printing-press.jsonAGENTS.mdCHANGELOG.mdREADME.mdcmd/agent-capture-pp-cli/main.gogo.modgo.suminternal/capture/capture.gointernal/capture/cgwindow.gointernal/cli/batch.gointernal/cli/convert.gointernal/cli/diff.gointernal/cli/doctor.gointernal/cli/doctor_test.gointernal/cli/evidence.gointernal/cli/find.gointernal/cli/health.gointernal/cli/list.gointernal/cli/ocr.gointernal/cli/output.gointernal/cli/permissions.gointernal/cli/pipeline.gointernal/cli/preset.gointernal/cli/record.gointernal/cli/remotion.gointernal/cli/root.gointernal/cli/screenshot.gointernal/cli/stitch.gointernal/cli/vhs.go

FAQ

Что делает скилл pp-agent-capture?

macOS screen capture, window recording, GIF conversion, and agent evidence bundles from the terminal. Built on ScreenCaptureKit for window-level targeting ffmpeg cannot do. Use when the user wants a screenshot of a specific window or app, a screen recording, a GIF conversion, a before/after diff, an evidence bundle for a PR, OCR text from a window, a terminal VHS recording, a Remotion render, or wants to watch a UI for changes. Requires macOS Screen Recording permission on first run.

Как установить скилл pp-agent-capture?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-agent-capture запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-agent-capture с