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

Skills เพิ่มเติมจาก parallel-web

parallel-monitor
parallel-web
ติดตามการเปลี่ยนแปลงบนเว็บอย่างต่อเนื่องตามช่วงเวลาที่กำหนด ใช้เมื่อผู้ใช้ขอให้ 'ตรวจสอบ', 'ติดตามการเปลี่ยนแปลงของ', 'เฝ้าดู', หรือ 'แจ้งเตือนฉันเมื่อ' มีบางอย่าง...
migrate-to-parallel
parallel-web
ย้ายการผสานรวมข้อมูลเว็บของ Exa, Tavily, Perplexity หรือ Firecrawl ไปยังผลิตภัณฑ์ Parallel ที่เหมาะสมอย่างสมบูรณ์พร้อมคงพฤติกรรมของแอปพลิเคชันไว้ ใช้…
parallel-data-enrichment
parallel-web
การเพิ่มข้อมูลบริษัท บุคคล หรือผลิตภัณฑ์จำนวนมากด้วยฟิลด์จากเว็บ เช่น ชื่อซีอีโอ เงินทุน และข้อมูลติดต่อ รองรับข้อมูล JSON แบบอินไลน์หรือไฟล์ CSV ส่งออกผลลัพธ์ที่เพิ่มข้อมูลแล้วเป็น CSV ทำงานแบบอะซิงโครนัสพร้อมติดตามความคืบหน้าผ่าน URL การตรวจสอบและคำสั่ง polling ต้องใช้เครื่องมือ parallel-cli และการเชื่อมต่ออินเทอร์เน็ต จัดการชุดข้อมูลขนาดใหญ่พร้อมการหมดเวลาที่ปรับแต่งได้ รองรับการขอฟิลด์ที่ยืดหยุ่นผ่านคำอธิบายความตั้งใจในภาษาธรรมชาติ (เช่น "ชื่อซีอีโอและปีที่ก่อตั้ง")
parallel-deep-research
parallel-web
การวิจัยอย่างละเอียดพร้อมการปรับสมดุลระหว่างความลึก ความหน่วง และต้นทุนที่กำหนดค่าได้สำหรับหัวข้อที่ซับซ้อน สามระดับโปรเซสเซอร์ (pro-fast, ultra-fast, ultra) ตั้งแต่ 30 วินาทีถึง 25 นาที โดยต้นทุนปรับขนาดจาก 1x ถึง 3x ของพื้นฐาน การทำงานแบบอะซิงโครนัสพร้อมการสอบถามสถานะ: เริ่มการวิจัยทันที ติดตามความคืบหน้าผ่าน URL ดึงผลลัพธ์เมื่อพร้อมโดยไม่ต้องรอ ผลลัพธ์เป็นรายงานรูปแบบ markdown และข้อมูลเมตา JSON สรุปผู้บริหารพิมพ์ไปยัง stdout เพื่อภาพรวมอย่างรวดเร็ว ออกแบบมาสำหรับการดำเนินการที่ชัดเจน...
parallel-findall
parallel-web
ค้นหานิติบุคคล (บริษัท บุคคล ผลิตภัณฑ์ ฯลฯ) ที่ตรงกับคำอธิบายในภาษาธรรมชาติ ใช้เมื่อผู้ใช้ขอให้ 'ค้นหา X ทั้งหมด' หรือ 'แสดงรายการ Y ทุกตัวที่...' —...
parallel-memory
parallel-web
จดจำการรัน Parallel Task, Monitor และ FindAll ในอดีตเมื่ออาจช่วยได้; ไล่การรันออกหรือล้างหน่วยความจำเมื่อถูกขอ
parallel-web-extract
parallel-web
แยกเนื้อหาจากหลาย URL พร้อมกันอย่างมีประสิทธิภาพด้านโทเค็น รองรับหน้าเว็บ บทความ PDF และเว็บไซต์ที่ใช้ JavaScript หนักด้วยคำสั่งเดียว ทำงานในบริบทที่แยกออกมาเพื่อลดโอเวอร์เฮดของโทเค็นเมื่อเทียบกับ WebFetch ในตัว รองรับการแยกเนื้อหาแบบกลุ่มหลาย URL พร้อมวัตถุประสงค์โฟกัสเสริม ต้องติดตั้ง parallel-cli และยืนยันตัวตน ส่งออกเนื้อหาที่แยกแล้วเป็น markdown ไปยังไฟล์ในเครื่องสำหรับคำถามติดตามผล
parallel-web-search
parallel-web
การค้นหาเว็บอย่างรวดเร็วสำหรับข้อมูลปัจจุบัน งานวิจัย และการค้นหาข้อเท็จจริงทั่วอินเทอร์เน็ต ดำเนินการค้นหาตามวัตถุประสงค์เดียวหรือค้นหาหลายคำหลักแบบขนาน ส่งคืนผลลัพธ์สูงสุด 10 รายการพร้อมข้อความที่ตัดตอนมาและข้อมูลเมตา รองรับการกรองตามเวลาผ่าน --after-date และการค้นหาเฉพาะโดเมนด้วย --include-domains ส่งออก JSON ที่มีโครงสร้างพร้อมชื่อเรื่อง URL วันที่เผยแพร่ และข้อความที่ตัดตอนมาเพื่อการแยกวิเคราะห์และการค้นหาต่อเนื่องที่ง่ายดาย ต้องมีการอ้างอิงในบรรทัดสำหรับทุกข้อความที่อ้างโดยใช้ markdown...