QQBrowserUse: Browser Automation CLI for AI Agents

Preface

The common approach to letting an Agent open web pages, fill out forms, and click buttons involves connecting Playwright or Selenium and having the model assemble scripts. This results in a long pipeline and complex environments, requiring manual handling of session isolation and the accumulation of “reusable operations for next time.” QQBrowserUse consolidates these capabilities into a set of qqbrowser-skill CLI commands, paired with an Agent Skill on SkillHub. This allows clients like Cursor and Claude Code to execute tasks using a fixed command and session model when they identify a real browser task, rather than merely answering theoretical HTML/CSS questions.

What is this

QQBrowserUse (coordinate @tencent-adm/qqbrowser-skill, current version 1.0.16) is a Browser automation CLI for AI agents: it uses commands to drive the QQ Browser to perform page opening, interaction, screenshots, downloads, reading page states, extracting structured data, and recording tasks to replay Playbooks. It is published by the Tencent QQ Browser Team, categorized under ai-agent on SkillHub, and tagged with requires_api_key=false (installing the Skill itself does not require an additional API Key). The upstream repository is available at clawhub.ai/qqbrowserteam/qqbrowser-skill.

Each task is packaged within an independent Chrome Tab Group; it supports live automation as well as saving workflows as reusable Playbooks for later browser_replay.

Core Features

The following capabilities are derived from the official Skill description and upstream documentation, summarized by usage.

When to enable the Skill (Agent side)

  1. The user wants to open, navigate, or interact with a website.
  2. There is a need to fill out forms, click buttons, take screenshots, download files, or check page status.
  3. Structured data needs to be extracted from a webpage.
  4. The user explicitly requests recording, saving, or reusing a browser task (e.g., “save as a script,” “record this,” “I need to use this next time”).
  5. The user wants to run an existing Playbook.

When not to use: When merely discussing HTML, CSS, or JavaScript without a need for actual browser operation.

CLI Capability Overview

Category Representative Commands Function
Session browser_start_session, browser_end_session, browser_attach_session Create isolated sessions or take over existing tabs
Navigation & Waiting browser_go_to_url, browser_go_back, browser_wait Open URLs, go back, wait
Page Perception browser_snapshot, browser_snapshot --markdown, browser_screenshot Snapshots with element indices, readable Markdown, screenshots
Interaction browser_click_element, browser_input_text, browser_find_and_act, etc. Clicking, inputting, semantic localization
Tabs browser_tab_list, browser_get_tab_content, browser_tab_switch, etc. List tabs, read non-active page content, switch
Data & Scripts browser_eval_content_js, browser_get_info Execute JS within the page, retrieve text/attributes, etc.
Recording & Replay task_begin / task_end, playbook_list, browser_replay Record when explicitly requested by the user; list and replay Playbooks

The isolation mode is fixed to enforce; browser_start_session can use --initialUrl to open a page directly upon session creation. Already opened tabs require browser_tab_list to obtain the tabId first, followed by browser_attach_session or browser_get_tab_content (read-only content access does not require creating a session).

Installation and Activation

There are two layers: the Agent Skill (teaching the model when and how to use the CLI) and the qqbrowser-skill executable environment (actually driving the browser).

1. Install SkillHub CLI (if not already installed)

command -v skillhub && skillhub --version

If not installed, you can execute a complete installation (CLI + default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

CLI only:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install the QQBrowserUse Skill

During installation, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ which may not be recognized.

skillhub install @tencent-adm/qqbrowser-skill --dir <skills directory>

Common paths (subject to SkillHub installation documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

You can also let the AI install @tencent-adm/qqbrowser-skill following skillhub.cn/install/skillhub.md.

3. Install qqbrowser-skill and QQ Browser

Upstream platform requirements: Linux x86_64, Windows, macOS; other Linux architectures (such as ARM) are not supported.

# Linux / macOS
pipx install qqbrowser-skill
qqbrowser-skill install   # Download and install QQ Browser

# Windows
pip install qqbrowser-skill
qqbrowser-skill install

The OpenClaw ecosystem can also install the Skill with the same name via openclaw skills install @qqbrowserteam/qqbrowser-skill (the coordinate differs from the SkillHub enterprise mirror; defer to the client you are using).

Typical Usage

The examples below are from the upstream Quick Start and can be reproduced directly in the terminal to outline the workflow.

qqbrowser-skill browser_start_session --sessionId task-demo-001 --initialUrl https://example.com
qqbrowser-skill playbook_list
qqbrowser-skill browser_snapshot
qqbrowser-skill browser_click_element --index "<index-from-snapshot>"
qqbrowser-skill browser_end_session --sessionId task-demo-001

When reading a page without clicking, a Markdown snapshot can be used (no element indices, suitable for one-time reading):

qqbrowser-skill browser_snapshot --markdown

When the user explicitly requests to “record this” or “save as a script,” enter recording mode; after task_end, you must organize the recording into a replayable Playbook JSON according to references/playbook.md within the Skill, rather than directly running the raw recording as a script.

Replaying an existing Playbook:

qqbrowser-skill playbook_list
qqbrowser-skill browser_replay --script <path> --variables '{"key":"value"}'

Official Note: browser_replay can take up to approximately 10 minutes; you should wait for completion and avoid interrupting it midway or switching to purely manual steps.

Use Cases and Notes

Who it is for: Teams or individuals already using Cursor, Claude Code, Codex, or OpenClaw-type Agents, where tasks frequently involve “help me complete a series of operations on a website” or “use the same workflow next time.”

Limitations and Pitfalls

  1. Relies on the QQ Browser and the qqbrowser-skill local environment; do not force deployment on unlisted architectures like ARM Linux.
  2. tabId and groupId cannot be guessed; you must first run browser_tab_list / browser_tabgroup_list.
  3. The Tab Group corresponding to the AI session is protected during the task; do not use tab group modification commands to disturb an active session; use browser_end_session to finish.
  4. Do not load this Skill when answering pure frontend knowledge questions or when there is no browser operation need, to avoid the model mistakenly opening a browser.

Current statistics on the SkillHub page (based on captured data): Rating 100000, Downloads 13384, Installations 329; Enterprise source enterprise.

Conclusion

QQBrowserUse unifies “opening pages, interacting, reading status, extracting data, recording, and Playbook replay” into a CLI callable by Agents, with the Skill coordinate and version maintained by the Tencent QQ Browser Team on SkillHub. If your Agent requires reproducible browser tasks rather than one-off script assembly, you can install it from the official Skill page and pair it with qqbrowser-skill for use.

  • SkillHub: https://www.skillhub.cn/skills/tencent-adm/qqbrowser-skill
  • API Entry: https://api.skillhub.cn/tencent-adm/qqbrowser-skill
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye