classify-leads

Classify leads using LLM for complex distinctions like product SaaS vs agencies. Use when user asks to classify leads, filter leads by type, or categorize businesses.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "classify-leads" with this command: npx skills add aiagentwithdhruv/skills/aiagentwithdhruv-skills-classify-leads

LLM Lead Classification

Goal

Classify leads using Claude for complex distinctions that keyword matching can't handle.

When to Use

  • Product SaaS vs IT consulting agencies
  • High-ticket vs low-ticket businesses
  • Subscription vs one-time payment models
  • NOT for simple categories (dentists, realtors)

Scripts

  • ./scripts/classify_leads_llm.py - Main classification script
  • ./scripts/update_sheet.py - Update sheets
  • ./scripts/read_sheet.py - Read from sheets

Usage

python3 ./scripts/classify_leads_llm.py .tmp/leads.json \
  --classification_type product_saas \
  --output .tmp/classified_leads.json

Performance

  • ~2 minutes for 3,000 leads
  • ~$0.30 per 1,000 leads
  • Default: includes "unclear" classifications (medium confidence)

Classification Types

  • product_saas: Product companies vs service/consulting
  • Custom types can be added

Output

JSON file with classification added to each lead record.


Schema

Inputs

NameTypeRequiredDescription
leads_filefile_pathYesJSON file with lead data
classification_typestringYesClassification type (e.g., 'product_saas')
outputfile_pathNoOutput JSON file path

Outputs

NameTypeDescription
classified_filefile_pathJSON file with classification added to each lead

Credentials

NameSource
ANTHROPIC_API_KEY.env

Composable With

Skills that chain well with this one: scrape-leads, gmaps-leads, instantly-campaigns

Cost

$0.30 per 1,000 leads

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

image-to-video

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

gmaps-leads

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

excalidraw-visuals

No summary provided by upstream source.

Repository SourceNeeds Review