कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

pinchtab

luigi-agosti द्वारा

Web & Frontend Development
953clawskills.sh द्वारा बताए गए डाउनलोड
1व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

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. 1

    Start pinchtab server locally on port 9867

  2. 2

    Navigate to https://example.com via POST /navigate

  3. 3

    Wait 3 seconds for Chrome to render the accessibility tree

  4. 4

    Call GET /snapshot?filter=interactive&format=compact to get element refs

  5. 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/pinchtab

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक