Sales Pipeline Manager

AI Sales Pipeline

by ericosiu · MIT license · ★ 3,615 on GitHub

AI Sales Pipeline cover

python3 telemetry/versioncheck.py 2>/dev/null || true

# AI Sales Pipeline

## Preamble (runs on skill start)

```bash
# Version check (silent if up to date)
python3 telemetry/version_check.py 2>/dev/null || true

# Telemetry opt-in (first run only, then remembers your choice)
python3 telemetry/telemetry_init.py 2>/dev/null || true
```

> **Privacy:** This skill logs usage locally to `~/.ai-marketing-skills/analytics/`. Remote telemetry is opt-in only. No code, file paths, or repo content is ever collected. See `telemetry/README.md`.

---

Complete AI-powered sales pipeline automation: website visitor identification → intent scoring → suppression → campaign routing → dead deal resurrection → trigger prospecting → self-learning ICP optimization.

Overview

Complete AI-powered sales pipeline automation: website visitor identification → intent scoring → suppression → campaign routing → dead deal resurrection → trigger prospecting → self-learning ICP optimization.

Manual install (npx, ZIP)
Claude Codenpx skills add ericosiu/ai-marketing-skills --skill sales-pipeline -g -a claude-code
Claude Code (degit)npx degit ericosiu/ai-marketing-skills/sales-pipeline#main ~/.claude/skills/sales-pipeline
Claude.ai / desktopZip the folder and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md3.5 KB
Read SKILL.md here
ericosiu/main1 file shown
SKILL.md
Show the full text81 lines

AI Sales Pipeline

Preamble (runs on skill start)

# Version check (silent if up to date)
python3 telemetry/version_check.py 2>/dev/null || true

# Telemetry opt-in (first run only, then remembers your choice)
python3 telemetry/telemetry_init.py 2>/dev/null || true

Privacy: This skill logs usage locally to ~/.ai-marketing-skills/analytics/. Remote telemetry is opt-in only. No code, file paths, or repo content is ever collected. See telemetry/README.md.


Complete AI-powered sales pipeline automation: website visitor identification → intent scoring → suppression → campaign routing → dead deal resurrection → trigger prospecting → self-learning ICP optimization.

When to Use

Use this skill when:

  • Setting up automated outbound from website visitor identification (RB2B)
  • Running suppression checks before cold outreach
  • Routing leads to the right cold email campaigns
  • Reviving closed-lost deals from HubSpot
  • Finding companies showing buying signals (new hires, funding, job postings)
  • Analyzing prospect approve/reject patterns to improve ICP targeting

Tools

RB2B Pipeline (visitor → outbound)
Script Purpose Key Command
rb2b_webhook_ingest.py Webhook server + intent scoring python3 rb2b_webhook_ingest.py --serve --port 4100
rb2b_suppression_pipeline.py 5-layer suppression checks python3 rb2b_suppression_pipeline.py --email [email protected]
rb2b_instantly_router.py Full pipeline: score → suppress → route → enroll python3 rb2b_instantly_router.py --serve --port 4100
Deal Intelligence
Script Purpose Key Command
deal_resurrector.py 3-layer dead deal revival (time decay + POC expansion + champion tracking) python3 deal_resurrector.py --top 10 --dry-run
trigger_prospector.py Web signal monitoring (new hires, funding, agency searches) python3 trigger_prospector.py --days 7 --top 15
icp_learning_analyzer.py Learn from approve/reject decisions, recommend ICP changes python3 icp_learning_analyzer.py

Configuration

All scripts use environment variables for API keys and configuration. Copy .env.example to .env and fill in your values.

Required Environment Variables
  • HUBSPOT_API_KEY — HubSpot private app token (Deal Resurrector, Suppression)
  • INSTANTLY_API_KEY — Instantly API key (Router, Suppression)
  • BRAVE_API_KEY — Brave Search API key (Trigger Prospector)
  • DATABASE_URL — PostgreSQL connection string (ICP Analyzer only)
Key Customization Points
  • Intent scoring: Edit PAGE_INTENT_SCORES dict in webhook_ingest to match your URL patterns
  • Agency detection: Edit AGENCY_KEYWORDS_* in router for your market
  • Loss reason scoring: Edit LOSS_REASON_BONUS in deal_resurrector for your close reasons
  • Signal queries: Edit SEARCH_QUERIES in trigger_prospector for your target market
  • Campaign routing: Edit data/campaigns.json with your Instantly campaign UUIDs

Data Flow

RB2B Webhook → Ingest (score) → Suppress (5 layers) → Route (classify) → Instantly
HubSpot CRM  → Deal Resurrector (score + draft emails) → Review Queue
Brave Search → Trigger Prospector (score + enrich) → Outreach Queue
Prospect DB  → ICP Analyzer (learn patterns) → Filter Recommendations

Dependencies

  • Python 3.9+
  • requests (for HubSpot API)
  • psycopg2-binary (for ICP Analyzer only)
  • No other external dependencies — scripts use stdlib HTTP server and urllib
