Skip to main content
skill CX Codex

parallel-cli-setup — Claude Code skill: install and configure

A skill that walks the agent through installing parallel-cli, signing in, checking balance and installing the rest of the Parallel skills.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add parallel-web/parallel-agent-skills --skill parallel-cli-setup -a claude-code
Open on GitHub

What parallel-cli-setup does

Reach for this skill when you want Parallel search, extraction and deep research inside your agent but the CLI is not set up yet. It checks for the binary with command -v parallel-cli and, if it is missing, installs it one of four ways: brew on macOS, uv tool install, npm install -g or pipx. Version 0.9.2 or newer is required, and the upgrade path depends on how the CLI was installed — the skill inspects the symlink target to tell them apart.

Authentication comes next. parallel-cli auth --json reports whether you are signed in; if not, parallel-cli login --json starts device OAuth, printing a code you enter in the browser. Add --no-browser on a headless session. Then the skill reads the balance with parallel-cli balance get and, when it is zero, suggests topping up via parallel-cli balance add <AMOUNT_IN_CENTS>. A payment method has to be attached to the organization first.

The last two steps are parallel-cli skills install and a nudge toward a first run. One caveat: if your agent does not hot reload skills, restart it after the install.

What it helps with

  • install parallel-cli without picking between four install methods by hand
  • sign in to Parallel through device OAuth, including on a headless box
  • check the balance and top it up when it reads zero
  • upgrade the CLI to 0.9.2 or newer without breaking the existing install
  • pull in the remaining Parallel skills with one command

Example prompts for the agent

  • Set up parallel-cli from scratch: install it, log me in and check the balance
  • Check whether I'm authenticated with parallel-cli and start the login if not
  • Install the Parallel skills and tell me what to run first

How to install parallel-cli-setup

1Skills CLI (Vercel)

npx skills add parallel-web/parallel-agent-skills --skill parallel-cli-setup -a claude-code

2Manually: put the files in place

~/.claude/skills/parallel-cli-setup/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/parallel-cli-setup/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about parallel-cli-setup

How do I install parallel-cli-setup in Claude?

Run npx skills add parallel-web/parallel-agent-skills --skill parallel-cli-setup -a claude-code. The skill lands at ~/.claude/skills/parallel-cli-setup/SKILL.md.

What does parallel-cli-setup do?

It walks the agent through five steps: installing or upgrading parallel-cli, authenticating, checking the balance, installing the Parallel skills and suggesting a first run.

What does the skill need to work?

parallel-cli version 0.9.2 or newer, plus a Parallel account with a payment method attached if the balance is zero. On a headless session, login uses --no-browser.

Source text

SKILL.md · MIT
---
name: parallel-cli-setup
description: Set up and maintain the Parallel CLI (install, auth, balance, skills install)
user-invocable: true
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:

```bash
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.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:

```bash
parallel-cli auth --json
```

You will get a response like:

```json
{
  "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:

```bash
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:

```json
{"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:

```bash
parallel-cli balance get
```

If zero, prompt the user to add balance:

```bash
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:

```bash
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

© parallel · MIT · parallel-web/parallel-agent-skills

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set10

parallel-web-search A skill that runs web searches through parallel-cli and saves the full result set to JSON. Useful when you need keyword flags, domain filters, or a file to follow up on. CX Codex +1 14,400installs parallel-web-extract Fetches the content behind URLs through parallel-cli and can save it as JSON. Useful when you need the actual page text rather than a summary. CX Codex +1 13,600installs parallel-data-enrichment Adds web-sourced fields like CEO names, funding and contact info to lists of companies, people or products. Handles CSV files and inline data. CX Codex +1 13,500installs parallel-monitor This skill sets up server-side monitors that re-check web pages on a schedule and emit events when something changes. CX Codex +1 12,300installs parallel-findall Discovers companies, people, and products matching a natural-language description into a structured list. Useful when you need concrete entities rather than web pages or reports. CX Codex +1 12,300installs migrate-to-parallel Moves web-data integrations from Exa, Tavily, Perplexity or Firecrawl onto Parallel products while keeping app behavior intact. Handy when you swap search and scraping providers. CX Codex +1 3,200installs parallel-memory A skill that pulls past Parallel Task, Monitor and FindAll runs out of memory when they can help, and removes them on request. CX Codex +1 2,300installs choose-your-parallel-api Guides an agent to the right Parallel API and settings for the job: live web data, a cited answer, reading a URL or PDF, or researching every row of a list. CX Codex +1 1,200installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor