/a3:chat [--base-url URL] [--model MODEL] [--start-url URL] [--ui overlay|window]from a3
Set up and launch a web agent in interactive chat mode using bg-chat-minimal. Use when the user wants to chat with a web agent, test a vLLM-served model interactively, or run an A3 agent in the browser.
Ships in a3. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Launch a web agent in interactive chat mode. The agent opens a browser and a chat panel. You type instructions in the chat, the agent reads the page and takes actions.
Requires only: pip install "bg-chat-minimal @ git+https://github.com/xhluca/bg-chat-minimal.git" + playwright install chromium
Parse the following from $ARGUMENTS:
--base-url: vLLM endpoint URL (default: https://a3-qwen-vllm.mcgill-nlp.org/v1)--model: Model name served at the endpoint (default: auto-detected from /v1/models)--start-url: Starting URL for the browser (default: about:blank)--ui: window (chat in a separate Chromium window — default, recommended) or overlay (chat injected into the page via a Chrome extension, single window; experimental, may break on sites with strict CSP or custom layouts)pip install "bg-chat-minimal @ git+https://github.com/xhluca/bg-chat-minimal.git"
playwright install chromium
If there is no $DISPLAY set (headless server), set up Xvfb:
apt download xvfb x11-xkb-utils xkb-data libxfont2
Extract the debs into a local directory, then binary-patch Xvfb to use the local xkbcomp:
.deb files with dpkg-deb -x into a local directoryxkbcomp to /tmp/xkb/Xvfb binary and use sed to replace the hardcoded /usr/bin\x00 with /tmp/xkb\x00 (same byte length)Xvfb.patched :99 -screen 0 1920x1080x24 -ac &DISPLAY=:99If $DISPLAY is already set, skip this step entirely.
bg-chat --base-url <BASE_URL> [--model <MODEL>] [--start-url <START_URL>] [--ui <UI>]
Replace <BASE_URL>, <MODEL>, <START_URL>, and <UI> with the resolved argument values. If --model was not provided, omit it (bg-chat auto-detects from the endpoint). If --ui was not provided, omit it (defaults to window).
The viewport is 1470x720 by default.
Tell the user:
kill <PID>Suggest one of these to the user when they're not sure what to ask the agent:
flights.google.com — show me the 3 cheapest flights from sf to rio for april 22-28 with 2 stops or lessbooking.com — what are the 3 cheapest stays with rating of 8+ in Rio for april 22-28? focus on hotels with breakfast includedresy.com — find 3 highly-rated japanese restaurants in LA with availability for 2 people on April 23What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub xhluca/a3-claude-plugin --plugin a3