/firefox-cli:firefox-clifrom firefox-cli
Controls the user's Firefox from a terminal for page navigation, tab/window management, screenshots, DOM reads, and page interactions using the user's authenticated session.
Ships in firefox-cli. 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.
firefox-cli gives agents terminal access to the user's real authenticated Firefox session through the installed Firefox extension.
The CLI help is the source of truth for commands, syntax, examples, and usage guidance.
Start with:
firefox-cli -h
For contextual command help:
firefox-cli snapshot -h
firefox-cli tab -h
firefox-cli click -h
firefox-cli wait -h
Use --json when another program or agent consumes the output.
For a page-reading task:
firefox-cli open "https://example.com"
firefox-cli snapshot -i
For the current active page:
firefox-cli snapshot -i
For action planning:
firefox-cli snapshot -i --json
Use command-specific help as the reference for each next operation.
Omitted selectors are accepted only when the required window or tab is unique. If several windows or tabs exist, pass an ID or explicitly pass active.
Use only the --window and --tab flags advertised by each command. Values are active, an index from firefox-cli tab or firefox-cli window, or id:<id>.
For isolated work, create a window and target every follow-up command explicitly:
firefox-cli window new
firefox-cli open --window id:<window-id> https://example.com
firefox-cli snapshot --window id:<window-id> -i
tab select selects the tab within its window. --focus also requests window foregrounding. window select brings its window forward. For open, tab new, window new, and screenshot, --focus requests window foregrounding. Without it, navigation keeps tab selection unchanged, new tabs are unselected, new windows receive no foreground request, and screenshots select the target tab without raising its window. Use --focus when human inspection or focus-dependent rendering needs the browser in front. Pass --window/--tab explicitly to later target-dependent commands.
firefox-cli setup -h
firefox-cli doctor -h
snapshot -i are useful handles for follow-up actions, but page navigation or reload can make them stale.--focus when the browser needs to be visible to the user.firefox-cli connect, invoke that once to show the user a permission prompt. The command will exit once approval is granted. Do not attempt to circumvent denials in any way.What SKILL.md sets; muted values are Claude Code's defaults
firefox-cli@respawn-tools is listed by respawn-llc/claude-plugin-marketplace — review the source before installing
npx claudepluginhub respawn-llc/claude-plugin-marketplace --plugin firefox-cliOther plugins' skills for the same job