1# AI Sales Pipeline
2 
3## Preamble (runs on skill start)
4 
5```bash
6# Version check (silent if up to date)
7python3 telemetry/version_check.py 2>/dev/null || true
8 
9# Telemetry opt-in (first run only, then remembers your choice)
10python3 telemetry/telemetry_init.py 2>/dev/null || true
11```
12 
13> **Privacy:** This skill logs usage locally to `~/.ai-marketing-skills/analytics/`. Remote telemetry is opt-in only. No code, file paths, or repo content is ever collected. See `telemetry/README.md`.
14 
15---
16 
17Complete AI-powered sales pipeline automation: website visitor identification → intent scoring → suppression → campaign routing → dead deal resurrection → trigger prospecting → self-learning ICP optimization.
18 
19## When to Use
20 
21Use this skill when:
22- Setting up automated outbound from website visitor identification (RB2B)
23- Running suppression checks before cold outreach
24- Routing leads to the right cold email campaigns
25- Reviving closed-lost deals from HubSpot
26- Finding companies showing buying signals (new hires, funding, job postings)
27- Analyzing prospect approve/reject patterns to improve ICP targeting
28 
29## Tools
30 
31### RB2B Pipeline (visitor → outbound)
32 
33| Script | Purpose | Key Command |
34|--------|---------|-------------|
35| `rb2b_webhook_ingest.py` | Webhook server + intent scoring | `python3 rb2b_webhook_ingest.py --serve --port 4100` |
36| `rb2b_suppression_pipeline.py` | 5-layer suppression checks | `python3 rb2b_suppression_pipeline.py --email [email protected]` |
37| `rb2b_instantly_router.py` | Full pipeline: score → suppress → route → enroll | `python3 rb2b_instantly_router.py --serve --port 4100` |
38 
39### Deal Intelligence
40 
41| Script | Purpose | Key Command |
42|--------|---------|-------------|
43| `deal_resurrector.py` | 3-layer dead deal revival (time decay + POC expansion + champion tracking) | `python3 deal_resurrector.py --top 10 --dry-run` |
44| `trigger_prospector.py` | Web signal monitoring (new hires, funding, agency searches) | `python3 trigger_prospector.py --days 7 --top 15` |
45| `icp_learning_analyzer.py` | Learn from approve/reject decisions, recommend ICP changes | `python3 icp_learning_analyzer.py` |
46 
47## Configuration
48 
49All scripts use environment variables for API keys and configuration. Copy `.env.example` to `.env` and fill in your values.
50 
51### Required Environment Variables
52 
53- `HUBSPOT_API_KEY` — HubSpot private app token (Deal Resurrector, Suppression)
54- `INSTANTLY_API_KEY` — Instantly API key (Router, Suppression)
55- `BRAVE_API_KEY` — Brave Search API key (Trigger Prospector)
56- `DATABASE_URL` — PostgreSQL connection string (ICP Analyzer only)
57 
58### Key Customization Points
59 
60- **Intent scoring**: Edit `PAGE_INTENT_SCORES` dict in webhook_ingest to match your URL patterns
61- **Agency detection**: Edit `AGENCY_KEYWORDS_*` in router for your market
62- **Loss reason scoring**: Edit `LOSS_REASON_BONUS` in deal_resurrector for your close reasons
63- **Signal queries**: Edit `SEARCH_QUERIES` in trigger_prospector for your target market
64- **Campaign routing**: Edit `data/campaigns.json` with your Instantly campaign UUIDs
65 
66## Data Flow
67 
68```
69RB2B Webhook → Ingest (score) → Suppress (5 layers) → Route (classify) → Instantly
70HubSpot CRM → Deal Resurrector (score + draft emails) → Review Queue
71Brave Search → Trigger Prospector (score + enrich) → Outreach Queue
72Prospect DB → ICP Analyzer (learn patterns) → Filter Recommendations
73```
74 
75## Dependencies
76 
77- Python 3.9+
78- `requests` (for HubSpot API)
79- `psycopg2-binary` (for ICP Analyzer only)
80- No other external dependencies — scripts use stdlib HTTP server and urllib
81 
View all files on GitHub →

Details

License
MIT
Stars on the repo
★ 3,615
Checked
Source
ericosiu/ai-marketing-skills ↗
Creator
ericosiu · 34 listings
View creator

Similar skills

