parallel-cli-setup
parallel-web/parallel-agent-skills
Install and configure the Parallel CLI for web search, extraction, and research capabilities.
What is parallel-cli-setup?
This skill automates setup of the Parallel CLI tool, handling installation across multiple package managers, OAuth authentication, balance verification, and skill registration. Use it when you need to initialize or upgrade the Parallel CLI on a new system or agent environment.
- Detects and installs Parallel CLI via brew, uv, npm, or pipx
- Upgrades existing CLI installations to version ≥0.9.2
- Authenticates via device OAuth flow with headless support
- Verifies account balance and prompts for payment method setup
- Registers Parallel skills for web search, extraction, and research
How to install parallel-cli-setup
npx skills add https://github.com/parallel-web/parallel-agent-skills --skill parallel-cli-setup- Node.js (for npm method) or Python (for pipx/uv method) or Homebrew (for macOS)
- Internet connection for OAuth authentication
- Parallel account with valid organization
How to use parallel-cli-setup
- 1.Run the skill to check for existing Parallel CLI installation
- 2.If missing, select and execute an installation method (brew/uv/npm/pipx)
- 3.If outdated, upgrade using the detected installation method
- 4.Authenticate via `parallel-cli login` (opens browser or uses device code in headless mode)
- 5.Verify account balance with `parallel-cli balance get` and add funds if needed
- 6.Install Parallel skills with `parallel-cli skills install`
- 7.Test with a sample command like `/parallel-web-search` or `/parallel-web-extract`
Use cases
- Initial setup of Parallel CLI on a fresh development machine
- Upgrading an outdated Parallel CLI installation to the latest version
- Authenticating a headless agent or CI environment to Parallel services
- Verifying and topping up account balance before running searches or extracts
- Installing Parallel skills package to enable agent-invocable commands
- Developers setting up Parallel CLI for the first time
- DevOps engineers configuring agents in headless environments
- Users upgrading from older CLI versions
- Teams managing Parallel API access across multiple machines
parallel-cli-setup FAQ
Use brew on macOS for simplicity, uv for cross-platform consistency, npm if you already have Node.js, or pipx for Python-based environments. The skill will detect and upgrade whichever method is already in use.
The login command supports `--no-browser` flag for headless sessions; it outputs a device code and verification URL that you can complete in a separate browser.
The skill checks the installed version and requires ≥0.9.2. It will automatically suggest an upgrade command matching your installation method if you're running an older version.
The skill will prompt you to add balance via `parallel-cli balance add <AMOUNT_IN_CENTS>`. You can also manage payment methods at https://platform.parallel.ai/settings.
Only if your agent does not support hot reloading. Most modern agents will recognize newly installed skills without a restart.
Full instructions (SKILL.md)
Source of truth, from parallel-web/parallel-agent-skills.
name: parallel-cli-setup description: Set up and maintain the Parallel CLI (install, auth, balance, skills install) user-invocable: true allowed-tools: Bash(command:), Bash(brew:), Bash(uv:), Bash(npm:), Bash(pipx:), Bash(curl:), Bash(rm:), Bash(parallel-cli:) metadata: author: parallel
Parallel CLI Setup
Set up or maintain parallel-cli with minimal friction. If you are running this prompt, your goal is to follow the instructions below and set up parallel-cli for the user so that they can execute searches, run extracts, deep research, etc.
Step 1: Install or upgrade the CLI
Check whether the CLI exists:
command -v parallel-cli
If missing, install with any of these methods:
- macOS only:
brew install parallel-web/tap/parallel-cli - Linux/macOS/Windows (uv):
uv tool install "parallel-web-tools[cli]" - Linux/macOS/Windows (npm):
npm install -g parallel-web-cli - Linux/macOS/Windows (pipx):
pipx install "parallel-web-tools[cli]" && pipx ensurepath
When parallel-cli is present, require version >=0.9.2. If older, identify the install method before advising an update. Use command -v parallel-cli, then inspect readlink "$(command -v parallel-cli)" if it is a symlink. Paths under ~/.local/share/uv/ tools/ indicate uv tool install; paths under ~/.local/share/parallel-cli/ indicate the standalone installer.
Upgrade commands (choose based on how it was installed):
- standalone:
parallel-cli update - uv:
uv tool upgrade parallel-web-tools[cli] - pipx:
pipx upgrade parallel-web-tools[cli] - npm:
npm update -g parallel-web-cli - homebrew:
brew update && brew upgrade parallel-web/tap/parallel-cli
Step 2: Authenticate
Check auth status:
parallel-cli auth --json
You will get a response like:
{
"authenticated": true,
"method": "oauth",
"env_var_set": false,
"has_stored_credentials": true,
"stored_overridden_by_env": false,
"token_file": "xxx",
"version": 1,
"selected_org_id": "legacy",
"selected_org_name": null,
"has_control_api_tokens": false
}
If authenticated is false or selected_org_id is legacy, prompt the user to log in:
parallel-cli login --json
If this is a headless session, append --no-browser.
This triggers device OAuth. The user will be prompted to go to a web browser and input the code the CLI outputs.
When invoking from an agent harness, prefer streaming stdout via a Monitor-style tool over blocking on completion.
The output will look like:
{"event": "auth_start"}
{"event": "device_code", "verification_uri": "http://localhost:3000/getServiceKeys/device", "verification_uri_complete": "http://localhost:3000/getServiceKeys/device?user_code=CHQX-NQKP&onboard_variant=agent", "user_code": "CHQX-NQKP", "expires_in": 600, "browser_open_attempted": true, "browser_opened": true}
{"event": "auth_waiting"}
{"event": "auth_success"}
{"event": "auth_success"} is emitted only after the user has successfully authorized the CLI. Otherwise it blocks at {"event": "auth_waiting"}.
Step 3: Check balance
After authentication, check the current balance:
parallel-cli balance get
If zero, prompt the user to add balance:
parallel-cli balance add <AMOUNT_IN_CENTS>
Make it clear that a payment method should have been added to the organization. If not, the user can go to https://platform.parallel.ai/settings to add one.
Step 4: Install the Parallel skills
Install the skills for the user:
parallel-cli skills install
The user may need to restart their agent if it doesn't support hot reloading.
Step 5: Suggest a first run
Prompt the user to use the newly installed skills to run a search or extract right away. Suggest one of (use $ instead of / for Codex):
/parallel-web-search <query>— fast web search/parallel-web-extract <url>— extract content from a URL/parallel-deep-research <topic>— comprehensive research/parallel-data-enrichment <list>— enrich a list of entities
Related skills
More from parallel-web/parallel-agent-skills and the wider catalog.

parallel-data-enrichment
Bulk enrich company, people, and product data with web-sourced fields like CEO names, funding, and contact info.

parallel-deep-research
Exhaustive multi-source research with citations when you need comprehensive, in-depth investigation.

parallel-findall
Discover structured lists of entities (companies, people, products) matching natural-language descriptions.

parallel-memory
Recall past Parallel Task, Monitor, and FindAll runs to inform current work; manage memory with retrieve, evict, and clear operations.

parallel-monitor
Continuously monitor web pages and track changes on a recurring schedule with server-side event detection.

parallel-web-extract
CLI-backed URL extraction with JSON output when web_fetch MCP is unavailable.