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 — the two flags are alternative ways to specify what to enrich, not combined. If suggest returned a processor, pass it through explicitly via --processor on the run call (it's a tuned recommendation for the schema). Skip this whole section if the user already specified the fields they want.

enrich suggest requires parallel-cli ≥ 0.3.0. If it errors with anything resembling no such command / No such command / unknown command, do not bail — skip the suggestion step, fall through to step 1 with --intent, complete the run, and mention parallel-cli update (or pipx upgrade parallel-web-tools) in the final response so the user picks up the feature next time.

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"

The enrichment will run with the full context of that prior research — so you can enrich entities discovered earlier without restating what was already found. Note: enrichment does not itself produce a new interaction_id, so you cannot chain a further follow-up off of an enrichment.

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

Parse the --json output to extract taskgroup_id and url. The output is {taskgroup_id, url, num_runs} — there is no interaction_id field, do not look for one. Immediately tell the user:

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

Tell them they can background the polling step to continue working while it runs.

Step 2: Poll for results

Pick a concrete output path (e.g., /tmp/enrichment-acme.json). Note: the file is JSON regardless of the extension you choose — it's an array of {input, output} objects, not a CSV. Name it .json to avoid confusing yourself or the user.

parallel-cli enrich poll "$TASKGROUP_ID" --timeout 540 --output "/tmp/enrichment-<descriptive-name>.json"

Important:

  • Use --timeout 540 (9 minutes) to stay within tool execution limits
  • 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

If the poll times out

Enrichment of large datasets can take longer than 9 minutes. If the poll exits without completing:

  1. Tell the user the enrichment is still running server-side
  2. Re-run the same parallel-cli enrich poll command to continue waiting

Response format

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

After step 2:

  1. Report number of rows enriched
  2. Preview first few rows from the output file (it's a JSON array of {input, output} objects)
  3. Tell the user the full path to the output file

Do NOT re-share the monitoring URL after completion — the results are in the output file.

If the parallel-cli binary is not installed

If the shell reports command not found: parallel-cli (i.e. the binary itself is missing — distinct from a No such command error from a stale CLI, which the in-body guidance above covers), stop immediately. Do NOT search the web yourself, do NOT use any built-in search tools, and do NOT try to answer the query from your own knowledge. Instead, tell the user:

  1. parallel-cli is not installed
  2. Run /parallel-setup to install it
  3. Then retry their request

來自 parallel-web 的更多技能

parallel-cli-setup
parallel-web
Set up and maintain the Parallel CLI (install, auth, balance, skills install)
official
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