Skip to content
Skillpedia
Agents36k · #7587

agent-browser

What it does

This skill lets an AI agent control a browser for web tasks. It is for tasks like filling in forms, checking a page, or pulling data from a website.

When to use it

  • ✓When you need to open a web page, click through it, and fill in a form.
  • ✓When you want a screenshot of a page or data extracted from it.
  • ✓When you need to test a web app or use a site that requires a login.

Skill link

https://github.com/Tencent/WeKnora/blob/main/internal/application/service/builtin_skills/agent-browser/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/Tencent/WeKnora/blob/main/internal/application/service/builtin_skills/agent-browser/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Open this website, fill in the contact form, and take a screenshot of the confirmation page.”

5 new skills a week. 1 minute to read.

How it works

It runs a preinstalled command line browser that stays open between steps. The agent reads the page's interactive elements, acts on them one at a time, and reads the page again after each change.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

agent-browser (browser inside the sandbox)

The CLI is already installed. Do not install it again, do not run agent-browser install, and never install a browser yourself: the sandbox pins its own Google Chrome. Run it with shell_exec and without skill_name. Every call is one command; the browser stays open between calls.

Start here

This file is only the map. Load the real usage guide from the CLI itself, so the instructions always match the installed version:

agent-browser skills get core        # workflows, common patterns, troubleshooting
agent-browser skills get core --full # adds the full command reference
agent-browser skills list            # specialized guides bundled with the CLI

For quick tasks the loop below is enough; read core before anything harder (waits, iframes, multiple tabs, downloads, auth flows).

Basic loop

agent-browser open https://example.com   # the window opens on the Desktop tab
agent-browser snapshot -i          # interactive elements as @e1, @e2, ...
agent-browser click @e2
agent-browser fill @e3 "text to type"
agent-browser screenshot /workspace/output/page.png
agent-browser close                # closes the browser; the screen stays

Run snapshot -i again after every page change: refs from an older snapshot go stale. agent-browser --help lists every other command.

Screens

The browser always opens as a visible window on the user's Desktop tab, so the user can watch it and take over. Do not ask the user whether to show it, and do not pass any flag to hide or show it. The user may click in the same window while you work: run snapshot -i again before acting if the page may have changed. A captcha, 2FA code or password is for the user to type in that window, never in the chat.

Rules

  • Do not pass --session, --profile, --cdp, --auto-connect, --state or --executable-path. The sandbox supplies the profile, the session and the browser; those flags are discarded.
  • Do not set DISPLAY, and do not target display :0. That screen belongs to other sessions.
  • Close the browser only with agent-browser close. Never pkill/kill chrome or agent-browser processes: other sessions' browsers run on this machine too, and agent-browser close only ever touches this session's own browser.
  • Cookie state is saved in a machine-level seed and restored before startup navigation. Live browsers mirror missing cookies and localStorage keys; existing keys are not overwritten. A receiving page may reload once idle. localStorage is shared from open pages, not persisted in the cookie seed. Cookie and password database files are shared; history, cache and IndexedDB stay in each profile. Signing out may affect shared login state. Windows remain on this session's screen. Never print cookie, password or token files.
FAQ

Does it use my personal Chrome browser?

No. It is a separate browser inside the sandbox, not the local browser on your computer.

Does it install the browser itself?

No. The browser is already installed, and the skill tells the agent not to install another one.

Where do screenshots go?

They can be saved to a path in the workspace output folder.

Details

Original description by the author

Use when the task needs a real web browser inside the sandbox - open a page, click, fill forms, take screenshots, extract or scrape data, test a web app, or use a site that needs a login. Drives the preinstalled agent-browser CLI; the browser window shows on the user's Desktop tab. This is NOT the local_browser tool, which controls the user's own Chrome on their computer.

repo: Tencent/WeKnora

Popularity

GitHub stars
36k
Ranking position
#7587
License
—
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills