parallel-cli-setup

作成者: parallel-web

Parallel CLIのセットアップとメンテナンス(インストール、認証、残高確認、スキルインストール)

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

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.

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-webのその他のスキル

parallel-monitor
parallel-web
継続的にウェブを監視し、定期的な間隔で変更を追跡します。ユーザーが「監視して」「変更を追跡して」「見張って」「通知して」などと依頼した場合に使用します。
migrate-to-parallel
parallel-web
Exa、Tavily、Perplexity、またはFirecrawlのウェブデータ統合を、アプリケーションの動作を維持しながら適切なParallel製品へ完全に移行します。使用…
parallel-data-enrichment
parallel-web
企業、人物、または製品データの一括エンリッチメントを、CEO名、資金調達、連絡先情報などのWebソースフィールドで行います。インラインJSONデータまたはCSVファイルを受け付け、エンリッチされた結果をCSVに出力します。監視URLとポーリングコマンドによる進捗追跡で非同期実行されます。parallel-cliツールとインターネットアクセスが必要で、設定可能なタイムアウトで大規模データセットを処理します。自然言語による意図記述(例:「CEO名と設立年」)を通じて柔軟なフィールドリクエストをサポートします。
parallel-deep-research
parallel-web
複雑なトピックに対して、深さ、レイテンシ、コストのトレードオフを設定可能な網羅的リサーチ。3つのプロセッサ層(pro-fast、ultra-fast、ultra)は30秒から25分まで対応し、コストはベースラインの1倍から3倍にスケーリング。非同期実行とポーリングにより、リサーチを即座に開始し、URL経由で進捗を監視、ブロックせずに結果を取得可能。出力はフォーマット済みMarkdownレポートとJSONメタデータ。エグゼクティブサマリーはstdoutに出力され、クイックオーバービューを提供。明示的に設計...
parallel-findall
parallel-web
自然言語の説明に一致するエンティティ(企業、人物、製品など)を発見します。ユーザーが「すべてのXを見つけて」や「…するすべてのYをリストアップして」と尋ねた場合に使用します。
parallel-memory
parallel-web
過去のParallel Task、Monitor、FindAllの実行を、役立つ可能性がある場合に想起し、求められたら実行やメモリを消去する。
parallel-web-extract
parallel-web
複数のURLから並行して、トークン効率よくコンテンツを抽出します。1つのコマンドでウェブページ、記事、PDF、JavaScript多用サイトを処理。フォークされたコンテキストで動作し、組み込みのWebFetchと比較してトークンオーバーヘッドを最小化。オプションのフォーカス目標を指定して複数URLのバッチ抽出をサポート。parallel-cliのインストールと認証が必要。抽出されたコンテンツはマークダウン形式でローカルファイルに出力され、フォローアップクエリに利用可能。
parallel-web-search
parallel-web
インターネット全体から最新情報、調査、事実確認を高速にウェブ検索します。単一の目的ベースのクエリまたは複数のキーワード検索を並行して実行し、抜粋とメタデータを含む最大10件の結果を返します。--after-dateによる時間指定フィルタリングと、--include-domainsによるドメイン指定検索をサポートします。タイトル、URL、公開日、抜粋を含む構造化JSONを出力し、解析やフォローアップクエリを容易にします。すべての主張に対してマークダウンを使用したインライン引用が必要です...