parallel-data-enrichment
Skill91 starsChanged 8 months agoMITView on GitHub
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 inline data. Supports multi-turn: pass --previous-interaction-id from a prior research task to carry context forward.
In this repository14 other files it gives its agents.
- choose-your-parallel-apiSkill
- migrate-to-parallelSkill
- parallel-cli-setupSkill
- parallel-deep-researchSkill
- parallel-findallSkill
- parallel-mcp-setupSkill
- parallel-memorySkill
- parallel-monitorSkill
- parallel-search-evaluationSkill
- parallel-search-setupSkill
- parallel-web-extractSkill
- parallel-web-searchSkill
- resultSkill
- statusSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
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 …
- Distinctive: line 34
Use ONE of these command patterns (substitute user's actual data):
- Very specific: line 48
If this is a follow-up to a previous research task and you have its interaction_id, add context chaining:
- Very specific: line 56
IMPORTANT: Always include --no-wait so the command returns immediately instead of blocking.
- Very specific: line 75
Keep polls bounded; --timeout 60 allows progress updates between waits.
- Distinctive: line 103
After completion, link the saved output rather than repeating the monitoring URL.
- Very specific: line 107
If parallel-cli is not found, install and authenticate:
- Very specific: line 113
If a documented option or command is missing, identify the install method and upgrade through that method: standalone parallel-cli update.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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" --jsonThe 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 suggestrequiresparallel-cli≥ 0.3.0. If only that command is missing, skip the optional suggestion step and use--intentin 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 tocore-fast, while intent can select another processor unless--processoroverrides 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 --jsonFor 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 --jsonIf 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 60allows progress updates between waits. - The
--targetfrom step 1 is unused in--no-waitmode. Only--outputhere determines where results are saved, and the file is always JSON. - A completed group can include failed rows. Count rows containing
outputseparately from rows containingerrorand compare their total withnum_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" --jsonInspect 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:
- Report successful, failed and total row counts, with any missing results called out.
- Preview a few successful rows and a representative failure if present, without claiming all rows succeeded.
- Tell the user the full path to the output file
After completion, link the saved output rather than repeating the monitoring URL.
Setup
If parallel-cli is not found, install and authenticate:
/parallel:parallel-cli-setupIf a documented option or command is missing, identify the install method and upgrade through that method: standalone parallel-cli update; pipx pipx upgrade parallel-web-tools; uv uv tool upgrade parallel-web-tools; Homebrew brew upgrade parallel-web/tap/parallel-cli; npm npm update -g parallel-web-cli. Recheck version and help in the agent's terminal before retrying.
For authentication or API errors, inspect the returned message. A 403 can indicate permissions, account policy or billing; it does not prove low balance. Check parallel-cli auth --json and its authenticated boolean when relevant without exposing credentials. Only a billing-specific error warrants a balance check, and adding funds needs explicit confirmation. Reuse saved group IDs; do not automatically retry an ambiguous creation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

