parallel-web/parallel-agent-skills

parallel-cli-setup

Set up and maintain the Parallel CLI (install, auth, balance, skills install)

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/parallel-web/parallel-agent-skills --skill parallel-cli-setup

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

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

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills
parallel-web
官方

parallel-deep-research

ONLY use when user explicitly says 'deep research', 'exhaustive', 'comprehensive report', or 'thorough investigation'. Slower and more expensive than parallel-web-search. For normal research/lookup requests, use parallel-web-search instead. Supports follow-ups with a known prior Task interaction ID.

1小时安装量
2
GitHub Stars
90
最近更新
10月21日
parallel-web
官方

parallel-findall

Discover entities (companies, people, products, etc.) matching a natural-language description. Use when the user asks to 'find all X' or 'list every Y that…' — e.g., 'Find AI startups that raised Series A in 2026', 'List roofing companies in Charlotte NC', 'Show me YC W24 dev tools companies'. Different from web-search (which returns webpages) and deep-research (which returns a narrative report). Use this when the user wants a structured list of entities.

1小时安装量
2
GitHub Stars
90
最近更新
10月21日
parallel-web
官方

parallel-monitor

Continuously track the web for changes on a recurring cadence. Use when the user asks to 'monitor', 'track changes to', 'watch', or 'alert me when' something on the web changes — e.g., 'Track price changes for iPhone 16', 'Alert me when Tesla files a new 8-K', 'Monitor competitor pricing pages weekly'. Also use to list, inspect, update, or stop existing monitors, including requests to delete them.

1小时安装量
2
GitHub Stars
90
最近更新
10月21日
parallel-web
官方

parallel-web-extract

CLI-backed URL extraction. Use when the user explicitly invokes this skill, needs CLI-only controls or saved JSON output, or no Parallel webfetch MCP tool is available. When the bundled Parallel Search MCP is available, prefer its webfetch tool for ordinary webpages, articles, PDFs, and JavaScript-heavy sites.

1小时安装量
2
GitHub Stars
90
最近更新
10月21日