parallel-data-enrichment

作成者: parallel-web

一括データエンリッチメント。企業、人物、製品のリストに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-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を出力し、解析やフォローアップクエリを容易にします。すべての主張に対してマークダウンを使用したインライン引用が必要です...