pinchtab
luigi-agosti 作
Web & Frontend Development概要
Control a headless or headed Chrome browser via Pinchtab's HTTP API.
説明
このスキルでできること
Pinchtab controls a Chrome browser via a local HTTP API, exposing the page's accessibility tree as flat JSON with stable element refs. Designed for AI agents doing web automation, scraping, form filling, and multi-tab workflows. Optimized for low token cost compared to screenshot-only or full DOM approaches.
The accessibility tree output uses 56-93% fewer tokens than full DOM or screenshot approaches, making it significantly cheaper to run browser automation inside AI agent loops.
使いどころ
- Scraping product prices from e-commerce sites
- Automating login and form submission on internal tools
- Extracting structured data from paginated web reports
- Taking screenshots of web pages for visual verification
- Running multi-tab browser workflows in CI pipelines
ワークフロー例
User asks: Go to example.com and find all the navigation links
- 1
Start pinchtab server locally on port 9867
- 2
Navigate to https://example.com via POST /navigate
- 3
Wait 3 seconds for Chrome to render the accessibility tree
- 4
Call GET /snapshot?filter=interactive&format=compact to get element refs
- 5
Filter results for role=link elements and return their text and href values
A list of navigation links with their labels and URLs extracted from the accessibility tree
要件
- pinchtab binary installed (Go binary from https://github.com/pinchtab/pinchtab/releases)
- BRIDGE_TOKEN environment variable (optional, for remote/authenticated access)
インストール
clawhub install luigi-agosti/pinchtabCLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。