parallel-data-enrichment

โดย parallel-web

การเพิ่มข้อมูลจำนวนมาก เพิ่มฟิลด์จากแหล่งข้อมูลบนเว็บ (ชื่อ CEO, เงินทุน, ข้อมูลติดต่อ) ลงในรายชื่อบริษัท บุคคล หรือผลิตภัณฑ์ ใช้สำหรับเพิ่มข้อมูลในไฟล์ CSV หรือ...

npx skills add https://github.com/parallel-web/parallel-cursor-plugin --skill parallel-data-enrichment

Data Enrichment

Enrich: $ARGUMENTS

Before starting

Inform the user that enrichment may take several minutes depending on the number of rows and fields requested.

Optional: Suggest output columns

If the user gave a vague intent ("enrich these companies with useful info") and you're not sure what columns to add, ask the API for a suggestion before kicking off the run:

parallel-cli enrich suggest "Find CEO and recent funding info" --json

The response is an envelope: {title, processor, enriched_columns, warnings}. Extract just the enriched_columns array (not the whole envelope) and pass it as the value of --enriched-columns on enrich run, in place of --intent. These flags are alternative ways to specify what to enrich. If suggest returned a processor, pass it explicitly via --processor on the run call. Skip this section if the user already specified the fields they want.

enrich suggest requires parallel-cli ≥ 0.3.0. If only that command is missing, skip the optional suggestion step and use --intent in step 1. Suggest an installation-specific upgrade from Setup. Do not classify authentication, API or invalid-input failures as an older CLI. An intent-based run itself requests a suggestion; explicit columns default to core-fast, while intent can select another processor unless --processor overrides it.

Step 1: Start the enrichment

Use ONE of these command patterns (substitute user's actual data):

For inline data:

parallel-cli enrich run --data '[{"company": "Google"}, {"company": "Microsoft"}]' --intent "CEO name and founding year" --target "output.csv" --no-wait --json

For CSV file:

parallel-cli enrich run --source-type csv --source "input.csv" --target "output.csv" --source-columns '[{"name": "company", "description": "Company name"}]' --intent "CEO name and founding year" --no-wait --json

If this is a follow-up to a previous research task and you have its interaction_id, add context chaining:

parallel-cli enrich run --data '...' --intent "..." --target "output.csv" --no-wait --json --previous-interaction-id "$INTERACTION_ID"

This reuses the prior Task's context. Context chaining is unavailable for Zero Data Retention (ZDR) accounts, so omit the flag there and include the needed context explicitly. Enrichment does not return a new interaction_id; retain the prior Task ID for later follow-ups. A taskgroup_id or Search/Extract session_id is not a Task interaction ID.

IMPORTANT: Always include --no-wait so the command returns immediately instead of blocking.

Save the --json output's taskgroup_id, url and num_runs immediately. There is no interaction_id field. If creation is interrupted or its response is lost, inspect whether the group was created before submitting another run. Immediately tell the user:

  • Enrichment has been kicked off
  • The monitoring URL where they can track progress

The group runs server-side; polling can resume later using its saved ID.

Step 2: Poll for results

Pick a persistent, run-specific output path (e.g., enrichment-acme-tgrp-<id>.json). Polling overwrites its output file, so inspect any existing file and use a new path unless replacement is intended. The output is JSON regardless of extension: an array of rows with input and either output or error. Async polling does not include basis or per-row interaction IDs; do not invent citations or context IDs.

parallel-cli enrich poll "$TASKGROUP_ID" --timeout 60 --output "enrichment-<descriptive-name>-<group-id>.json"

Important:

  • Keep polls bounded; --timeout 60 allows progress updates between waits.
  • The --target from step 1 is unused in --no-wait mode. Only --output here determines where results are saved, and the file is always JSON.
  • A completed group can include failed rows. Count rows containing output separately from rows containing error and compare their total with num_runs; an empty or incomplete file is not successful enrichment of the entire input.

If polling times out or is interrupted

Timeout exit 5 or interruption ends the local wait. Check group state before saying it is still running:

parallel-cli enrich status "$TASKGROUP_ID" --json

Inspect is_active, status_counts and num_runs. Resume the same poll for an active group, or retrieve results for an inactive group and report failures or unresolved rows. Do not recreate the group on a timeout or automatically rerun failed rows. A local file-write failure can be retried with the same group ID and a writable output path.

If the user requested CSV

Convert the saved JSON locally into a separate CSV. Preserve every original input column and row, including duplicate and failed rows; keep enrichment fields separate from conflicting input names and include an error column for failures. Do not assume streamed rows match original input order or guess a join when row identity is ambiguous. Validate the row count and leave the input CSV untouched. This is local conversion, not a CSV produced by async polling; report both JSON and CSV paths.

Response format

After step 1: Share the monitoring URL (for tracking progress).

After step 2:

  1. Report successful, failed and total row counts, with any missing results called out.
  2. Preview a few successful rows and a representative failure if present, without claiming all rows succeeded.
  3. Tell the user the full path to the output file

After completion, link the saved output rather than repeating the monitoring URL.

If the parallel-cli binary is not installed

If the shell reports command not found: parallel-cli, stop and tell the user to run /parallel-setup, then retry their request. Do not substitute built-in search, another provider or an answer from memory.

Command and authentication failures

No such command, No such option or unrecognized arguments from an installed CLI indicate a stale or mismatched interface. Check its version and upgrade through its installation method using /parallel-setup; parallel-cli update is for standalone installs only. Verify the required command in the same Cursor terminal before retrying.

For authentication errors, run parallel-cli auth --json and inspect authenticated; exit zero alone does not prove authentication. Use /parallel-setup for terminal login or environment-key guidance, without requesting credentials in chat. A 403 can be an authorization or billing error: report the actual error and do not assume insufficient balance or add funds automatically.

For other API/input errors, report the error without calling it a version problem. Reuse saved run IDs to resume asynchronous work. After an ambiguous creation failure, resolve whether a job exists before retrying creation.

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