@sellable/mcp 0.1.446 → 0.1.447

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -16,7 +16,7 @@ Each message gets 5+ minutes of Claude attention with deep research - no other t
16
16
 
17
17
  ### Prompt Source Of Truth
18
18
 
19
- There are seven public Sellable entrypoints shared across hosts:
19
+ There are eight public Sellable entrypoints shared across hosts:
20
20
 
21
21
  - `sellable:create-campaign`
22
22
  - `sellable:create-ab-test`
@@ -24,6 +24,7 @@ There are seven public Sellable entrypoints shared across hosts:
24
24
  - `sellable:foundation`
25
25
  - `sellable:content`
26
26
  - `sellable:create-post`
27
+ - `sellable:refresh-sender-engagement`
27
28
  - `sellable:refill-sends`
28
29
 
29
30
  The create-campaign public wrapper at
@@ -64,6 +65,13 @@ reader value, validates proof/AI tells, and saves content artifacts under
64
65
 
65
66
  - `mcp/sellable/skills/create-post/SKILL.md`
66
67
 
68
+ The refresh-sender-engagement public command wrapper finds active sender-owned
69
+ Post Engagers / Signal Discovery campaigns, refreshes recent sender-authored
70
+ posts, pulls latest engagers, filters to ICP, and adds net-new leads without
71
+ sending from:
72
+
73
+ - `mcp/sellable/skills/refresh-sender-engagement/SKILL.md`
74
+
67
75
  The refill-sends public command wrapper plans and executes approval-gated send
68
76
  refills. It supports `--yolo` and optional sender selectors such as
69
77
  `--sender "Christian Reyes"`, optional through-date selectors such as
@@ -195,10 +203,12 @@ The installer does the full local setup:
195
203
  After the installer passes, fully quit and reopen Codex Desktop. Start a new
196
204
  thread and select `Sellable Create Campaign`, `Sellable Create A/B Test`,
197
205
  `Sellable Create Evergreen Campaigns`, `Sellable Foundation`,
198
- `Sellable Content`, `Sellable Create Post`, or `Sellable Refill Sends`; or invoke
206
+ `Sellable Content`, `Sellable Create Post`, `Sellable Refresh Sender Engagement`,
207
+ or `Sellable Refill Sends`; or invoke
199
208
  `$sellable:create-campaign`, `$sellable:create-ab-test`,
200
209
  `$sellable:create-evergreen-campaigns`, `$sellable:foundation`,
201
- `$sellable:content`, `$sellable:create-post`, or `$sellable:refill-sends`. If the app still says
210
+ `$sellable:content`, `$sellable:create-post`,
211
+ `$sellable:refresh-sender-engagement`, or `$sellable:refill-sends`. If the app still says
202
212
  `mcp__sellable__*` tools are missing after the installer passes, check that
203
213
  `~/.codex/config.toml` contains both `[marketplaces.sellable]` and
204
214
  `[plugins."sellable@sellable"]`.
@@ -215,6 +225,7 @@ Use these names consistently:
215
225
  - Claude Code command: `/sellable:foundation`
216
226
  - Claude Code command: `/sellable:content`
217
227
  - Claude Code command: `/sellable:create-post`
228
+ - Claude Code command: `/sellable:refresh-sender-engagement`
218
229
  - Claude Code command: `/sellable:refill-sends`
219
230
  - Codex command: `$sellable:create-campaign`
220
231
  - Codex command: `$sellable:create-ab-test`
@@ -222,6 +233,7 @@ Use these names consistently:
222
233
  - Codex command: `$sellable:foundation`
223
234
  - Codex command: `$sellable:content`
224
235
  - Codex command: `$sellable:create-post`
236
+ - Codex command: `$sellable:refresh-sender-engagement`
225
237
  - Codex command: `$sellable:refill-sends`
226
238
  - Codex Desktop plugin: `sellable@sellable`
