/install pinchtab-browser-ops
PinchTab Browser Ops
Use PinchTab as the default browser-control path.
Workflow
- Start and verify PinchTab
- Navigate and snapshot page structure
- Operate elements by refs (
click/fill/press) from fresh snapshots - Verify outcome with
text, URL, and key UI markers
1) Instance lifecycle policy (mandatory)
Always reuse existing running instance first.
Rules:
- Reuse current running instance/profile whenever it is operable.
- Launch a new instance only when no operable instance exists.
- Do not close browser instances after task completion.
- Keep the instance alive for subsequent tasks and state continuity.
Check state first:
pinchtab health
pinchtab instances
pinchtab tab list
Only if unavailable, start service/instance:
pinchtab server
# then launch an instance only when needed
2) Navigate and map page
Open the target page:
pinchtab nav \x3Curl>
# or
pinchtab nav \x3Curl> --new-tab
Get actionable structure (preferred):
pinchtab snap -i -c
Use pinchtab find "\x3Clabel>" if the page is large, then confirm with a fresh snap before action.
3) Operate safely by refs
Prefer deterministic commands:
pinchtab click \x3Cref>
pinchtab fill \x3Cref> "..."
pinchtab press \x3Cref> Enter
Rules:
- Re-snapshot after each major state change (modal open, route change, submit, tab switch).
- Insert a short stabilization delay (
1-2s) between critical actions on dynamic pages. - Do not reuse stale refs after navigation or rerender.
- Retry at most 2 times with fresh
snap; then ask for human intervention.
4) Verify and finish
Always validate completion using:
pinchtab text
pinchtab tab list
Check at least one concrete success signal (for example: “草稿箱(1)”, “保存成功”, changed URL, expected title).
Login/CAPTCHA policy
- Require user to complete login, QR scan, SMS code, CAPTCHA, or 2FA manually in local browser.
- Do not request, store, or relay one-time codes.
- Resume automation only after user confirms “已登录”.
Fallback policy
If strict nav/snap/find/click/fill/press/text cannot progress:
- Recheck page state and auth state.
- Ask user for one manual step (focused unblock only).
- Use
evalonly when explicitly approved and only for short-lived unblock; revert to normal flow immediately.
Resource map
- 小红书长文发布标准流程(标题\x3C=20、正文描述、话题、暂存离开):
references/xiaohongshu-longform.md
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install pinchtab-browser-ops - After installation, invoke the skill by name or use
/pinchtab-browser-ops - Provide required inputs per the skill's parameter spec and get structured output
What is PinchTab Browser Ops?
Browser automation via PinchTab CLI (nav/snap/find/click/fill/press/text) with low-token accessibility-tree flow. Use when the user asks to operate websites,... It is an AI Agent Skill for Claude Code / OpenClaw, with 383 downloads so far.
How do I install PinchTab Browser Ops?
Run "/install pinchtab-browser-ops" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is PinchTab Browser Ops free?
Yes, PinchTab Browser Ops is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does PinchTab Browser Ops support?
PinchTab Browser Ops is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created PinchTab Browser Ops?
It is built and maintained by WisZhou (@wiszhou); the current version is v0.1.4.