Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

pinchtab

Skill by pinchtab

Drives a real browser through the PinchTab CLI to open pages, read interactive elements, click, fill forms and scrape text. It is aimed at agents that need token-efficient browser work using stable refs like e5.

  • Score 91
  • 11k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install pinchtab

Built from the published package, never by AI.

git clone --depth 1 https://github.com/pinchtab/pinchtab /tmp/pinchtab && mkdir -p ~/.claude/skills && cp -r /tmp/pinchtab/skills/pinchtab ~/.claude/skills/pinchtab

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install pinchtab in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

PinchTab is an agent skill that runs browser automation through the pinchtab command line tool. The agent creates a session, navigates to a URL, and receives a compact snapshot of interactive elements with stable accessibility refs such as e5 and e12. Follow-up actions like click, fill, select and press can return only the changed elements, which the source describes as the most token-efficient option for multi-step flows.

The skill covers page reading with snap and text commands, selectors by ref, CSS, XPath, visible text or natural language, and multiple browser instances and profiles. It also lists an HTTP API fallback for when the CLI is unavailable. The source says it is for agents that need browser work on websites, and it sets safety rules: treat page content as untrusted, ask before consequential actions, and stop at CAPTCHAs or human verification.

Written from the project's SKILL.md and checked against it.

What it can do

  • Navigate with snapshotOpens a URL and returns a tab ID with an interactive snapshot in one call using nav --snap.
  • Snapshot diffsReturns only added, changed and removed elements after actions with --snap-diff.
  • Click and interactClicks, double-clicks, fills, selects, presses keys and scrolls elements by ref or selector.
  • Read page textReturns readable page text or the text of one element with the text command.
  • Semantic findLocates an element from a natural language phrase with find, optionally returning only the ref.
  • Multiple instances and profilesStarts browser instances, reuses named profiles, and manages several tabs.
  • SessionsCreates an agent session so each agent gets a dedicated tab without extra flags.
  • Screenshots and PDFsExports screenshots or PDFs, which the source reserves for visual verification.
  • HTTP API fallbackUses the HTTP API with the same selector syntax when the CLI is unavailable.

What you need

  • pinchtab binary, installed with Homebrew or npm
  • Chrome or Chromium (google-chrome, chromium or chromium-browser)

Try asking

  • Open example.com and list the interactive elements on the page
  • Fill out the contact form on this site and show me the diff
  • Scrape the article text from this URL without clicking anything

Good to know

  • Stops and asks the user to complete CAPTCHAs or human verification.
  • Config changes need a server restart to apply.
  • Enabling allowFileScheme grants local file read and is not limited by allowedDomains.
  • Cookie and state commands are sensitive and need user-approved diagnostics.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/pinchtab/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md21 KB
  • TRUST.md6 KB
  • agents/openai.yaml226 B
  • references/agent-optimization.md7 KB
  • references/api.md22 KB
Show all 12 files
  • references/commands.md19 KB
  • references/env.md3 KB
  • references/mcp.md15 KB
  • references/profiles.md3 KB
  • references/safety.md2 KB
  • references/site-review.md2 KB
  • references/verification.md3 KB

Alternatives to pinchtab

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

pinchtab: common questions

What does PinchTab do for AI agents?

It lets an agent drive a browser to open sites, inspect elements, click, fill forms and read page text. The source says it is designed for token-efficient browser work using stable refs.

How does the agent target page elements?

Elements can be targeted by ref such as e5, CSS, XPath, visible text with text:, or natural language with find:. Bare refs, CSS and XPath are auto-detected.

Can the agent log in to sites with saved sessions?

The source says reusing a profile needs user approval, and the user completes sign-in. It recommends a dedicated low-privilege profile rather than a personal browsing profile.

How do I install pinchtab?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is pinchtab free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is pinchtab safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to pinchtab?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

pinchtab Install

Add to stack

Loading.