Lead Generation
Published by nirholas in xactions
Review recommended14 installs
What this skill does
Finds and qualifies B2B leads from X/Twitter conversations using keyword search, profile analysis, and intent scoring. Combines MCP tools for automated prospecting pipelines. Use when prospecting, finding potential customers, or mining social conversations for leads.
Add Lead Generation to your agent
Review the source and files first. When you are ready, copy the prompt instruction or use the CLI command supported by your environment.
Install with a prompt
Paste this into a compatible coding agent:
add this skill "lead-generation" from https://github.com/nirholas/xactionsInstall with the CLI
Run this command in a controlled environment after reviewing the repository:
npx skills add https://github.com/nirholas/xactions --skill lead-generationSkill instructions
Lead Generation
MCP-powered workflow for finding and qualifying B2B leads from X/Twitter conversations and profiles.
MCP Tools Used
| Tool | Purpose |
|---|---|
x_search_tweets | Find conversations by keyword/intent |
x_get_profile | Qualify leads with profile data |
x_get_tweets | Assess activity level and interests |
x_get_followers | Check audience size and quality |
x_get_following | Identify competitor usage / peer network |
Workflow
- Define search queries -- Build 3-5 keyword queries combining pain points, competitor names, or buying signals (e.g., "looking for {tool}", "anyone recommend {category}", "switching from {competitor}").
- Search conversations -- Call
x_search_tweetsfor each query withlimit: 30. Collect unique usernames. - Qualify profiles -- Call
x_get_profilefor each. Filter by: has bio, followers > 100, account age > 6 months. - Score intent -- Assign 1-5 score:
- 5: Explicit buying intent ("need a tool for...", "budget approved")
- 4: Comparing solutions ("X vs Y", "switching from")
- 3: Pain point discussion ("struggling with...")
- 2: Topic interest (engages with industry content)
- 1: Tangential mention
- Gather context -- For top leads (4-5), call
x_get_tweetswithlimit: 20. - Check network -- Call
x_get_followingfor high-value leads to see competitor follows. - Export lead list -- Format as structured output.
Browser Script Integration
Enhance MCP workflows with browser scripts:
| Goal | Script |
|---|---|
| Monitor keywords in real-time | src/keywordMonitor.js |
| Analyze potential lead's audience | src/audienceDemographics.js |
| Check overlap with your audience | src/audienceOverlap.js |
| Engage with leads' content | src/engagementBooster.js |
| Auto-follow qualified leads | src/automation/keywordFollow.js |
Output Template
## Lead List: {search_topic}
Generated: {date} | Total qualified: {count}
| Username | Score | Followers | Signal | Tweet URL |
|----------|-------|-----------|--------|-----------|
| @{user} | {1-5} | {count} | {type} | {url} |
### High-Priority Leads (Score 4-5)
**@{username}** -- Score: {n}/5
- Signal: "{tweet excerpt}"
- Bio: {bio}
- Suggested approach: {personalized outreach note}
Tips
- Run searches at different times to catch varied audiences
- Refresh weekly -- buying signals are time-sensitive
- Cross-reference with
x_get_followersto find warm intros - Use
src/keywordMonitor.jsfor ongoing keyword monitoring
Files included
- SKILL.md

