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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/a3:chatThe summary Claude sees in its skill listing — used to decide when to auto-load this 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.
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 23npx claudepluginhub xhluca/a3-claude-plugin --plugin a3Guides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Synthesizes the current conversation into a structured spec (PRD) and publishes it to the project issue tracker with a ready-for-agent label, without interviewing the user.