lead-extractor

Extract structured real-estate lead records from parsed message objects. Use when users ask to find leads in WhatsApp exports, extract name-phone-budget, or classify listing vs requirement posts. Recommended chain: run after message-parser and before india-location-normalizer. Do not use for storage, summaries, outbound messaging, or action execution.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "lead-extractor" with this command: npx skills add vishalgojha/lead-extractor

Lead Extractor

Identify lead signals in parsed messages and emit strict lead objects.

Quick Triggers

  • Find all buyer leads from this WhatsApp chat.
  • Extract contact details and budget from these messages.
  • Identify serious property inquiries from parsed messages.

Recommended Chain

message-parser -> lead-extractor -> india-location-normalizer

Execute Workflow

  1. Accept parsed messages from Supervisor.
  2. Validate input with references/parsed-message-input.schema.json.
  3. Apply chat-specific extraction rules from references/extraction-rules-re-india-v1.md.
  4. Determine dataset_mode from Supervisor context:
    • default: broker_group
    • allowed: broker_group, buyer_inquiry, mixed
  5. Detect lead-candidate messages using inquiry intent, contact details, and property-related preferences.
  6. Classify record_type:
    • inventory_listing for broker inventory/availability posts (default in broker groups)
    • buyer_requirement for explicit "required/chahiye looking for" demand posts
    • drop non-lead/system noise instead of emitting noise_or_system
  7. Handle multiline listings as one candidate record when body lines contain price, area, or location details.
  8. Build lead records with:
    • required: lead_id, name, phone, record_type
    • optional: dataset_mode, property_type, budget, deal_type, asset_class, price_basis, area_sqft, area_basis, location_hint, raw_text, source, created_at
  9. Normalize phone extraction from spaced variants such as +91 98205 82462 and 98200 78845.
  10. Distinguish price intent from rate intent:
  • examples: 3.5 Lakh rent (monthly), 60K psf (per-sqft), 4.25 Cr (total)
  1. Deduplicate leads by stable keys when records clearly refer to the same person.
  2. Validate output with references/output-leads.schema.json.
  3. Return only validated lead objects.

Enforce Boundaries

  • Never write or update persistent storage.
  • Never modify source messages.
  • Never generate summaries.
  • Never suggest or execute follow-up actions.
  • Never send communication or invoke external side effects.

Handle Errors

  1. Reject invalid parsed-message input.
  2. Emit an empty array when no lead evidence exists.
  3. Return field-level validation errors when extracted records violate schema.

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.

General

low-carbon-medicine

低碳生活方式医学咨询。当用户提到低碳饮食、生酮饮食、减肥控糖、糖尿病逆转、代谢综合征、胰岛素抵抗时触发。

Registry SourceRecently Updated
General

x0x-api-smoketest-1777556197822

Scratch skill used to validate CI API publish flow before merge.

Registry SourceRecently Updated
General

java-circular-dependency-breaker

Break circular dependencies in Java multi-module Gradle/Maven projects using interface extraction and business service separation. Triggers: 'circular depend...

Registry SourceRecently Updated
General

Options Trading Brain

Professional options trading intelligence system. Monitors whale flow (Unusual Whales), counts Elliott Waves, analyzes Bollinger Bands, multi-timeframe trend...

Registry SourceRecently Updated