227
239
  - Codex visible skill: `Sellable Create Campaign`
@@ -230,6 +242,7 @@ Use these names consistently:
230
242
  - Codex visible skill: `Sellable Foundation`
231
243
  - Codex visible skill: `Sellable Content`
232
244
  - Codex visible skill: `Sellable Create Post`
245
+ - Codex visible skill: `Sellable Refresh Sender Engagement`
233
246
  - Codex visible skill: `Sellable Refill Sends`
234
247
  - Codex skill frontmatter name: `create-campaign`
235
248
  - Codex skill frontmatter name: `create-ab-test`
@@ -237,6 +250,7 @@ Use these names consistently:
237
250
  - Codex skill frontmatter name: `foundation`
238
251
  - Codex skill frontmatter name: `content`
239
252
  - Codex skill frontmatter name: `create-post`
253
+ - Codex skill frontmatter name: `refresh-sender-engagement`
240
254
  - Codex skill frontmatter name: `refill-sends`
241
255
  - MCP server name: `sellable`
242
256
  - Internal workflow prompt: `create-campaign-v2`
@@ -301,6 +315,13 @@ Use the refill command for sender send refills:
301
315
  /sellable:refill-sends --sender "Christian Reyes" --sender "Thomas Nobbs"
302
316
  ```
303
317
 
318
+ Use the refresh command to top up sender-owned post-engager campaigns from the
319
+ latest relevant sender-authored posts:
320
+
321
+ ```
322
+ /sellable:refresh-sender-engagement --sender "Christian Reyes"
323
+ ```
324
+
304
325
  Then describe intent naturally, for example:
305
326
 
306
327
  - "Let's make a campaign with sellable"
@@ -329,6 +350,12 @@ $sellable:refill-sends --yolo --until 2026-06-30
329
350
  $sellable:refill-sends --sender "Christian Reyes" --sender "Thomas Nobbs"
330
351
  ```
331
352
 
353
+ Use the Codex refresh command for latest post engagers:
354
+
355
+ ```
356
+ $sellable:refresh-sender-engagement --sender "Christian Reyes"
357
+ ```
358
+
332
359
  Installed skill package path:
333
360
 
334
361
  - `~/.codex/plugins/cache/sellable/sellable/<version>/skills/sellable-create-campaign/SKILL.md`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/mcp",
3
- "version": "0.1.446",
3
+ "version": "0.1.447",
4
4
  "type": "module",
5
5
  "description": "Sellable MCP server for Claude Code and Codex campaign workflows",
6
6
  "main": "dist/index.js",
@@ -1,7 +1,28 @@
1
1
  ---
2
2
  name: refresh-sender-engagement
3
3
  description: Top up a sender's post-engager pipeline — fetch their recent LinkedIn posts, pull new engagers, filter by headline ICP criteria, and add net-new leads to their post-engagers campaign with dedupe. Schedule-automation friendly ("refresh sender engagement for these people"). Read-only on LinkedIn; never sends.
4
- visibility: internal
4
+ visibility: public
5
+ allowed-tools:
6
+ - mcp__sellable__get_auth_status
7
+ - mcp__sellable__start_cli_login
8
+ - mcp__sellable__wait_for_cli_login
9
+ - mcp__sellable__get_active_workspace
10
+ - mcp__sellable__list_workspaces
11
+ - mcp__sellable__set_active_workspace
12
+ - mcp__sellable__get_subskill_prompt
13
+ - mcp__sellable__search_subskill_prompts
14
+ - mcp__sellable__list_senders
15
+ - mcp__sellable__get_sender
16
+ - mcp__sellable__get_campaigns
17
+ - mcp__sellable__get_campaign
18
+ - mcp__sellable__get_campaign_context
19
+ - mcp__sellable__get_campaign_table_schema
20
+ - mcp__sellable__list_tables
21
+ - mcp__sellable__get_rows_minimal
22
+ - mcp__sellable__fetch_linkedin_posts
23
+ - mcp__sellable__select_promising_posts
24
+ - mcp__sellable__fetch_post_engagers
25
+ - mcp__sellable__add_on_demand_leads
5
26
  ---
