{"skill":{"slug":"dexifried-pinchtab","displayName":"PinchTab","summary":"Browser automation via HTTP API. Use for headless browser control, web automation, form filling, data extraction, and interactive element interaction. Suppor...","description":"---\nname: pinchtab\ndescription: Browser automation via HTTP API. Use for headless browser control, web automation, form filling, data extraction, and interactive element interaction. Supports launching instances, navigating pages, taking screenshots, extracting page structure, and clicking elements.\n---\n\n# PinchTab Skill\n\n## Description\nPinchTab is an HTTP server that provides programmatic control over a browser. It supports launching browser instances, navigating to pages, extracting page structure, and interacting with elements like buttons or forms.\n\n### When to Use\nUse this skill for tasks like:\n- Automating browser workflows (e.g., logins, form submissions).\n- Extracting data or snapshots from web pages.\n- Testing interactive web elements.\n\n## Quick Start\nBelow is a guide to using the PinchTab skill:\n\n### 1. Launching a Browser Instance\nYou can launch a new browser instance via the API:\n\n```bash\nbash scripts/launch_browser.sh\n```\n\n### 2. Navigating to a URL\nNavigate to a URL with the following command:\n\n```bash\nbash scripts/navigate_to_url.sh https://example.com\n```\n\n### 3. Extracting Page Snapshot\nGet the page structure and save it locally:\n\n```bash\nbash scripts/get_page_snapshot.sh\n```\n\n### 4. Clicking an Element\nSimulate a button click on a webpage:\n\n```bash\nbash scripts/click_element.sh \"<css_selector>\"\n```\n\n### 5. Taking Screenshots (Base64 Decode + Send to Telegram)\nCapture a screenshot, decode the base64, and send to Telegram:\n\n**Bash:**\n```bash\nexport PINCHTAB_TOKEN=\"your_token\"\nexport TELEGRAM_BOT_TOKEN=\"your_bot_token\"\nbash scripts/screenshot_and_send.sh <tab_id> <telegram_chat_id>\n```\n\n**Python (more features):**\n```bash\nexport PINCHTAB_TOKEN=\"your_token\"\npython3 scripts/decode_screenshot.py <tab_id> \\\n  --output /path/to/screenshot.jpg \\\n  --send-telegram <chat_id> \\\n  --caption \"My screenshot\"\n```\n\n## Example: Google Homepage\nPinchTab successfully navigated to Google and extracted the page structure:\n\n![Google Screenshot](assets/google-screenshot.png)\n\nThis demonstrates:\n- Browser launch and page navigation\n- Interactive element extraction (About, Store, Advertising links, etc.)\n- Ready for automation (clicking, form filling, data extraction)\n\n## Documentation\nCheck the `references/` folder for detailed API documentation, common workflows, and troubleshooting tips.","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":645,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1773854757358,"updatedAt":1779078502617},"latestVersion":{"version":"1.0.0","createdAt":1773854757358,"changelog":"Browser automation via HTTP API, screenshot decoding, Telegram integration. Includes base64 decoder scripts and workflow examples.","license":"MIT-0"},"metadata":null,"owner":{"handle":"dexifried","userId":"s1737azfes1tm4yt0dzgtk2ehd885edk","displayName":"dexifried","image":"https://avatars.githubusercontent.com/u/261530845?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1780089963717}}