Agent Skillsactionbook/actionbook › agent-browser

agent-browser

GitHub

用于自动化浏览器交互的技能,支持导航、页面快照分析、元素点击与填写及信息获取。核心流程为打开页面、获取元素引用、执行操作并关闭浏览器,常用于表单提交等网页自动化场景。

playground/actionbook-scraper/skills/agent-browser/SKILL.md actionbook/actionbook

Trigger Scenarios

需要自动填写网页表单 需要与网页进行交互或抓取页面数据

Install

npx skills add actionbook/actionbook --skill agent-browser -g -y
More Options

Non-standard path

npx skills add https://github.com/actionbook/actionbook/tree/main/playground/actionbook-scraper/skills/agent-browser -g -y

Use without installing

npx skills use actionbook/actionbook@agent-browser

指定 Agent (Claude Code)

npx skills add actionbook/actionbook --skill agent-browser -a claude-code -g -y

安装 repo 全部 skill

npx skills add actionbook/actionbook --all -g -y

预览 repo 内 skill

npx skills add actionbook/actionbook --list

SKILL.md

Frontmatter
{
    "name": "agent-browser",
    "description": "Automates browser interactions for form filling and web page interaction. Used by the request-website command to submit website indexing requests."
}

Browser Automation with agent-browser

Quick start

agent-browser open <url>        # Navigate to page
agent-browser snapshot -i       # Get interactive elements with refs
agent-browser click @e1         # Click element by ref
agent-browser fill @e2 "text"   # Fill input by ref
agent-browser close             # Close browser

Core workflow

  1. Navigate: agent-browser open <url>
  2. Snapshot: agent-browser snapshot -i (returns elements with refs like @e1, @e2)
  3. Interact using refs from the snapshot
  4. Re-snapshot after navigation or significant DOM changes
  5. Always close: agent-browser close

Commands

Navigation

agent-browser open <url>      # Navigate to URL
agent-browser close           # Close browser (ALWAYS do this)

Snapshot (page analysis)

agent-browser snapshot        # Full accessibility tree
agent-browser snapshot -i     # Interactive elements only (recommended)

Interactions (use @refs from snapshot)

agent-browser click @e1           # Click
agent-browser fill @e2 "text"     # Clear and type
agent-browser type @e2 "text"     # Type without clearing
agent-browser press Enter         # Press key
agent-browser scroll down 500     # Scroll page

Get information

agent-browser get text @e1        # Get element text
agent-browser get title           # Get page title
agent-browser get url             # Get current URL

Wait

agent-browser wait @e1                     # Wait for element
agent-browser wait 2000                    # Wait milliseconds
agent-browser wait --load networkidle      # Wait for network idle

Example: Form submission (request-website)

# Open Actionbook request page
agent-browser open "https://actionbook.app/request-website"

# Get form elements
agent-browser snapshot -i
# Output shows: textbox "Site URL" [ref=e1], textbox "Email" [ref=e2], textbox "Use Case" [ref=e3], button "Submit" [ref=e4]

# Fill form
agent-browser fill @e1 "https://example.com/products"
agent-browser fill @e2 "user@example.com"
agent-browser fill @e3 "Scraping product catalog"

# Submit
agent-browser click @e4
agent-browser wait --load networkidle

# Verify submission
agent-browser snapshot -i

# Close browser
agent-browser close

Permission Required

Add to .claude/settings.local.json:

{
  "permissions": {
    "allow": [
      "Bash(agent-browser *)"
    ]
  }
}

Or run ./setup.sh to configure automatically.

Version History

  • 5a3eb05 Current 2026-08-20 11:20

Same Skill Collection

packages/openclaw-plugin/skills/actionbook/SKILL.md
playground/actionbook-scraper/skills/actionbook-scraper/SKILL.md
playground/actionbook-web-test/SKILL.md
playground/article-exporter/SKILL.md
playground/arxiv-viewer/skills/arxiv-viewer/SKILL.md
playground/deep-research/skills/deep-research/SKILL.md
playground/json-ui-skill/SKILL.md
playground/rust-learner/skills/actionbook/SKILL.md
playground/rust-learner/skills/agent-browser/SKILL.md
playground/rust-learner/skills/rust-learner/SKILL.md
skills/actionbook/SKILL.md
skills/active-research/SKILL.md
skills/extract/SKILL.md

Metadata

Files
0
Version
5a3eb05
Hash
61f6f46d
Indexed
2026-08-20 11:20

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-30 01:50
浙ICP备14020137号-1 $mapa de visitantes$