6
27
 
7
28
  # Refresh Sender Engagement
@@ -11,27 +32,60 @@ You are a pipeline supply agent. People who engage with a sender's LinkedIn post
11
32
  </role>
12
33
 
13
34
  <inputs>
14
- The invoking prompt names the senders ("refresh sender engagement for csreyes92 and thomas"). Resolve each via `list_senders` (match name/handle/LinkedIn URL). With no names given, refresh every connected sender in the active workspace.
35
+ The invoking prompt names the senders ("refresh sender engagement for csreyes92 and thomas"). Resolve each via `list_senders` (match name/handle/LinkedIn URL). With no names given, inspect the active workspace and refresh every connected sender that has an active/paused sender-owned Post Engagers campaign backed by Signal Discovery.
15
36
 
16
- Optional: lookback window (default: posts from the last 30 days), engagement sources (default `both` reactions+comments), and the target campaign name (default: the sender's existing "<Name> - Post Engagers" campaign found via `get_campaigns`/`list_tables`).
37
+ Optional: lookback window (default: posts from the last 30 days), engagement sources (default `both` reactions+comments), target sender names/ids, maximum posts per sender (default 5, hard cap 5 unless the user explicitly asks for more), and target campaign ids/names when the user wants to force a specific campaign.
17
38
  </inputs>
18
39
 
40
+ <entrypoint>
41
+ This is a public Sellable command:
42
+
43
+ - Claude Code: `/sellable:refresh-sender-engagement`
44
+ - Codex: `$sellable:refresh-sender-engagement`
45
+
46
+ Use this command when the user asks to refresh recent engagers, top up tracked
47
+ campaign post engagers, pull latest engagers from sender posts, or refill warm
48
+ post-engager source rows. It is not a send-refill command; if the user asks to
49
+ prepare/schedule sends after adding rows, finish this refresh first and then
50
+ suggest `refill-sends`.
51
+ </entrypoint>
52
+
19
53
  <objective>
20
- For each sender:
21
-
22
- 1. **Find the target campaign**: locate the sender's post-engagers campaign table (`get_campaigns` + `get_campaign`, or `list_tables`). If none exists, report "no post-engagers campaign — create one first" and skip; do not silently create campaigns on a schedule.
23
- 2. **Fetch recent posts**: `fetch_linkedin_posts({ linkedinUrl: sender profile, limit: 25 })`. Keep original posts (not reposts) from the lookback window, ranked by engagement.
24
- 3. **Pull engagers**: for the top posts (up to 5 per sender per run), `fetch_post_engagers({ postUrl, sources: "both" })`.
25
- 4. **Filter to ICP** using the campaign's existing headline ICP criteria (from `get_campaign` brief/rubrics). Judge each engager's headline against those criteria; exclude obvious non-fits, the sender's own colleagues, and anyone with no headline. When the campaign has no criteria, keep decision-makers and operators, exclude students/job-seekers/competitors.
26
- 5. **Add net-new leads only**: `add_on_demand_leads({ tableId, leads, skipDuplicates: true })` with name, headline-derived title, and profile URL. Dedupe is the default never disable it on a scheduled run.
27
- 6. **Report**: posts scanned, engagers found, ICP-passing, net-new added per sender. If a sender posted nothing in the window, say "no recent posts nothing to refresh" (that is a truthful no-op, not a failure).
54
+ For each target sender/campaign:
55
+
56
+ 1. **Find active Signal Discovery/Post Engagers campaigns first**:
57
+ - Call `get_auth_status` and confirm the active workspace.
58
+ - Call `get_campaigns` and, when needed, `list_tables`/`get_campaign` to find candidate campaigns.
59
+ - Keep only active or paused campaign-backed sender-owned Post Engagers campaigns. Strong signals include campaign/table names like `<Sender> - Post Engagers`, `sourceProvider:"signal-discovery"`, sender attachment to exactly one sender, and source/list/table readback indicating post engagers.
60
+ - Exclude shared Signal Discovery lanes, Shared Cold Fallback lanes, archived/completed campaigns, non-campaign tables, direct/on-demand-only campaigns, and any campaign attached to multiple senders unless the user explicitly selected it and the readback proves it is sender-owned.
61
+ - If no matching campaign exists for a sender, report "no active Post Engagers Signal Discovery campaigncreate one first" and skip; do not silently create campaigns.
62
+ 2. **Resolve the sender and source boundary**:
63
+ - Match each candidate campaign to its sender from `list_senders`/`get_sender`.
64
+ - Use the sender's own LinkedIn profile URL/handle as the only source author boundary.
65
+ - Never scrape third-party authors into a sender-owned Post Engagers campaign.
66
+ 3. **Find relevant sender-authored posts to refresh**:
67
+ - Call `fetch_linkedin_posts({ linkedinUrl: sender profile, limit: 25 })`.
68
+ - Keep original posts authored by that exact sender, not reposts, from the lookback window.
69
+ - Rank posts by recency, engagement count, and fit to the campaign's buyer/problem/topic. Prefer posts likely to attract the target buyer over generic company updates.
70
+ - If the campaign has an existing Signal Discovery/source state that names tracked/selected posts, prefer refreshing those posts when they are still inside the lookback window and relevant; otherwise choose the strongest recent sender-authored posts.
71
+ - When the product flow expects selected posts to be visible, call `select_promising_posts` before scraping.
72
+ 4. **Pull latest engagers**:
73
+ - For the top posts (up to 5 per sender per run), call `fetch_post_engagers({ postUrl, sources })`.
74
+ - Default `sources` to `"both"` unless the user requested reactions-only or comments-only.
75
+ 5. **Filter to ICP** using the campaign's existing headline ICP criteria (from `get_campaign` brief/rubrics/table schema). Judge each engager's headline against those criteria; exclude obvious non-fits, the sender's own colleagues, existing employees, students/job-seekers, competitors, and anyone with no usable headline. When the campaign has no criteria, keep likely decision-makers/operators and exclude weak-fit profiles.
76
+ 6. **Add net-new leads only**:
77
+ - Use `add_on_demand_leads({ tableId, leads, skipDuplicates: true })` with name, headline-derived title, profile URL, and source/post context where the tool accepts it.
78
+ - Dedupe is mandatory. Never disable dedupe on a scheduled run.
79
+ - Do not generate, approve, schedule, or send messages.
80
+ 7. **Report**: campaigns inspected, target campaigns selected, posts scanned, engagers found, ICP-passing, net-new added per sender/campaign. If a sender posted nothing in the window, say "no recent posts — nothing to refresh" (that is a truthful no-op, not a failure).
28
81
  </objective>
29
82
 
30
83
  <safety>
31
84
  - LinkedIn operations here are read-only fetches plus adding rows to a campaign table. **No messages are generated, approved, or sent by this skill.**
32
85
  - Respect workspace boundaries: only add leads to campaigns in the active workspace, and only for senders that belong to it.
86
+ - Respect campaign boundaries: only add engagers to the matched sender-owned Post Engagers campaign/table. Do not mix shared-lane engagers into sender-owned campaigns or sender-owned engagers into shared lanes.
33
87
  - Cap provider usage per run: at most 5 posts × `fetch_post_engagers` per sender. If the invoking automation wants more, it must say so explicitly.
34
- - Never call `start_campaign` or any send/approve tool.
88
+ - Never call `start_campaign`, `attach_sequence`, `queue_campaign_cells`, `start_campaign_message_preparation`, approval tools, or any send/schedule tool.
35
89
  </safety>
36
90
 
37
91
  <output>