/littlebird-toolkit:comment-to-crm-piperfrom littlebird-toolkit
Finds new comment-keyword leads daily, deduplicates against CRM, tags by campaign, and drafts first messages. For daily drip lead harvesting from social comments.
Ships in littlebird-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Somebody commented on your post at 9:40 last night asking how it works. You saw the notification, you were doing something else, and by the time you remember it is Thursday.
This skill runs every morning, finds only the people who raised a hand SINCE THE LAST RUN, checks each one against your CRM so you are not creating duplicates, tags them by campaign, and hands you a drafted first message per person to send by hand.
It is the daily drip. lead-harvester is the post-mortem. Run lead-harvester after a
launch to reconstruct the whole roster. Run this one every day so the roster never has to
be reconstructed. They share the extraction and matching logic, and this skill points at
the sibling's guides rather than duplicating them.
Catch new hand-raisers on the user's own content while they are still warm, get them into the CRM with correct campaign attribution and no duplicates, and queue one drafted first message per person.
The premise is speed. The evidence for that premise is real but narrower than the industry sells it, and this skill says so rather than repeating a slogan:
One finding does transfer cleanly, because it is about teams rather than buyers: having a WRITTEN response-time target is associated with hitting it, 54.9% meeting a 15 minute target with a formal target against 29.5% without [references/research/raw/piper--speed-to-lead--digitalapplied-benchmarks-2026.md (source-repository research, not shipped with the plugin)]. So the skill asks the user to name a target and then measures against it.
Real tool names, verified in references/littlebird-mcp-reference.md. List the tools
available in the session before using any of them; do not assume the spelling here matches
what your session exposes.
| Tool | Used for |
|---|---|
search_user_context | Every retrieval pass. Notification surfaces, expanded comment threads, reaction lists, message thread lists, request screens. |
LB_INTERNAL_LIST_ROUTINES | Finding this skill's routine and its id. |
LB_INTERNAL_GET_ROUTINE_REPORTS | The high-water mark. Reading the previous runs to establish what has already been handled. This is the skill's spine. |
LB_INTERNAL_GET_ROUTINE_CONFIG | Reading the current routine prompt before any update, because update REPLACES the whole prompt. |
LB_INTERNAL_CREATE_ROUTINE | Offering to create the daily watcher, from an interactive session only. |
LB_INTERNAL_UPDATE_ROUTINE | Closing the loop after a Cowork run pipes a queue. Interactive sessions only. |
LB_INTERNAL_GET_SUBSCRIPTION_STATUS | Explaining a plan gate or a routine count limit. |
Not used, and deliberately: there is no Littlebird tool that searches past Littlebird chat
conversations, and there is no calendar tool. Anything that looks like search_chats or
get_calendar is not real.
CRM tools are NOT Littlebird tools. GoHighLevel, HubSpot and the rest are separate MCP
servers that may or may not be connected. See references/crm-tiers-and-import-formats.md.
Fires on: who engaged with my post today, pipe my new comments into the CRM, add today's leads to GoHighLevel, anyone new since yesterday, get these commenters into my CRM, daily lead drip, tag my new leads by campaign, did anyone raise their hand overnight.
Also fires when the user opens Cowork after a routine notification from the daily watcher.
Do NOT fire this for a full campaign reconstruction after the fact. That is
lead-harvester.
Daily. Default 08:00 in the user's local timezone, so the queue is waiting when they start work. Offer 07:00, 08:00, 12:00, and 17:00 as options, and explain the tradeoff: earlier means the overnight batch is ready first thing, later means the day's engagement is included.
The routine OBSERVES and writes a report. The Cowork session ACTS and writes to the CRM
(references/littlebird-mcp-reference.md, the Routines-observe Cowork-acts pattern). The
routine never writes to a CRM, never asks for approval, and never sends anything, because
it runs unattended in one pass.
Exact prompt text is in the routine wiring section below.
List the tools available in this session and use the real names you find. Do not assume a tool exists because it is named in this file.
references/crm-tiers-and-import-formats.md.references/evidence-standards.md, rule 4). Point the user at this marketplace's voice
creator skills instead of imitating a voice from nothing.Read references/high-water-mark.md in full. It is the skill's spine and the rest of the
process depends on it.
In short: list the routines, find this skill's routine, read its past reports with the
routine reports tool at a limit of at least 7, and scan newest to oldest for the first
PIPER STATE block. That block carries WATERMARK_TIME, CAMPAIGN_TAG,
PIPED_IDENTITIES, and LAST_RUN_STATUS.
Set the retrieval window to WATERMARK_TIME minus 6 hours, through now. The overlap exists
because capture lags the event; the identity list removes the duplicates the overlap
creates.
If there is no mark, branch on which of the three no-mark cases applies. They are not the same and the guide gives a different behavior for each. On a genuine first run, ASK the user how far back to sweep rather than defaulting to 24 hours.
With AskUserQuestion, in one batch, and only for what the state block did not already
answer:
CAMPAIGN_TAG came from the state block,
confirm it is still right rather than re-deriving it. Casing forks segments permanently.
See references/consent-and-tagging.md.Multiple narrow queries, never one broad one. A broad query returns oversized results that
get dumped to a file and it scores worse
(references/littlebird-mcp-reference.md, retrieval patterns). Every query is bounded by
the window from step 1. Run in parallel where the harness allows.
A. Public engagement on the user's own posts. search_user_context,
filters.data_source: snapshots, filters.app: chrome, plus the platform's native app
where the user works in one:
B. Inbound requests directed at the user. filters.data_source: snapshots:
C. Direct message ARRIVALS, name and time only. search_queries_messages populated,
filters.data_source: messages:
Extract the sender name, the send time, and the fact that a message arrived. Do not
extract the message body for the CRM. See the guardrail below and
references/consent-and-tagging.md.
D. Confirmation that the post is the user's own. One query on the post itself. A commenter on somebody else's post is out of scope and must be excluded.
Read the relevance scores. An item scored 3 is a maybe and does not carry a claim alone
(references/littlebird-mcp-reference.md).
Follow lead-harvester/references/signal-extraction-and-dedupe.md. Do not restate it
and do not invent a second matching ladder. In particular: every signal is a row carrying
display name, signal type, event time, receipt, surface, verbatim, and confidence;
deduplicate identical OCR lines before counting; sort by event time not relevance; merge
rows into people with the matching ladder, where tiers 1 and 2 merge automatically and
tiers 3 through 6 need corroboration or a question; surface ambiguous merges with
AskUserQuestion and never merge silently; record every "and N others" as a countable
member of the unnamed gap.
Then apply the high-water-mark identity filter: drop anyone whose name appears in the union
of PIPED_IDENTITIES across the reports read in step 1. Anyone surviving with an event
time BEFORE the mark is a late-captured signal, which is exactly what the 6 hour overlap is
for. Keep them and flag them as late-captured in the output.
Follow references/dedupe-against-crm.md. This is a different question from step 4, and
confusing the two produces bad output.
Normalise before comparing. Search the CRM on exact email, then exact phone, then exact
name, then fuzzy name. Auto-decide only at the top confidence band. Everything in the
middle goes to the user. A "new" verdict that rests on a name-only search is recorded as
new (name-only search), because most social hand-raisers arrive with a display name and
nothing else, and deterministic matching alone misses an estimated 30 to 40% of real
duplicates [references/research/raw/piper--dedupe--digitalapplied-merge-framework-2026.md (source-repository research, not shipped with the plugin)].
If an existing contact carries a DND or opt-out marker: skip them entirely, queue nothing, and say why in the dedupe report.
Follow lead-harvester/references/first-touch-drafting.md for the message shape. Short,
casual, specific to what the person actually did, delivering the thing they asked for, no
pitch.
One message per person. Not a sequence. Enrolling a commenter in a nurture sequence is
a different processing purpose with a different reasonable expectation attached, and this
skill does not do it (references/consent-and-tagging.md).
Read references/crm-tiers-and-import-formats.md. List the tools, pick the tier, say which
tier and why.
AskUserQuestion. Then upsert. Then report what actually happened including failures.First Name,Last Name,Email,Phone,Contact Source,Tags,Notes, plus the short import
instruction. Never emit a custom-field column the user has not confirmed exists.Two gates, both AskUserQuestion (references/evidence-standards.md, rule 6):
Then append the PIPER STATE block to the artifact, and close the routine loop by updating
the routine prompt with an ALREADY PIPED THROUGH date, per
references/high-water-mark.md. Say in the output which loop-closing method was used.
One artifact per run: piper-queue-YYYY-MM-DD.md, dated to the run date, in the user's
working directory unless they name another location. Where tier 2 applies, a second file
sits beside it: piper-import-YYYY-MM-DD.csv.
Sections, in this order:
Run frame. Window covered, from the high-water mark to now, stated as actual timestamps. The campaign tag used. The tier selected and why. The response-time target.
New hand-raisers. One row per person:
| Column | Contents |
|---|---|
| Name | Display name exactly as captured |
| Signal type | comment, reaction, DM arrival, friend request, connection request, follow |
| Event time | The event time, not the capture time, sorted ascending |
| Receipt | Canonical form per references/evidence-standards.md, rule 1 |
| Campaign tag | The exact tag string |
| Dedupe status | new, new (name-only search), existing (enriched), existing (opted out, skipped), ambiguous, or collision |
| Elapsed | Time from event to this run, measured against the target |
| Drafted first message | Full text, marked approved or pending |
| Confidence | High, Medium, Low |
Dedupe report. The counts block from references/dedupe-against-crm.md, including
the search-quality line naming how many verdicts rest on a name-only search.
Unnamed gap. Every "and N others" and "N people reacted" string, with its number,
surface, and receipt. Never present the named list as complete
(references/evidence-standards.md, rule 5).
Ambiguous and blocked. Merges the skill did not resolve, and any CRM collisions where nothing was written.
Excluded. Opted-out contacts, engagement on other people's posts, organisation pages, hostile rows. Named with reasons. Never silently dropped.
What was and was not automated. Explicit. Records upserted, or a file produced, or neither. Nothing sent to anyone, in every case.
Method and gaps. Which queries ran, which returned nothing, what could not be determined.
The PIPER STATE block, verbatim in the shape given in
references/high-water-mark.md.
Raw retrieved capture does not go in this file. Process it in temp space and let it go
(references/evidence-standards.md, rule 7).
Only public engagement on the user's own content gets piped, and a private message's contents never become a CRM note.
That is this skill's specific risk. It runs unattended every day, it writes into a durable third-party database, and it is one careless retrieval away from filing a private conversation in a marketing system. The other skills in this marketplace produce a document a human reads once. This one writes records that persist and get marketed to.
What follows from it:
lead-harvester/references/platform-rules.md; read that rather than a restatement here.
The consent
research adds a second, independent reason: CAN-SPAM penalties attach per email, up to
$53,088 each
[references/research/raw/piper--consent--ftc-can-spam-compliance-guide.md (source-repository research, not shipped with the plugin)], so an
automated blast off a partly verified roster multiplies the exposure by the row count.Full treatment in references/consent-and-tagging.md.
If the searches return nothing for the window, stop and report the gap. Do not fabricate a
roster (references/evidence-standards.md, rule 9).
Say which queries ran, over which window, with which filters, and that they came back empty. Then, critically:
Do not advance the high-water mark. Write LAST_RUN_STATUS: empty-retrieval and carry
the previous WATERMARK_TIME forward unchanged. Advancing the mark on a failed retrieval
permanently loses everyone who raised a hand in that window.
Distinguish two cases and say which one applies:
| Case | Meaning | Watermark |
|---|---|---|
| Nothing happened | Retrieval ran, returned items, none were new hand-raisers | Quiet day. Advance the mark. LAST_RUN_STATUS: quiet |
| Nothing was retrieved | Retrieval returned nothing at all, or errored | Possible failure. Hold the mark. LAST_RUN_STATUS: empty-retrieval |
The most common cause of the second case is that the user never had the post or the
notification surface on screen while Littlebird was watching. The fix is
lead-harvester/references/capture-protocol.md: open the thread, scroll it slowly for
sixty seconds, let capture read it. Point at that guide; do not restate it.
Offer this. Do not tell the user to go set it up by hand. LB_INTERNAL_CREATE_ROUTINE
works from an interactive session and is only blocked from inside a running routine
(references/littlebird-mcp-reference.md, routine tools).
Show the user the exact prompt text and the schedule, get approval with AskUserQuestion,
then call the routine creation tool. Creating one immediately generates a first report.
Note the plan-based limit on routine count, and check it with the subscription status tool
if creation fails.
Schedule: {"frequency": "daily", "time": "08:00"} in the user's local timezone, unless
they pick another from the options in the routine cadence section.
Routine prompt text, with bracketed values substituted from step 2:
Read your own previous reports first, before writing anything and before searching. Find the most recent block in them labelled PIPER STATE. It contains WATERMARK_TIME, CAMPAIGN_TAG, PIPED_IDENTITIES, and LAST_RUN_STATUS. WATERMARK_TIME is the latest event time you have already reported. Set your search window to start 6 hours BEFORE WATERMARK_TIME and run through now. The 6 hour overlap is deliberate: capture lags the event, so a late-captured signal would otherwise be lost. If LAST_RUN_STATUS on the most recent report is empty-retrieval, use the watermark from the report before it instead, because that run did not advance the mark. If there is no PIPER STATE block anywhere, use the last 24 hours and say in your report that you had no watermark to work from.
Search my captured context in that window for NEW public engagement on MY OWN posts for the [PLATFORM] campaign [CAMPAIGN NAME]. Run several narrow searches rather than one broad one. Cover: notifications naming people who commented on my post, expanded comment threads with names and comment text, reaction lists, pending friend and connection requests and new followers, and the ARRIVAL of new direct messages and message requests about the post or the offer.
For direct messages, record only the sender name, the send time, and the fact that a message arrived. Do not quote, paraphrase, or summarise the contents of a private message anywhere in your report. Only public engagement on my own content gets reported in detail.
Exclude anyone whose name appears in PIPED_IDENTITIES in any previous report. They have already been handled. If someone appears whose event time is earlier than WATERMARK_TIME and who is NOT in PIPED_IDENTITIES, include them and label them late-captured.
Write a short report with five parts.
First, the new hand-raisers you can NAME, each with the signal type, the event time (not the capture time), and the receipt in the form [Day, Month DD, YYYY HH:MM TZ | app]. Sort by event time, earliest first. For each one, state how many hours have passed between the signal and now.
Second, the UNNAMED gap: every "and N others" or "N people reacted" string you saw, with the number, the surface it came from, and its receipt. Never present the named list as if it were complete.
Third, anyone who has now given a SECOND distinct signal, for example someone who commented earlier and has now also sent a direct message or a friend request. Put these at the top and call them the hottest.
Fourth, the action line: tell me to open Cowork and run the comment-to-crm-piper skill to dedupe these people against my CRM, tag them [CAMPAIGN TAG], and draft the first messages. If anyone has been waiting longer than [TARGET], say so explicitly and put it first.
Fifth, the state block, formatted exactly like this and nothing else:
--- PIPER STATE, DO NOT EDIT --- WATERMARK_TIME: the latest event time among the people in this report, in my local timezone CAMPAIGN_TAG: [CAMPAIGN TAG] PIPED_IDENTITIES:
- one line per person named in this report UNNAMED_GAP: the total from part two LAST_RUN_STATUS: queued-for-cowork --- END PIPER STATE ---
If nobody new raised a hand, say exactly that in ONE line, do not restate yesterday's people, do not invent anyone, and still write the state block with the previous WATERMARK_TIME carried forward unchanged, an empty PIPED_IDENTITIES list, and LAST_RUN_STATUS: quiet.
If your searches return nothing at all, or error, say so and write the state block with the previous WATERMARK_TIME carried forward unchanged and LAST_RUN_STATUS: empty-retrieval. Do not advance the watermark on a failed search.
Set notifications on. The whole premise is that the user acts while the lead is warm, and a report nobody sees is a report that did not happen.
The escalation rule. The prompt's third part IS the escalation: a person giving a second
distinct signal is promoted to the top. The fourth part adds a second escalation on elapsed
time against the target. A routine with no escalation rule flags the identical item every
day forever; observed in production
(references/littlebird-mcp-reference.md, the Routines-observe Cowork-acts pattern).
Handoff to Cowork. When the user opens Cowork and runs this skill, step 1 reads the
routine's past reports. That gives you the day-by-day timeline, the names captured while the
threads were fresh, the running unnamed gap, and the watermark, which is strictly better
than reconstructing everything from one retrieval. After piping, close the loop by updating
the routine prompt with an ALREADY PIPED THROUGH yyyy-mm-dd line. Read the current prompt
with the routine config tool first, because update REPLACES the whole prompt
(references/littlebird-mcp-reference.md, routine tools).
Deleting the routine deletes the state. The watermark lives in the report history. Tell the user that before they delete anything.
Every claim follows references/evidence-standards.md. The rules that bite hardest here:
new (name-only search) rather than new. Never convert an absence into a
clean negative.| Skill | Relationship |
|---|---|
lead-harvester | The sibling. Campaign post-mortem: run it after a launch to reconstruct the full roster with scoring and segmentation. This skill is the daily drip that keeps the roster from needing reconstruction. It reuses lead-harvester's signal-extraction-and-dedupe.md matching ladder, capture-protocol.md scroll instructions, first-touch-drafting.md message shapes, and platform-rules.md platform prohibitions rather than duplicating any of them. |
routine-architect | Use it if the user wants the daily watcher tuned, rescheduled, or merged with other routines. |
| A personal voice skill | If installed, drafts go through it. If not, this skill writes plainly and says so. |
Ship Gate removed, research-only skill, produces no committable code.
| File | What it covers |
|---|---|
references/high-water-mark.md | How "since last run" works, the state block, the three no-mark cases, the overlap arithmetic, closing the Cowork loop |
references/crm-tiers-and-import-formats.md | The three tiers, the GoHighLevel upsert path and its hazards, the exact CSV header row and import instruction, the copy-paste fallback |
references/dedupe-against-crm.md | Normalisation, the CRM search ladder, confidence bands, survivorship on enrichment, the split-record collision, the required dedupe report |
references/consent-and-tagging.md | Public versus private, the reasonable-expectation test, lawful basis by channel and jurisdiction, opt-out at intake, the tag naming convention and why it is strict |
references/littlebird-mcp-reference.md | Tool inventory, parameters, return shapes, known limitations |
references/evidence-standards.md | Receipts, confidence, attribution, partial rosters, confirmation gates |
references/research/distilled-lead-capture-and-crm-intake.md | Cited distillation of the domain research |
| Source research archive (not shipped with the plugin) | Source-repository only; the shipped distillation summarizes it, do not require it |
README.md (opens in a new tab)references/consent-and-tagging.md (opens in a new tab)references/crm-tiers-and-import-formats.md (opens in a new tab)references/dedupe-against-crm.md (opens in a new tab)references/evidence-standards.md (opens in a new tab)references/high-water-mark.md (opens in a new tab)references/littlebird-mcp-reference.md (opens in a new tab)references/research/distilled-lead-capture-and-crm-intake.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub legioncodeinc/vibe-coding-tools --plugin littlebird-toolkit31 skills in this plugin
/brand-voice-guardianReview a draft against the user's established voice. Use before shipping posts, emails, pages, or messages in their name. Read README.md for the guide map./client-health-radarAssess client health from Littlebird evidence. Use for churn risk, scope creep, margin pressure, or weekly account reviews. Read README.md for the guide map./combined-voice-creatorBuild a personal writing-voice skill from Littlebird history and a Facebook export. Use when both consented sources are available. Read README.md for the guide map./commitment-trackerTrack commitments in Littlebird meeting records. Use to see what you owe, what others owe, and what has gone stale. Read README.md for the guide map./competitor-watchTrack competitors from Littlebird sightings and public sources. Use for watchlists, new entrants, or weekly market deltas. Read README.md for the guide map./content-repurposerTurn one long artifact into distinct voice-matched posts. Use for a week of content from a talk, article, or call. Read README.md for the guide map.Other plugins' skills for the same job