See all →
AgentNEXUS Quick-Start Guidemsitarzewski/agency-agents · by msitarzewski> Get from zero to orchestrated multi-agent pipeline in 5 minutes.★ 154k GitHub starsSkillRaw Footage Cleanuphassancs91/claude-youtube-editor · by hassancs91Step 1 of the AI Video Editor pipeline — turn raw talking-head footage into a clean master cut. Use when the user wants to "clean cut", "cut the raw footage", "remove filler / dead air / bad takes", "tighten the pacing", produce cuts.json, run the cut editor, or render a cleaned preview/master for a video-N project in this repo. Covers audio extraction, AssemblyAI transcription, authoring cuts.json (keeps/cuts/fluff categorized), the cut policy (content-aggressive, pause-natural ~0.5s), QA + review docs, the local cut-editor UI, tight/natural previews, the final 4K60 render, and producing edited-transcript.json as the handoff to /make-tsx. Not for building TSX overlays (that is /make-tsx) or the raw TSX authoring rules (that is vidtsx-2d-generator).★ 330 GitHub starsSkillVocaloid Music Video BuilderEGSECDA/vocaloid-style-mv-pipeline · by EGSECDAMake an original animated music video (MV / PV) for a song from its audio file plus lyrics, in the Vocaloid / J-pop lyric-video tradition: 手書き/tegaki (V家手书, 手描きMV, ボカロPV), 文字PV and kinetic typography (リリックモーション, リリックビデオ, 歌詞動画, 歌词视频, 动态歌词), anime-illustration MVs with an original character — for any mood, from dark ballads to bright upbeat summer pop. Renders to MP4 with a deterministic Canvas2D/WebGL2 engine in a headless browser: JIZURA lyric motion, AI-generated art, optional Blender toon 3D, beat-locked editing, 9:16 vertical/Shorts version. Use it whenever the user wants a music video, MV, PV, lyric video or beat-synced animation for a song, e.g. make an MV for my song", "turn this track into a lyric video", "给这首歌做个MV/PV", "做个V家手书", "この曲のMVを作って", ボカロPV作って", "縦型ショートも" — even if they only give a .wav/.mp3 and say "make a cool video for it". Not for editing existing footage or clip compilations.★ 169 GitHub starsSkillConstruction Project Managerhewi333/Mom-n-Pop-Skills · by hewi333Construction company AI agent — orchestrates email (Google Workspace), project management (JobTread Pave API), and file routing for a construction business. Handles email triage, attachment routing to JobTread, project status, task management, and daily briefings via Telegram. Reference implementation for a construction/trades business with an existing email→Drive→PM pipeline.★ 122 GitHub starsSkillLightweight SQLite CRMhewi333/Mom-n-Pop-Skills · by hewi333Use when tracking customer interactions, managing leads, or building a lightweight CRM for small businesses without dedicated CRM software. Stores contacts, leads, activities, estimates, and communications in local SQLite.★ 122 GitHub starsSkillShort Video Pipelinehowznguyen/shorts-kit · by howznguyenOrchestrates one narrated vertical short (TikTok, YouTube Shorts, Reels) from idea to upload-ready hand-off files, in the fixed order idea, facts, flow and visual choice, brief, narration, TTS, lint, scenes, still review, render, cover, normalize, encode, hand-off. Use when the user says "make a video about X", "start a new short", "take this idea to a finished video", "what's the next step", "where was I on this video", or asks how the whole pipeline fits together. Also when the user gives a video or audio file (or a folder of clips) to edit: "edit this video", "dựng video này", a .mov/.mp4 path. Points at the skill and the SOUL section that governs each step.★ 69 GitHub stars

More from ericosiu

SkillVideo Moment Extraction Agentericosiu/ai-marketing-skills · by ericosiuUse when an agent must extract moments, quotes, objections, hooks, or evidence from long video or audio cheaper than full-frame ingest — sales calls, podcasts, YouTube episodes, Loom trials, discovery recordings. Goal-directed watch via Gemini agentic video understanding (frames, audio, or transcript). Not for cutting, overlays, rendering, scheduling, or publishing.★ 3.6k GitHub starsSkillConversion Operationsericosiu/ai-marketing-skills · by ericosiupython3 telemetry/versioncheck.py 2>/dev/null || true★ 3.6k GitHub starsSkillFinance Operationsericosiu/ai-marketing-skills · by ericosiuAI-powered financial analysis suite. Generates executive CFO briefings from QuickBooks exports (P&L, Balance Sheet, General Ledger, Cash Flow, etc.) with anomaly detection, burn rate, runway analysis, and scenario modeling. Also estimates codebase development costs with organizational overhead and AI ROI analysis. Triggers on: 'CFO briefing', 'financial analysis', 'cost briefing', 'expense review', 'runway analysis', 'burn rate', 'cost estimate', 'how much would this cost to build', 'development cost', 'Claude ROI'.★ 3.6k GitHub starsSkillRevenue Intelligence Dashboardericosiu/ai-marketing-skills · by ericosiupython3 telemetry/versioncheck.py 2>/dev/null || true★ 3.6k GitHub starsSkillValue-Based Sales Playbookericosiu/ai-marketing-skills · by ericosiupython3 telemetry/versioncheck.py 2>/dev/null || true★ 3.6k GitHub starsSkillSEO Operationsericosiu/ai-marketing-skills · by ericosiupython3 telemetry/versioncheck.py 2>/dev/null || true★ 3.6k GitHub stars