一键导入
jb-pinchtab-testing
Use when smoke-testing a local web app, reproducing frontend bugs, verifying browser flows, or gathering evidence through PinchTab.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when smoke-testing a local web app, reproducing frontend bugs, verifying browser flows, or gathering evidence through PinchTab.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when setting up or reviewing a development environment, especially Varlock env schemas, gitignored env files, macOS Keychain/local secret storage, SOPS/age optional GitOps secrets, CI secret access, dotenv bootstrapping, or secure local dev onboarding.
Use when the repo has .beans or the user mentions beans, beans-prime, flat-file issues, task tracking, or issue status changes.
Opinionated JB GitHub Actions release-attempt workflow. Use only when the repo already has .github/workflows/jb-release-v1.yaml (or equivalent JB release-attempt workflow) or the user explicitly asks to set it up. Do not use for ordinary local releases; use jb-local-release instead.
Use when the user asks to run a local release flow: prepare version/changelog changes, run local checks, commit, tag, and optionally publish only when explicitly requested.
Query MDN Web Docs through the official MDN MCP server using a persistent mcporter config, avoiding a direct MCP connection in the agent harness. Use when checking current web platform docs, CSS/HTML/JavaScript/Web API behavior, MDN browser compatibility data, Baseline support, or when the user asks whether a browser feature is supported.
Use when the user asks for Chrome MCP/DevTools MCP via mcporter, existing Chrome tabs, console/network inspection, screenshots, or performance traces.
| name | jb-pinchtab-testing |
| description | Use when smoke-testing a local web app, reproducing frontend bugs, verifying browser flows, or gathering evidence through PinchTab. |
| homepage | https://github.com/pinchtab/pinchtab |
| metadata | {"clawdbot":{"requires":{"bins":["pinchtab"]}}} |
| skill_author | bjesuiter@gmail.com |
| private | true |
Private higher-level workflow skill for browser testing through the PinchTab CLI.
Use this skill when the task is not “control one browser action” but “test the app well”.
Before using this skill:
pinchtab must be installed.pinchtab health --json
pinchtab profiles --json
Before the first browser-affecting pinchtab command in a session:
pinchtab profiles --json
pinchtab instances --json
--server on every command. Example: if instances --json shows auth-headful on port 9871, use:pinchtab --server http://127.0.0.1:9871 tab --json
pinchtab --server http://127.0.0.1:9871 snap --full --tab <tab-id>
pinchtab --server http://127.0.0.1:9871 console --tab <tab-id> --limit 100
pinchtab --server http://127.0.0.1:9871 click <ref> --tab <tab-id> --snap --json
pinchtab instances --json to discover its instance port:pinchtab instance start --profile <profile-id-or-name>
pinchtab instances --json
Do not silently choose a profile when multiple profiles exist. Do not assume plain pinchtab ... targets the visible browser or the desired profile; plain commands may target the default/current CLI instance instead. Do not use raw HTTP/curl endpoints unless the user explicitly approves bypassing the CLI.
Default loop:
pinchtab profiles --json and ask the user which profile to use.pinchtab instance start --profile <profile-id-or-name>.pinchtab nav <url> --snap --json to open the page.pinchtab find <query> --json for focused target discovery.pinchtab snap --full or pinchtab snap --text for more structure.pinchtab click, pinchtab fill, pinchtab type, or pinchtab press.pinchtab wait --text ...pinchtab wait --url ...pinchtab wait <selector>pinchtab text --jsonpinchtab snap --fullpinchtab text --jsonpinchtab screenshot --output ...pinchtab network --jsonpinchtab consolePrefer this order:
pinchtab instances --json when multiple profiles may be runningpinchtab --server <instance-url> tab --json if tab context is unclearpinchtab --server <instance-url> navpinchtab --server <instance-url> findpinchtab --server <instance-url> snapclick, type, fill, press) with --server <instance-url> and, when known, --tab <tab-id>pinchtab --server <instance-url> waittext, screenshot, network, console) with --server <instance-url>Rules:
pinchtab find + ref reuse over repeated giant snapshots.--json when the output should be parsed or quoted back precisely.Health:
pinchtab health --json
List profiles and running instances before the first request in a session:
pinchtab profiles --json
pinchtab instances --json
Start the chosen profile if needed, then rediscover its port:
pinchtab instance start --profile clean-headless
pinchtab instances --json
Target a running named profile by its instance port:
pinchtab --server http://127.0.0.1:9871 tab --json
Open page and capture an immediate snapshot on the chosen instance:
pinchtab --server http://127.0.0.1:9871 nav http://localhost:3000 --snap --json
Find an element:
pinchtab find "login button" --json
Capture interactive structure:
pinchtab --server http://127.0.0.1:9871 snap --full --tab <tab-id>
Click and capture the next state:
pinchtab --server http://127.0.0.1:9871 click e5 --tab <tab-id> --snap --json
Fill input directly:
pinchtab fill e7 "someone@example.com" --snap --json
Press Enter:
pinchtab press Enter --snap --json
Wait for success text:
pinchtab wait --text "Saved successfully" --timeout 10000 --json
Extract readable text:
pinchtab text --json
Capture screenshot evidence:
pinchtab screenshot --output tmp/pinchtab-failure.jpg
Check recent network activity:
pinchtab network --json
Goal: prove the main path is alive.
Goal: follow reported steps exactly.
Goal: confirm a claimed fix.
Goal: probe an uncertain UI area.
Always report in this shape:
pinchtab eval only when simpler commands are insufficient.pinchtab instances --json to map that profile to its instance URL/port, then pass --server http://127.0.0.1:<port> on subsequent CLI commands.pinchtab --server http://127.0.0.1:<port> tab --json before snapshot/click/console commands.--tab <tab-id> for snap, console, click, and similar commands when more than one instance/tab may exist.