跳到正文
cccskills
免费在 GitHub 公开

agent-browser

Automate website navigation, form entry, button clicks, and data extraction using the agent-browser command-line tool. Capture screenshots or PDFs, reuse login sessions, and inspect page elements while checking web application behavior.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Browser automation via agent-browser CLI. Use when the user needs to navigate websites, fill forms, click buttons, take screenshots, extract data, or test web apps.

查看安装方法

适用场景

  • Automate form entry and button clicks
  • Extract text and links from web pages
  • Save screenshots and page PDFs
  • Check web apps with a saved login session

包含的文件(1)

  • SKILL.md4.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Agent Browser

CLI browser automation via Chrome/Chromium CDP. Install: npm i -g agent-browser && agent-browser install.

Before using this skill, verify the tool is available by running which agent-browser. If the command is not found, tell the user that browser automation requires the agent-browser CLI and Chromium, which are only available in the heavy container image. Do not attempt to install it at runtime.

Core Workflow

  1. agent-browser open <url> — navigate
  2. agent-browser snapshot -i — get interactive elements with refs (@e1, @e2, ...)
  3. Interact using refs — click @e1, fill @e2 "text"
  4. Re-snapshot after any navigation or DOM change — refs are invalidated
agent-browser open https://example.com/form
agent-browser snapshot -i
# @e1 [input] "Email", @e2 [input] "Password", @e3 [button] "Submit"
agent-browser fill @e1 "user@example.com"
agent-browser fill @e2 "secret"
agent-browser click @e3
agent-browser wait --load networkidle
agent-browser snapshot -i

Chain commands with && when you don't need intermediate output:

agent-browser open https://example.com && agent-browser wait --load networkidle && agent-browser snapshot -i

Commands

# Navigation
agent-browser open <url>
agent-browser close

# Snapshot
agent-browser snapshot -i                # Interactive elements with refs
agent-browser snapshot -s "#selector"    # Scope to CSS selector

# Interaction (use @refs from snapshot)
agent-browser click @e1
agent-browser fill @e2 "text"            # Clear + type
agent-browser type @e2 "text"            # Type without clearing
agent-browser select @e1 "option"
agent-browser check @e1
agent-browser press Enter
agent-browser scroll down 500

# Get info
agent-browser get text @e1
agent-browser get url
agent-browser get title

# Wait
agent-browser wait @e1                   # Wait for element
agent-browser wait --load networkidle    # Wait for network idle
agent-browser wait --url "**/dashboard"  # Wait for URL pattern
agent-browser wait --text "Welcome"      # Wait for text
agent-browser wait 2000                  # Wait ms

# Capture
agent-browser screenshot                 # Screenshot to temp dir
agent-browser screenshot --full          # Full page
agent-browser screenshot --annotate      # With numbered element labels ([N] -> @eN)
agent-browser pdf output.pdf

# Semantic locators (when refs unavailable)
agent-browser find text "Sign In" click
agent-browser find label "Email" fill "user@test.com"
agent-browser find role button click --name "Submit"

Authentication

# Option 1: Import from user's running Chrome
agent-browser --auto-connect state save ./auth.json
agent-browser --state ./auth.json open https://app.example.com

# Option 2: Persistent profile
agent-browser --profile ~/.myapp open https://app.example.com/login
# ... login once, all future runs are authenticated

# Option 3: Session name (auto-save/restore)
agent-browser --session-name myapp open https://app.example.com/login
# ... login, close, next run state is restored

# Option 4: State file
agent-browser state save auth.json
agent-browser state load auth.json

Iframes

Iframe content is inlined in snapshots. Interact with iframe refs directly — no frame switch needed.

Parallel Sessions

agent-browser --session s1 open https://site-a.com
agent-browser --session s2 open https://site-b.com
agent-browser session list

JavaScript Eval

agent-browser eval 'document.title'

# Complex JS — use --stdin to avoid shell quoting issues
agent-browser eval --stdin <<'EVALEOF'
JSON.stringify(Array.from(document.querySelectorAll("a")).map(a => a.href))
EVALEOF

Cleanup

Always close sessions when done:

agent-browser close
agent-browser --session s1 close

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

github

免费

Use the GitHub command-line tool to inspect issues, pull requests, and automated workflow runs. Check failed steps and logs, retrieve additional details through the API, and extract selected fields into structured results.

中文简介正在准备中。当前显示英语简介。

  • Check automated test results for a pull request
  • Inspect failed workflow steps and logs
  • List issue numbers and titles
sipeed/picoclaw3万2026年10月16日 更新

hardware

免费

Read and control sensors, displays, and other peripherals on Sipeed boards through I2C and SPI, two hardware communication interfaces. Find connected devices, prepare shared pins, and troubleshoot wiring, permissions, and communication settings.

中文简介正在准备中。当前显示英语简介。

  • Find sensors connected to a board
  • Read temperature and humidity sensor data
  • Control displays and other peripherals
sipeed/picoclaw3万2026年10月16日 更新

Set up, debug, and extend PicoClaw using its own commands and configuration structure. Get guidance on model authentication, external tool connections, scheduled tasks, and how conversations are routed and stored.

中文简介正在准备中。当前显示英语简介。

  • Setting up models and authentication in PicoClaw
  • Configuring and troubleshooting MCP server connections
  • Setting up recurring tasks
sipeed/picoclaw3万2026年10月16日 更新

Turn repeated workflows into reusable Picoclaw skills, or update and review existing ones. Organize SKILL.md instructions, scripts, reference documents, and output assets, then check the structure and test representative tasks.

中文简介正在准备中。当前显示英语简介。

  • Turning a repeated workflow into a reusable skill
  • Updating or reviewing an existing SKILL.md
  • Organizing scripts, references, and templates
sipeed/picoclaw3万2026年10月16日 更新

summarize

免费

Summarize articles, local files, YouTube videos, and podcasts to review their main points. Adjust the summary length, or extract available text and transcripts from URLs when you need the source content.

中文简介正在准备中。当前显示英语简介。

  • Reviewing the main points of an online article
  • Summarizing a local PDF
  • Extracting an available YouTube transcript
sipeed/picoclaw3万2026年10月16日 更新

tmux

免费

Control interactive command-line programs through tmux by sending keystrokes, reading terminal output, and waiting for prompts. Use separate sessions to operate Python consoles or run multiple coding agents while checking their progress and results.

中文简介正在准备中。当前显示英语简介。

  • Operate an interactive Python console
  • Run multiple coding agents in parallel
  • Wait for prompts and inspect terminal output
sipeed/picoclaw3万2026年10月16日 更新

查看 sipeed 的全部技能

报告此技能的问题