← 返回
开发者工具

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,...
通过 PinchTab CLI(nav/snap/find/click/fill/press/text)实现浏览器自动化,采用低 token 可访问性树流程。当用户请求操作网站时使用。
wiszhou
开发者工具 clawhub v0.1.4 1 版本 99862.8 Key: 无需
★ 0
Stars
📥 728
下载
💾 13
安装
1
版本
#browser-automation#latest#openclaw#pinchtab#xiaohongshu

概述

PinchTab Browser Ops

Use PinchTab as the default browser-control path.

Workflow

  1. Start and verify PinchTab
  2. Navigate and snapshot page structure
  3. Operate elements by refs (click/fill/press) from fresh snapshots
  4. 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 <url>
# or
pinchtab nav <url> --new-tab

Get actionable structure (preferred):

pinchtab snap -i -c

Use pinchtab find " if the page is large, then confirm with a fresh snap before action.

3) Operate safely by refs

Prefer deterministic commands:

pinchtab click <ref>
pinchtab fill <ref> "..."
pinchtab press <ref> 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:

  1. Recheck page state and auth state.
  2. Ask user for one manual step (focused unblock only).
  3. Use eval only when explicitly approved and only for short-lived unblock; revert to normal flow immediately.

Resource map

  • 小红书长文发布标准流程(标题<=20、正文描述、话题、暂存离开): references/xiaohongshu-longform.md

版本历史

共 1 个版本

  • v0.1.4 当前
    2026-03-29 16:57 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,436
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,553
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,636