Skills
Chapter 2 of 10
Set up and maintain the Parallel CLI (install, auth, balance, skills install)
2 minutes · 332 words · 5 sections
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.
Check whether the CLI exists:
command -v parallel-cliIf missing, install with any of these methods:
brew install parallel-web/tap/parallel-cliuv tool install "parallel-web-tools[cli]"npm install -g parallel-web-clipipx install "parallel-web-tools[cli]" && pipx ensurepathWhen parallel-cli is present, require version >=0.7.1. 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):
parallel-cli updateuv tool upgrade parallel-web-tools[cli]pipx upgrade parallel-web-tools[cli]npm update -g parallel-web-clibrew update && brew upgrade parallel-web/tap/parallel-cliCheck auth status:
parallel-cli auth --jsonYou 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 --jsonIf 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"}.
After authentication, check the current balance:
parallel-cli balance getIf 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 (opens in a new tab) to add one.
Install the skills for the user:
parallel-cli skills installThe user may need to restart their agent if it doesn’t support hot reloading (e.g. Claude).
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 entitiesInstall this repository
npx skills add parallel-web/parallel-agent-skills/plugin marketplace add parallel-web/parallel-agent-skillsSkills install per repository, not per chapter — the CLI has no documented per-skill form, so we do not print one.
Bash(command:*),Bash(brew:*),Bash(uv:*),Bash(npm:*),Bash(pipx:*),Bash(curl:*),Bash(rm:*),Bash(parallel-cli:*)skills/parallel-cli-setup/SKILL.mdmain, last pushed 3 August 2026.SKILL.md, not by matching a directory convention. One layout observed: skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Parallel Web Systems, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./parallel-web/parallel-agent-skills.md, and each chapter at its own .md URL.