Aller au contenu
TakoAPI
Retour aux skills

pinchtab

par luigi-agosti

Web & Frontend Development
953Téléchargements rapportés par clawskills.sh
1Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

Control a headless or headed Chrome browser via Pinchtab's HTTP API.

Description

Ce que fait ce skill

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.

Quand l'utiliser

  • 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

Exemple de workflow

ENTRÉE

User asks: Go to example.com and find all the navigation links

AGENT
  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

SORTIE

A list of navigation links with their labels and URLs extracted from the accessibility tree

Prérequis

  • pinchtab binary installed (Go binary from https://github.com/pinchtab/pinchtab/releases)
  • BRIDGE_TOKEN environment variable (optional, for remote/authenticated access)

Installation

clawhub install luigi-agosti/pinchtab

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens