跳到正文
TakoAPI
返回技能列表

tappi

由 shaihazher 提供

Web & Frontend Development
520下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

    Opens the page with bjs open https://example.com/contact

  2. 2

    Lists interactive elements with bjs elements to get an indexed list of inputs and buttons

  3. 3

    Types into each field using bjs type <index> <value>

  4. 4

    Verifies field content with bjs check <index> before submitting

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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接