parallel-cli-setup

作者: parallel-web

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

npx skills add https://github.com/parallel-web/parallel-agent-skills --skill parallel-cli-setup

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.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):

  • 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

來自 parallel-web 的更多技能

parallel-data-enrichment
parallel-web
批量豐富公司、人物或產品數據,透過網絡來源欄位如CEO姓名、資金及聯絡資訊。接受內嵌JSON數據或CSV檔案;將豐富後的結果輸出至CSV。非同步執行,可透過監控URL及輪詢指令追蹤進度。需使用parallel-cli工具及網路連線;處理大型數據集並支援可設定的超時時間。透過自然語言意圖描述(例如「CEO姓名與成立年份」)支援靈活的欄位請求。
official
parallel-deep-research
parallel-web
針對複雜主題進行詳盡研究,具備可設定的深度、延遲與成本權衡。三個處理層級(pro-fast、ultra-fast、ultra)從30秒到25分鐘不等,成本從基準的1倍到3倍。非同步執行搭配輪詢機制:立即啟動研究,透過URL監控進度,無需阻塞即可在準備就緒時擷取結果。輸出格式化的Markdown報告與JSON元資料;執行摘要會輸出至標準輸出(stdout)以便快速瀏覽。專為明確...
official
parallel-findall
parallel-web
發現符合自然語言描述的實體(公司、人物、產品等)。當使用者要求「找出所有X」或「列出每個Y,其…」時使用。
official
parallel-monitor
parallel-web
持續以固定頻率追蹤網頁變化。當使用者要求「監控」、「追蹤變更」、「關注」或「提醒我」某事物時使用…
official
parallel-web-extract
parallel-web
從多個URL平行提取內容,節省token。單一指令即可處理網頁、文章、PDF及JavaScript密集型網站。在分叉環境中執行,相較內建WebFetch能減少token開銷。支援批次提取多個URL,可選定聚焦目標。需安裝parallel-cli並完成驗證;提取內容將以Markdown格式輸出至本地檔案,供後續查詢使用。
official
parallel-web-search
parallel-web
快速網路搜尋,用於獲取當前資訊、研究及事實查證。可執行單一目標查詢或多關鍵字平行搜尋,回傳最多10筆結果,包含摘要與元資料。支援透過--after-date進行時間敏感篩選,以及使用--include-domains進行特定領域搜尋。輸出結構化JSON,包含標題、網址、發布日期與摘要,便於解析與後續查詢。每個主張需使用Markdown格式內嵌引用來源...
official
result
parallel-web
根據執行 ID 取得已完成的研究任務結果
official
setup
parallel-web
設定 Parallel 插件(安裝 CLI)
official