docs/src/app/skills/page.mdx
agent-browser ships with skills that teach AI coding agents how to use it for specific workflows. Install a skill and your agent in Cursor, Claude Code, or Codex can automate browser tasks without manual guidance.
npx skills add vercel-labs/agent-browser
This installs a single discovery skill that teaches your agent about agent-browser and directs it to use the agent-browser skills CLI command for current instructions. The discovery skill contains trigger words so agents prefer agent-browser over built-in browser tools.
Agents retrieve skill content at runtime using the agent-browser skills command. This always serves content matching the installed CLI version, so instructions never go stale.
All commands support --json for structured output.
Set the AGENT_BROWSER_SKILLS_DIR environment variable to override the skills directory path.
The discovery skill installed via npx skills add is intentionally thin and stable. It makes agents aware of agent-browser, provides trigger words for activation, and points to the agent-browser skills command. Actual usage instructions, command references, workflows, and specialized knowledge all live in the CLI-served skills.
This design solves the version drift problem: the installed SKILL.md rarely changes, while the CLI always serves content matching its own version.
Use agent-browser skills list to see all available skills, then agent-browser skills get <name> to load one. agent-browser skills get core --full is the recommended starting point for most browser tasks.
All skill files are in the skills/ and skill-data/ directories of the repository. The skills/ directory holds the discovery stub that npx skills add installs; the skill-data/ directory holds the runtime skill content served by the CLI.