PluginBench
Skill
Official
Review
Audit score 70

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?

The Parallel CLI Setup skill automates installation, authentication, and configuration of the Parallel CLI tool. Use this when you need to set up Parallel's search, extraction, and research features for the first time or maintain an existing installation.

  • Install Parallel CLI via brew, uv, npm, or pipx with automatic method detection
  • Authenticate using device OAuth with headless session support
  • Verify and manage account balance before running operations
  • Upgrade existing CLI installations to version 0.4.0 or later
  • Install Parallel agent 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
Prerequisites
  • Bash shell access
  • One of: Homebrew (macOS), uv, npm, or pipx package manager
  • Active Parallel account with valid credentials
  • Payment method configured in organization settings for balance operations
Claude Code
Cursor
Windsurf
Cline

How to use parallel-cli-setup

  1. 1.Run the skill to check for existing CLI installation
  2. 2.If missing, select and execute an install method (brew, uv, npm, or pipx)
  3. 3.Authenticate using `parallel-cli login` with device OAuth flow
  4. 4.Check account balance with `parallel-cli balance get` and add funds if needed
  5. 5.Run `parallel-cli skills install` to install available Parallel skills
  6. 6.Restart your agent if it does not support hot reloading
  7. 7.Use installed skills like `/parallel:parallel-web-search` for your first query

Use cases

Good for
  • Initial setup of Parallel CLI on a new development machine
  • Upgrading an outdated Parallel CLI installation to the latest version
  • Authenticating a headless or agent environment with device OAuth flow
  • Checking account balance and adding funds before running searches or extracts
  • Installing Parallel skills package to enable search and research commands
Who it's for
  • Developers setting up Parallel CLI for the first time
  • Users maintaining existing Parallel CLI installations
  • Agent operators in headless or CI/CD environments
  • Teams using Parallel for web search, data extraction, and research

parallel-cli-setup FAQ

What if I already have Parallel CLI installed?

The skill checks for existing installations and verifies the version is 0.4.0 or later. If an older version is found, it identifies the installation method and provides the appropriate upgrade command.

Does this work in headless environments?

Yes. The login command supports `--no-browser` for headless sessions, using device OAuth with a user code that can be entered in a web browser on another machine.

What payment method do I need?

A payment method must be added to your organization in the Parallel platform settings at https://platform.parallel.ai/settings before you can add balance and run operations.

Which installation method should I use?

Use brew on macOS for simplicity, uv for cross-platform consistency, npm if you have Node.js, or pipx for Python-based environments. The skill can detect and work with any method.

What skills become available after installation?

After running `parallel-cli skills install`, you gain access to parallel-web-search, parallel-web-extract, parallel-deep-research, and parallel-data-enrichment commands.

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:

  1. macOS only: brew install parallel-web/tap/parallel-cli
  2. Linux/macOS/Windows (uv): uv tool install "parallel-web-tools[cli]"
  3. Linux/macOS/Windows (npm): npm install -g parallel-web-cli
  4. Linux/macOS/Windows (pipx): pipx install "parallel-web-tools[cli]" && pipx ensurepath

When parallel-cli is present, require version >=0.4.0. 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 (e.g. Claude).

Step 5: Suggest a first run

Prompt the user to use the newly installed skills in ~/.agents/skills to run a search or extract right away. Suggest one of:

  • /parallel:parallel-web-search <query> — fast web search
  • /parallel:parallel-web-extract <url> — extract content from a URL
  • /parallel:parallel-deep-research <topic> — comprehensive research
  • /parallel:parallel-data-enrichment <list> — enrich a list of entities