agentleFS
SentryKnown publishergetsentry/junior/packages/junior-agent-browser/skills/agent-browser/SKILL.md

agent-browser

Skill365 starsChanged 8 months agoApache-2.0View on GitHub

Automate websites with the agent-browser CLI for navigation, form flows, screenshots, extraction, and repeatable browser tasks. Use when users ask to interact with web apps, gather evidence from pages, or run browser-based QA steps.

172 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use architecture-governance, dep-refs 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.
  • ZCodium-projectSkill

    architecture-governance

    Apply the repository's architecture policy to code changes by generating a bounded context package, checking module and layer boundaries, and reporting baseline-aware violations. Use for any code change; skip for documentation-only work.

    Also in 4 projects that use this

  • ZCodium-projectSkill

    dep-refs

    Use when needs to inspect TypeScript export references in the z-code workspace, list exports from a file, verify whether an export is unused before deletion, investigate who imports a symbol during refactors, or combine pnpm knip unused-export results with pnpm dep:refs symbol-level reference tracing.

    Also in 4 projects that use this

  • Recepay6358Skill

    time-skill

    Display the current time in Pakistan Standard Time (PKT, UTC+5). Use when the user asks for the current time, Pakistan time, or PKT.

    Also in 4 projects that use this

  • Recepay6358Skill

    weather-fetcher

    Instructions for fetching current weather temperature data for Dubai, UAE from Open-Meteo API

    Also in 4 projects that use this

  • nicepkgSkill

    community-led-growth

    Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.

    Also in 3 projects that use this

  • nicepkgSkill

    financial-unit-economics

    Use when evaluating business model viability, analyzing profitability per customer/product/transaction, validating startup metrics (CAC, LTV, payback period), making pricing decisions, assessing scalability, comparing business models, or when user mentions unit economics, CAC/LTV ratio, contribution margin, customer profitability, break-even analysis, or needs to determine if a business can be profitable at scale.

    Also in 3 projects that use this

  • +1 more from ZCodium-project
  • +1 more from Recepay6358
  • +3 more from nicepkg

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 4 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 157 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when work requires real browser interaction instead of API-only lookups.

    line 8
  2. Very specific:

    Use agent-browser directly.

    line 35
  3. Distinctive:

    Prefer one named session for multi-step flows:

    line 36
  4. Very specific:

    Use chained commands with && only when no intermediate output is needed.

    line 38
  5. Distinctive:

    If page load is async-heavy, wait explicitly:

    line 40
  6. Very specific:

    When a user asks to see/share a screenshot in Slack, use sendFiles with the screenshot path in files so the image is included in the active …

    line 43
  7. Very specific:

    Never claim a screenshot was shared unless sendFiles returned success in this turn.

    line 44
  8. Very specific:

    If sendFiles is unavailable or file attachment fails, state the failure clearly and include the saved screenshot path or error instead of …

    line 45
  9. Distinctive:

    Read only what is needed:

    line 71

“Common” is measured: kept by at least 6 in 10 of the 157 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Browser Automation

Use this skill when work requires real browser interaction instead of API-only lookups.

Core Workflow

  1. Open target page:
  • agent-browser open <url>
  1. Capture interactive refs:
  • agent-browser snapshot -i
  1. Interact by ref:
  • agent-browser click @e1
  • agent-browser fill @e2 "value"
  1. Re-snapshot after every navigation or significant DOM change:
  • agent-browser snapshot -i
  1. Capture result evidence:
  • agent-browser screenshot --annotate <file.png>

Operational Rules

  • Use agent-browser directly; do not use npx agent-browser.
  • Prefer one named session for multi-step flows:
    • agent-browser --session <name> ...
  • Use chained commands with && only when no intermediate output is needed.
  • For commands that need refs (@e*), run snapshot -i first and use fresh refs.
  • If page load is async-heavy, wait explicitly:
    • agent-browser wait --load networkidle
  • For user-facing findings, include screenshots and the exact page URL.
  • When a user asks to see/share a screenshot in Slack, use sendFiles with the screenshot path in files so the image is included in the active conversation.
  • Never claim a screenshot was shared unless sendFiles returned success in this turn.
  • If sendFiles is unavailable or file attachment fails, state the failure clearly and include the saved screenshot path or error instead of claiming success.

Common Patterns

Form flow

agent-browser --session demo open https://example.com/signup
agent-browser --session demo wait --load networkidle
agent-browser --session demo snapshot -i
agent-browser --session demo fill @e1 "user@example.com"
agent-browser --session demo click @e2
agent-browser --session demo wait --load networkidle
agent-browser --session demo screenshot --annotate /tmp/signup-result.png

Structured extraction

agent-browser open https://example.com
agent-browser snapshot --json > /tmp/page.json
agent-browser get text body > /tmp/page.txt

Reference Files

Read only what is needed:

  • Command surface: references/commands.md
  • Auth vault + login flows: references/authentication.md
  • Session/state persistence: references/session-management.md
  • Snapshot refs and stale-ref handling: references/snapshot-refs.md
  • Proxy/network setup: references/proxy-support.md
  • Recording and video capture: references/video-recording.md
  • Performance profiling: references/profiling.md

Templates

  • Authenticated flow bootstrap: templates/authenticated-session.sh
  • Capture workflow skeleton: templates/capture-workflow.sh
  • Form automation skeleton: templates/form-automation.sh

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.