feat: 日常增量 - 小红书配图/舆情记录/日报/草稿归档
This commit is contained in:
27
skills/agent-browser/SKILL.md
Normal file
27
skills/agent-browser/SKILL.md
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
name: agent-browser
|
||||
description: Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
|
||||
allowed-tools: Bash(agent-browser:*)
|
||||
---
|
||||
|
||||
# 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
|
||||
3. Interact using refs from the snapshot
|
||||
4. Re-snapshot after navigation or significant DOM changes
|
||||
|
||||
## Commands
|
||||
- agent-browser open <url> # Navigate to URL
|
||||
- agent-browser snapshot -i # Interactive elements only
|
||||
- agent-browser click @e1 # Click element
|
||||
- agent-browser fill @e2 "text" # Fill input
|
||||
- agent-browser screenshot # Take screenshot
|
||||
Reference in New Issue
Block a user