parallel-data-enrichment

作者: parallel-web

Bulk data enrichment. Adds web-sourced fields (CEO names, funding, contact info) to lists of companies, people, or products. Use for enriching CSV files or…

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元数据;执行摘要打印至标准输出以便快速概览。专为显式...
official
parallel-findall
parallel-web
发现与自然语言描述匹配的实体(公司、人物、产品等)。当用户要求“找出所有X”或“列出每个Y,这些Y……”时使用。
official
parallel-monitor
parallel-web
持续按固定频率追踪网页变化。当用户要求“监控”、“追踪变化”、“关注”或“提醒我”某内容时使用…
official
parallel-web-extract
parallel-web
从多个URL并行提取内容,高效利用令牌。通过单条命令处理网页、文章、PDF及JavaScript密集型网站。在分叉上下文中运行,相比内置WebFetch减少令牌开销。支持批量提取多个URL,可设置可选聚焦目标。需安装parallel-cli并完成认证;提取内容以Markdown格式输出至本地文件,便于后续查询。
official
parallel-web-search
parallel-web
快速网络搜索,用于获取当前信息、进行研究及事实核查。可执行单一目标查询或并行多个关键词搜索,返回最多10条结果,包含摘要和元数据。支持通过--after-date进行时效性过滤,以及使用--include-domains进行特定域名搜索。输出结构化JSON,包含标题、URL、发布日期和摘要,便于解析和后续查询。要求每条声明使用Markdown格式的内联引用...
official
result
parallel-web
通过运行ID获取已完成的研究任务结果
official