tappi
بواسطة shaihazher
Web & Frontend Developmentموجز
Lightweight CDP browser control for AI agents.
الوصف
ما الذي تفعله هذه المهارة
CLI tool that controls Chrome via the Chrome DevTools Protocol, returning compact indexed lists of interactive page elements. Returns 50-200 tokens per interaction compared to thousands for accessibility tree-based approaches. Supports shadow DOM, file uploads, canvas apps, cross-origin iframes, and raw keyboard input.
Returns a compact numbered element index instead of a full accessibility tree, cutting token usage by 3-10x over multi-step browser flows compared to built-in browser tools.
متى تستخدمها
- Filling and submitting web forms on a target site
- Uploading files to Instagram or Twitter without an OS file picker
- Entering and formatting data in Google Sheets via keyboard navigation
- Clicking through cross-origin iframe widgets like captcha checkboxes
- Extracting visible text from React and Vue SPAs that use shadow DOM
مثال على سير العمل
User asks: Fill out the contact form at example.com and submit it
- 1
Opens the page with
bjs open https://example.com/contact - 2
Lists interactive elements with
bjs elementsto get an indexed list of inputs and buttons - 3
Types into each field using
bjs type <index> <value> - 4
Verifies field content with
bjs check <index>before submitting - 5
Clicks the submit button with
bjs click <index>
Form submitted; agent confirms by reading updated page text or taking a screenshot
المتطلبات
- Chrome or Chromium browser running with --remote-debugging-port=18800
التثبيت
clawhub install shaihazher/tappiشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.