agentleFS
ericosiuericosiu/ai-marketing-skills/lead-dossier/SKILL.md

lead-dossier

Skill3.6k starsChanged 3 months agoMITView on GitHub

name: lead-dossier description: > Multi-source account research, cascade enrichment, and lead pipeline. Combines website scraping, tech stack detection, CRM enrichment, hiring/news signals into structured dossiers. Includes full lead sourcing pipeline: search → verify → dedupe → upload. Triggers on: "research account", "build dossier", "enrich leads", "lead pipeline", "source leads", "prospect research", "account intel", "cascade enrichment", "lead scoring", "find leads", "verify emails", "upload leads". --- Multi-source account research and lead enrichment pipeline for AI coding assistants. All API keys are configured…

  • Reads credentials

Trending

Quiet since September.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 2 mentionsAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the ericosiu/ai-marketing-skills repository that our weekly crawl found: only 3 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All API keys are configured via environment variables.

    line 38
  2. Distinctive:

    Use when asked to research a company or build a prospect dossier.

    line 52
  3. Distinctive:

    Use when enriching a list of prospects with verified email addresses.

    line 87
  4. Distinctive:

    Use when sourcing, verifying, and uploading leads end-to-end.

    line 115
  5. Distinctive:

    Use for enriching inbound leads from webhooks, forms, or CRM triggers.

    line 157
  6. Distinctive:

    Search API returns no results: Check title/industry spelling.

    line 182
  7. Very specific:

    Cache stale: Delete files in data/account-research/ to force refresh

    line 185

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

name: lead-dossier description: > Multi-source account research, cascade enrichment, and lead pipeline. Combines website scraping, tech stack detection, CRM enrichment, hiring/news signals into structured dossiers. Includes full lead sourcing pipeline: search → verify → dedupe → upload. Triggers on: "research account", "build dossier", "enrich leads", "lead pipeline", "source leads", "prospect research", "account intel", "cascade enrichment", "lead scoring", "find leads", "verify emails", "upload leads".

Lead Dossier Skill

Multi-source account research and lead enrichment pipeline for AI coding assistants.

Prerequisites

  • Python 3.9+ with requests installed
  • API keys configured as environment variables (see .env.example)
  • Optional: CRM access for contact/company enrichment

Environment Variables

All API keys are configured via environment variables. Copy .env.example to .env:

VariableDescription
LEAD_SOURCE_API_KEYPeople/company search API
EMAIL_VALIDATION_API_KEYEmail verification service
EMAIL_VALIDATION_API_URLEmail verification endpoint
CAMPAIGN_TOOL_API_KEYOutbound campaign platform
CRM_API_KEYCRM API key
CRM_BASE_URLCRM API base URL
BUILTWITH_API_KEYBuiltWith tech detection (free tier works)

Workflow 1: Account Research

Use when asked to research a company or build a prospect dossier.

Collect Parameters

ParameterRequiredExample
DomainYesacme.com
Company nameNoAcme Corp
Contact nameNoJane Doe
Contact titleNoVP Marketing

Run Research

python3 scripts/account-researcher.py --domain acme.com --company "Acme Corp"

For batch research:

python3 scripts/account-researcher.py prospects.json

Results are cached for 7 days in data/account-research/.

Output Format

The engine produces a structured JSON dossier with:

  • Website analysis (title, description, body snippet, marketing gaps)
  • Tech stack (CRM, marketing tools, enterprise signals)
  • Hiring signals (growth indicators)
  • News/funding signals
  • 3-5 sentence research brief

Workflow 2: Cascade Enrichment

Use when enriching a list of prospects with verified email addresses.

Prepare Config

Create data/enrichment-config.json:

{
  "email_validation_api_key": "YOUR_KEY",
  "email_validation_api_url": "https://api.your-provider.com/v1/people/email-finder",
  "email_validation_timeout_seconds": 10,
  "fallback_tag": "linkedin-outreach-only"
}

Run Enrichment

python3 scripts/cascade-enricher.py input.json output.json

Waterfall logic:

  1. Has email from primary source? → Done
  2. Try email finder API → Found? → Done
  3. Has LinkedIn URL? → Tag as fallback
  4. None → Tag as no-contact

Workflow 3: Full Lead Pipeline

Use when sourcing, verifying, and uploading leads end-to-end.

Collect Parameters

ParameterRequiredExample
TitlesYesVP Marketing, CMO
IndustriesYesMarketing, SaaS
Company sizeYes11-50, 51-200
LocationsYesUnited States
Campaign IDYesCampaign UUID
VolumeYes500

Run Pipeline

python3 scripts/lead-pipeline.py \
  --source-api-key "$LEAD_SOURCE_API_KEY" \
  --validation-api-key "$EMAIL_VALIDATION_API_KEY" \
  --campaign-api-key "$CAMPAIGN_TOOL_API_KEY" \
  --titles "VP Marketing,CMO,Head of Growth" \
  --industries "Marketing,Advertising" \
  --company-size "11,50" \
  --locations "United States" \
  --campaign-id "CAMPAIGN_UUID" \
  --volume 500 \
  --output-dir ./data/pipeline-runs/

Optional flags:

  • --exclude-file /path/to/burned-emails.csv — additional exclusion list
  • --dry-run — run everything except the final upload
  • --keywords "SaaS,B2B" — additional search keywords

Review Output

Pipeline saves a JSON run log to the output directory with full stats:

  • Sourced count, verification rate, dedup stats, upload results
  • Complete list of leads processed

Workflow 4: Real-Time Lead Enrichment

Use for enriching inbound leads from webhooks, forms, or CRM triggers.

Run Enricher

python3 scripts/lead-enricher.py [--dry-run] [--backfill N]

The enricher:

  1. Parses inbound lead data (website forms, voice agent calls, etc.)
  2. Looks up contact and company in CRM
  3. Runs account research for context
  4. Builds an enriched lead card with all available data

Safety Rules

  1. Never upload unverified leads — every email must pass validation
  2. Always deduplicate — check existing contacts before uploading
  3. Log everything — every run produces an auditable JSON log
  4. Rate limit aware — built-in delays and exponential backoff
  5. Idempotent — safe to re-run; duplicates are caught by dedup step
  6. Security gates — scan all inbound web content before processing

Troubleshooting

  • Search API returns no results: Check title/industry spelling; try broader criteria
  • Email validation 429s: Script handles with backoff; if persistent, reduce volume
  • Campaign tool silent failures: Some APIs silently block at high request rates; scripts include batch delays
  • Cache stale: Delete files in data/account-research/ to force refresh

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.