browser-automation
Skill0 starsChanged 36 days agoMITView on GitHub
Create AI agents that control web pages using natural language. Based on Alibaba's page-agent architecture. Use when building browser AI copilots, web automation agents, or DOM-based tool systems.
- Reads credentials
53 other projects use a version of this.
Adopted by
Most recently taken up by
- kinhluan/skillstheir own version, first seen Nov 8, 2026
- coffeegrind123/zendriver-mcptheir own version, first seen Nov 8, 2026
- darkweb19/skillstheir own version, first seen Nov 8, 2026
- better6666/redteam-skills-portabletheir own version, first seen Nov 8, 2026
- notegpt-official/notegpt-skillstheir own version, first seen Nov 6, 2026
- galiprandi/job-seekertheir own version, first seen Nov 5, 2026
Used with
Projects with it also use karpathy-coder, api-test-suite-builder 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.
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 5 projects that use this
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 6 projects that use this
Hussain-ElfalahSkillandreessen
Also in 4 projects that use this
Hussain-ElfalahSkillbusiness-investment-advisor
Also in 4 projects that use this
csiddhant796-blipSkillself-eval
Honestly evaluate AI work quality using a two-axis scoring system. Use after completing a task, code review, or work session to get an unbiased assessment. Detects score inflation, forces devil's advocate reasoning, and persists scores across sessions.
Also in 5 projects that use this
DorianGalloSkillbinary-diff
跨版本符号迁移与二进制差分。当你有旧版本的符号/逆向结果,需要快速迁移到新版本时使用。 适用场景:内核缺 PDB 用旧版符号推导、程序更新后批量迁移函数名、应用更新后快速定位新偏移。 核心方法:用 LLM 做结构化差异比对,程序化输入输出,成本极低(200 函数 ~1 元)。 触发关键词:符号迁移、bindiff、跨版本、PDB 缺失、函数偏移迁移、symbol migration、binary diff、版本对比。
Also in 5 projects that use this
- +1 more from Hussain-Elfalah
Other versions53 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 53
- zhaoxuya520/reverse-skill-private★ 40ksame name
- zhaoxuya520/reverse-skill★ 38ksame name
- civitai/civitai★ 7.3ksame name
- pierrecomputer/pierre★ 6.5ksame name
- coco-research/coco★ 797same name
- SHAdd0WTAka/Zen-Ai-Pentest★ 470same name
- web-infra-dev/midscene-skills★ 319same name
- irahardianto/awesome-agv★ 157same name
- galiprandi/job-seeker★ 120same name
- cigery-useio/useio-skills★ 103same name
43 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 repository225 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-issue-delegationSkill
- jules-recovery-protocolSkill
- cavemanSkill
- bug-triageSkill
- issue-triageSkill
- brand-guardianSkill
- claude-design-principlesSkill
- swal-theme-creatorSkill
- ui-designerSkill
- ux-researcherSkill
- visual-storytellerSkill
- whimsy-injectorSkill
- background-transfer-monitorSkill
- cpanel-node-opsSkill
- cron-fleet-maintenanceSkill
- hermes-gateway-troubleshootingSkill
- kanban-orchestratorSkill
- kanban-workerSkill
- linux-performance-profilesSkill
- rclone-cloud-backupSkill
- rclone-drive-backupSkill
- shared-hosting-node-opsSkill
- subagent-output-truncationSkill
- swal-grep-alias-rgSkill
- swal-network-launchSkill
- ai-engineerSkill
- backend-architectSkill
- devops-automatorSkill
- frontend-developerSkill
- gestalt-orchestrationSkill
- gitcore-swal-workflowSkill
- mobile-app-builderSkill
- prototypeSkill
- rapid-prototyperSkill
- tddSkill
- test-writer-fixerSkill
- astroSkill
- NextJSSkill
- Tailwind CSSSkill
- frontend-agentSkill
- Frontend DoctorSkill
- agentic-e2eSkill
- agents-sdkSkill
- agy-customizationsSkill
- antigravity_guideSkill
- bateria-de-testingSkill
- camera-photo-backupSkill
- cargo-wizardSkill
- cloudflare-billing-guardSkill
- cloudflare-one-migrationsSkill
- cloudflare-oneSkill
- codificacion-ciclosSkill
- cole-medin-workflowSkill
- hexagonal-architecture-layers-javaSkill
- critical-change-evaluatorSkill
- cron-automation-managerSkill
- design-md-creatorSkill
- desktop-computer-useSkill
- discord-server-ctrlSkill
- The first 60 shown.
The file
Files
Browser Automation Agent
Build AI agents that control web interfaces with natural language — no browser extensions, no Python, no headless browsers. Everything happens in-page.
Architecture Pattern (page-agent style)
User Action (natural language)
↓
Agent (LLM + Tools)
↓
PageController (DOM operations)
↓
Web Page (actual browser DOM)Core Components
1. PageController
Handles all DOM operations — no LLM dependency.
// Core methods every PageController must implement
class PageController {
async updateTree() // Extract live DOM
async getSimplifiedHTML() // Dehydrate for LLM
async getPageInfo() // Page metadata
async clickElement(index) // Indexed element interaction
async inputText(index, text) // Form input
async scroll(direction) // Navigation
}2. Agent Brain (LLM Client)
Stateless LLM client with retry logic and reflection-before-action.
interface AgentConfig {
model: string
baseURL: string
apiKey: string
language: string
}3. Tool System
Tools are defined as functions that the LLM can call. Each tool:
- Calls PageController for DOM operations
- Returns structured result to LLM
- LLM decides next action
Key Files to Create
| File | Purpose |
PageController.ts | DOM extraction + element operations |
Agent.ts | LLM client + tool executor + ReAct loop |
tools/index.ts | Tool definitions |
prompts/system.md | System prompt for the agent |
types.ts | TypeScript interfaces |
DOM Pipeline
1. Live DOM → FlatDomTree (page-controller)
2. FlatDomTree → Simplified text (dehydration)
3. Simplified text → LLM (action plan)
4. Action plan → PageController operations (by index)Quick Start Pattern
import { PageAgent } from 'page-agent'
const agent = new PageAgent({
model: 'qwen3.5-plus',
baseURL: 'https://dashscope.aliyuncs.com/compatible-mode/v1',
apiKey: process.env.API_KEY,
language: 'en-US',
})
await agent.execute('Click the login button')Monorepo Structure Pattern
packages/
├── core/ # Agent logic without UI (stateless)
├── page-controller/ # DOM operations (no LLM dependency)
├── llms/ # LLM client with retry/reflection
├── ui/ # Optional panel/overlay
└── page-agent/ # Main entry (core + controller + ui)Best Practices
- Indexed operations — Don't pass DOM elements to LLM, use integer indices
- Simplified HTML — Remove noise (styles, scripts) before sending to LLM
- Retry logic — LLM calls fail; implement exponential backoff
- Visual feedback — Optional mask overlay shows agent actions to user
- No screenshots — Text-based DOM manipulation only (faster, cheaper)
When to Use
- ✅ Building an AI copilot for a web app
- ✅ Automating form filling workflows
- ✅ Creating accessibility overlays
- ✅ Multi-page browser agents
- ❌ Server-side scraping (use puppeteer/playwright instead)
- ❌ Complex visual tasks requiring screenshots
Integration Options
| Approach | Use Case |
| NPM package | Full control, custom UI |
| Chrome extension | Multi-page tasks |
| MCP Server | External agent control |
| IIFE script tag | Quick integration |
Not the same as agentic testing
This skill builds agents that operate a page for a user (copilots, DOM tools). To TEST an app with an agent —
natural-language steps, replay cache, exploratory bug bashes with repro tests — use agentic-e2e
(tester-army/e2e) instead.
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.

