browser-automation
Skill4 starsChanged 9 months agoApache-2.0Archived repositoryView on GitHub
Built-in browser automation skill for AgentForge agents. Navigate web pages, interact with elements, extract content, and take screenshots using Playwright.
- Installs packages
36 other projects use a version of this.
Adopted by
Most recently taken up by
- linchpin/skillstheir own version, first seen Oct 2, 2026
- JPeetz/agent-skillstheir own version, first seen Sep 29, 2026
- cigery-useio/useio-skillstheir own version, first seen Sep 23, 2026
- zhaoxuya520/reverse-skilltheir own version, first seen Sep 22, 2026
- krosdai/skillstheir own version, first seen Sep 13, 2026
- nafeeur/MaskShifttheir own version, first seen Sep 12, 2026
Used with
Projects with it also use api-test-suite-builder, karpathy-coder and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Arnav-0Skillapi-test-suite-builder
Use when the user asks to generate API tests, create integration test suites, test REST endpoints, or build contract tests.
Also in 5 projects that use this
csiddhant796-blipSkillkarpathy-coder
Use when writing, reviewing, or committing code to enforce Karpathy's 4 coding principles — surface assumptions before coding, keep it simple, make surgical changes, define verifiable goals. Triggers on "review my diff", "check complexity", "am I overcomplicating this", "karpathy check", "before I commit", or any code quality concern where the LLM might be overcoding.
Also in 4 projects that use this
xAmirHamza77Skillpentest-tools
Active penetration testing toolchain. Covers reconnaissance, port scanning, vulnerability scanning, web exploitation, SQL injection, directory brute-forcing, password cracking, and more. Exposes 20+ security tools to the AI agent via MCP servers (pentestMCP / mcp-security-hub). Trigger keywords: penetration testing, port scan, Nmap, vulnerability scan, Nuclei, SQL injection, SQLMap, directory brute-force, FFUF, password cracking, Hashcat, reconnaissance, subdomain, web exploitation, ZAP, Burp.
Also in 4 projects that use this
Arnav-0Skillagenthub
Multi-agent collaboration plugin that spawns N parallel subagents competing on the same task via git worktree isolation. Agents work independently, results are evaluated by metric or LLM judge, and the best branch is merged. Use when: user wants multiple approaches tried in parallel — code optimization, content variation, research exploration, or any task that benefits from parallel competition. Requires: a git repo.
Also in 4 projects that use this
xAmirHamza77Skillbrowser-extension-reverse
Use for authorized reverse engineering of browser extensions (Chrome/Firefox) including manifest analysis, background workers, and extension-based credential or traffic logic recovery.
Also in 3 projects that use this
- +7 more from xAmirHamza77
Other versions36 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 36
- zhaoxuya520/reverse-skill★ 40ksame name
- coco-research/coco★ 437same name
- web-infra-dev/midscene-skills★ 313same name
- irahardianto/awesome-agv★ 157same name
- cigery-useio/useio-skills★ 103same name
- martinholovsky/claude-skills-generator★ 47same name
- scottdurow/power-platform-full-stack-skills★ 37same name
- AutoByteus/autobyteus-skills★ 34same name
- galiprandi/job-seeker★ 31same name
- archubbuck/workspace-architect★ 18same name
26 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository62 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- agentforge-a2aSkill
- agentforge-browser-toolingSkill
- agentforge-channel-adaptersSkill
- agentforge-cliSkill
- agentforge-convexSkill
- agentforge-dashboardSkill
- agentforge-mcp-integrationSkill
- agentforge-research-orchestratorSkill
- agentforge-runtime-daemonSkill
- agentforge-sandbox-executionSkill
- agentforgeSkill
- agentforge-skills-marketplaceSkill
- agentforge-template-syncSkill
- agentforge-testingSkill
- convex-advisorSkill
- convex-auth-setupSkill
- convex-best-practicesSkill
- convex-component-authoringSkill
- convex-components-guideSkill
- convex-cron-jobsSkill
- convex-file-storageSkill
- convex-function-creatorSkill
- convex-helpers-guideSkill
- convex-http-actionsSkill
- convex-mcp-setupSkill
- convex-migration-helperSkill
- convex-quickstartSkill
- convex-realtimeSkill
- convex-reviewerSkill
- convex-schema-builderSkill
- convex-security-auditSkill
- convex-security-checkSkill
- convexSkill
- mastraSkill
- specsafe-agentforgeSkill
- specsafeSkill
- specSkill
- validateSkill
- working-with-sqliteSkill
- agentforge-convexSkill
- gh-workflowSkill
- spec-createSkill
- specsafe-agentforgeSkill
- specsafe-doneSkill
- specsafe-exploreSkill
- specsafe-newSkill
- specsafeSkill
- specsafe-specSkill
- specsafe-test-applySkill
- specsafe-test-createSkill
- specsafe-verifySkill
- specSkill
- template-sync-checkSkill
- validateSkill
- working-with-sqliteSkill
- agentforge-convexSkill
- example-skillSkill
- skill-creatorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 26 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 89
When a user asks you to interact with a web page:
- Distinctive: line 93
Use snapshot to understand the page structure (accessibility tree)
- Distinctive: line 94
Use extractText to get readable content from the page
- Distinctive: line 95
Use click and type to interact with forms and buttons
- Distinctive: line 96
Use screenshot to capture visual state when needed
- Distinctive: line 97
Always close sessions when done to free resources
- Very specific: line 101
Prefer #id selectors over class-based selectors
- Very specific: line 102
Use waitForSelector before clicking or typing
- Very specific: line 104
Use extractText with a selector to get specific section content
“Common” is measured: kept by at least 6 in 10 of the 26 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Browser Automation
Built-in AgentForge Skill — Automate web browsers to navigate, interact, extract data, and capture screenshots.
Overview
The Browser Automation skill gives agents the ability to interact with web pages programmatically using Playwright. This is essential for:
- Web scraping — Extract text, data, and structured content from any website
- Form filling — Automate login flows, form submissions, and multi-step workflows
- Visual verification — Take screenshots for visual QA or documentation
- Research — Navigate and read web pages to gather information
- Testing — Verify web application behavior
Supported Actions
| Action | Description | Key Parameters |
navigate | Go to a URL | url (required) |
click | Click an element | selector (CSS selector) |
type | Type text into an input | selector, text |
screenshot | Capture the page | fullPage (optional) |
snapshot | Get accessibility tree | — |
extractText | Extract page text | selector (optional) |
evaluate | Run JavaScript | js (code string) |
wait | Wait for element/time | selector or timeMs |
scroll | Scroll the page | direction, amount |
select | Select dropdown option | selector, value |
hover | Hover over element | selector |
goBack | Navigate back | — |
goForward | Navigate forward | — |
reload | Reload the page | — |
close | Close the session | — |
How to Use
Setup
import { createBrowserTool, MCPServer } from '@agentforge-ai/core';
// Create browser tool with default config
const { tool, shutdown } = createBrowserTool({ headless: true });
// Register with MCP server
const server = new MCPServer({ name: 'my-tools' });
server.registerTool(tool);
// Or use the convenience function
import { registerBrowserTool } from '@agentforge-ai/core';
const { shutdown: cleanup } = registerBrowserTool(server, { headless: true });Docker Sandbox Mode
For secure, isolated browser execution (recommended for production):
const { tool, shutdown } = createBrowserTool({
sandboxMode: true,
headless: true,
});This launches the browser inside a Docker container with:
- Isolated network and filesystem
- 2GB shared memory for stability
- Automatic cleanup on shutdown
Direct Import
import { createBrowserTool } from '@agentforge-ai/core/browser';Agent Instructions
When a user asks you to interact with a web page:
- Navigate to the target URL first
- Wait for key elements to load before interacting
- Use snapshot to understand the page structure (accessibility tree)
- Use extractText to get readable content from the page
- Use click and type to interact with forms and buttons
- Use screenshot to capture visual state when needed
- Always close sessions when done to free resources
Tips for Reliable Automation
- Prefer
#idselectors over class-based selectors - Use
waitForSelectorbefore clicking or typing - For SPAs, wait after navigation for content to render
- Use
extractTextwith a selector to get specific section content - Take screenshots before and after critical actions for verification
Configuration Options
| Option | Type | Default | Description |
headless | boolean | true | Run browser without UI |
defaultTimeout | number | 30000 | Navigation timeout (ms) |
browserType | string | 'chromium' | Browser engine |
viewportWidth | number | 1280 | Viewport width |
viewportHeight | number | 720 | Viewport height |
userAgent | string | — | Custom user agent |
persistState | boolean | false | Save cookies/state |
statePath | string | — | Path for state file |
sandboxMode | boolean | false | Docker isolation |
maxSessions | number | 5 | Max concurrent sessions |
Session Management
Each session gets its own isolated browser context with separate cookies, storage, and state. Use sessionId to manage multiple concurrent browsing sessions:
// Session A: logged into site X
await tool.handler({ action: { kind: 'navigate', url: 'https://site-x.com' }, sessionId: 'session-a' });
// Session B: logged into site Y (completely isolated)
await tool.handler({ action: { kind: 'navigate', url: 'https://site-y.com' }, sessionId: 'session-b' });Prerequisites
- Playwright:
npm install playwright && npx playwright install chromium - Docker (optional): Required only for
sandboxMode
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

