juanmarchetto/agent-skills/agent-browser
- community
Checking that the SKILL.md file is still in the repository.
Browser automation for AI agents via inference.sh. Navigate web pages, interact with elements using @e refs, take screenshots, record video. Capabilities: web scraping, form filling, clicking, typing, drag-drop, file upload, JavaScript execution. Use for: web automation, data extraction, testing, agent browsing, research. Triggers: browser, web automation, scrape, navigate, click, fill form, screenshot, browse web, playwright, headless browser, web agent, surf internet, record video
Install
npx vskill@latest install juanmarchetto/agent-skills/agent-browserSKILL.md
Agentic Browser
Browser automation for AI agents via inference.sh. Uses Playwright under the hood with a simple @e ref system for element interaction.
[Image: Agentic Browser]
Quick Start
Requires inference.sh CLI (infsh). Get installation instructions:npx skills add inference-sh/skills@agent-tools
Core Workflow
Every browser automation follows this pattern:
- Open - Navigate to URL, get
@erefs for elements - Interact - Use refs to click, fill, drag, etc.
- Re-snapshot - After navigation/changes, get fresh refs
- Close - End session (returns video if recording)
Functions
| Function | Description | |
|---|---|---|
open | Navigate to URL, configure browser (viewport, proxy, video recording) | |
snapshot | Re-fetch page state with @e refs after DOM changes | |
interact | Perform actions using @e refs (click, fill, drag, upload, etc.) | |
screenshot | Take page screenshot (viewport or full page) | |
execute | Run JavaScript code on the page | |
close | Close session, returns video if recording was enabled |
Interact Actions
| Action | Description | Required Fields | |
|---|---|---|---|
click | Click element | ref | |
dblclick | Double-click element | ref | |
fill | Clear and type text | ref, text | |
type | Type text (no clear) | text | |
press | Press key (Enter, Tab, etc.) | text | |
select | Select dropdown option | ref, text | |
hover | Hover over element | ref | |
check | Check checkbox | ref | |
uncheck | Uncheck checkbox | ref | |
drag | Drag and drop | ref, target_ref | |
upload | Upload file(s) | ref, file_paths | |
scroll | Scroll page | direction (up/down/left/right), scroll_amount | |
back | Go back in history | - | |
wait | Wait milliseconds | wait_ms | |
goto | Navigate to URL | url |
Element Refs
Elements are returned with @e refs:
Important: Refs are invalidated after navigation. Always re-snapshot after:
- Clicking links/buttons that navigate
- Form submissions
- Dynamic content loading
Features
Video Recording
Record browser sessions for debugging or documentation:
Cursor Indicator
Show a visible cursor in screenshots and video (useful for demos):
The cursor appears as a red dot that follows mouse movements and shows click feedback.
Proxy Support
Route traffic through a proxy server:
File Upload
Upload files to file inputs:
Drag and Drop
Drag elements to targets:
JavaScript Execution
Run custom JavaScript:
Deep-Dive Documentation
| Reference | Description | |
|---|---|---|
| references/commands.md | Full function reference with all options | |
| references/snapshot-refs.md | Ref lifecycle, invalidation rules, troubleshooting | |
| references/session-management.md | Session persistence, parallel sessions | |
| references/authentication.md | Login flows, OAuth, 2FA handling | |
| references/video-recording.md | Recording workflows for debugging | |
| references/proxy-support.md | Proxy configuration, geo-testing |
Ready-to-Use Templates
| Template | Description | |
|---|---|---|
| templates/form-automation.sh | Form filling with validation | |
| templates/authenticated-session.sh | Login once, reuse session | |
| templates/capture-workflow.sh | Content extraction with screenshots |
Examples
Form Submission
Search and Extract
Screenshot with Video
Sessions
Browser state persists within a session. Always:
- Start with
--session newon first call - Use returned
session_idfor subsequent calls - Close session when done
Example Output
Opening a page returns interactive elements with @e refs:
After interaction, a snapshot refreshes the refs for the new page state.
Error Handling
- `infsh` not installed: Run
npx skills add inference-sh/skills@agent-toolsfor setup instructions, or visit inference.sh - Session expired: Sessions timeout after inactivity. Start a new one with
--session new - Element not found: The
@eref may be stale after navigation. Always re-snapshot after clicking links or submitting forms - Site blocks automation: Some sites detect headless browsers. Try enabling
show_cursor: trueor using a proxy
Related Skills
Documentation
- inference.sh Sessions - Session management
- Multi-function Apps - How functions work
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/agent-browser/SKILL.md
Popularity
- Repository stars
- 5
- Repository forks
- 1
- 7-day trend score
- 9
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 7 Oct 2026, 16 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/juanmarchetto/agent-skills/agent-browser)