Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add moshi-labs/moshi-claude-plugin --skill close-the-cartsgit clone --depth 1 https://github.com/moshi-labs/moshi-claude-pluginWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/moshi-labs/moshi-claude-plugin/close-the-carts)<a href="https://agentmods.dev/skills/moshi-labs/moshi-claude-plugin/close-the-carts"><img src="https://agentmods.dev/badge/skills/moshi-labs/moshi-claude-plugin/close-the-carts/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/moshi-labs/moshi-claude-plugin/close-the-carts"><img src="https://agentmods.dev/badge/skills/moshi-labs/moshi-claude-plugin/close-the-carts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00065 | $0.01637 |
| Opus 5.5 | $0.00026 | $0.00655 |
| Sonnet 5.5 | $0.00013 | $0.00327 |
| Haiku 4.5 | $0.00006 | $0.00164 |
Grade A, and why
close-the-carts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Work the Closer queue for the organization this session is authenticated as: find the leads worth a nudge, draft one for each lead the merchant picks, let them review the whole batch at once, and send what they approve.
Walk the merchant through it, in order
-
Show the queue. Call
get_closer_queue(defaultlimit50). Lead with one line: how many leads are in it and the total open-cart value (lastCartValue, summed where present). Then list the leads, most urgent first, one line each: name (displayName, else@username), channel (platform), cart value, where it stalled (abandonmentStage), heat bucket, their last message (lastMessagePreview), and time left —windowClosesAtrelative to now ("closes in 3h").Put any row with
repliedSinceHold: trueat the very top and say so: the merchant took that conversation over and the customer has written back — a person is waiting on a human. Rows withheldByHuman: trueare conversations the merchant is already handling; mark them, and do not include them in a bulk draft unless the merchant asks for that lead by name.Mention the rules once, from
criteria: leads leave the queuewindowHoursafter their last message (that's when Meta stops delivering), a nudged lead is held back fornudgeCooldownDaysdays, and the org can send at mostdailyCapnudges a day.If the queue is empty, say so plainly and offer
get_closer_activityfor how recent nudges did. Stop there. -
Pick the batch. Propose the leads to draft: default to every lead that is not
heldByHuman, up to 10, ordered by time left (soonest-closing first), then cart value. Never propose more thandailyCap— anything past the cap cannot be sent today. Say what you'd pick in one line and go ahead unless they change it; the merchant can name leads to add or drop. If they ask for more than 10, do it, capped atdailyCap.Only draft leads the merchant will actually consider. Every draft runs a generation and is recorded as the merchant opening that lead, so do not draft the whole queue "just to see".
-
Draft the batch. Call
draft_closer_nudgeonce per lead in the batch, omittingofferContextso each lead gets its suggested offer. Keep each lead'sdraftId,message,suggestedIncentiveType,incentiveOptionsandofferContext. If one draft fails, note it against that lead and carry on with the rest — do not abandon the batch. -
Present everything for one review pass, then STOP. Number the drafts. For each:
- the lead (name, channel, cart value, time left)
- the message, verbatim, in a quote block — this is exactly what the customer reads
- the offer attached, in words ("free shipping", "10% off") and the product cards by
name (call
get_closer_offer_productsfor that lead if you need names; never show raw IDs). Say "no offer" when there is none.
Then ask for decisions in one go, and make them cheap to give:
- "send all", "send 1, 3, 5", "skip 2"
- edits — "make 4 shorter", "drop the discount on 2", "#6: say we restocked the black one"
- a different offer from that lead's
incentiveOptions
Review is the merchant's choice, not a gate you impose: if they said up front "just send them" or "draft and send", skip this stop and send the batch as drafted — but still list what went out afterwards (step 6).
-
Apply edits, then send. For a wording edit, rewrite the text yourself and show only the changed drafts again — not the whole batch. For an offer change, call
draft_closer_nudgeagain for that lead with the newofferContext(it returns a newdraftId; use that one). Once the merchant confirms, callsend_closer_nudgefor each approved lead with itsdraftIdand the final text asmessage. Send one at a time, not in parallel.Send exactly what they approved. Do not re-polish wording at send time. The draft's offer carries into the send automatically — only pass
incentiveId,newOfferorcardProductIdswhen the merchant changed the offer.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 104 lines · 65 tokens per session scan A 13b5234f7047
close-the-carts is a skill published in the GitHub repository moshi-labs/moshi-claude-plugin (3 stars, last pushed 5d ago), licensed MIT. It adds 65 tokens to every session and 1,637 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-08.
close-the-carts compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| close-the-cartsmoshi-labs/moshi-claude-plugin | Skill | 3 | 5d ago | MIT | A | 65 | Claude Code |
| amazon-reviews-api-skillbrowser-act/skills | Skill | 6.5k | 28d ago | MIT | A | 124 | Claude Code, Codex |
| amazon-competitor-analyzerbrowser-act/skills | Skill | 6.5k | 28d ago | MIT | A | 48 | Claude Code, Codex |
| cloudbase-wechat-integrationTencentCloudBase/CloudBase-AI-Toolkit | Skill | 1.2k | today | MIT | A | 94 | Claude Code |
| asc-subscription-localizationrorkai/app-store-connect-cli-skills | Skill | 1.2k | 2d ago | MIT | A | 60 | Claude Code |
| woo-guardamElnagdy/guard-skills | Skill | 1.3k | 8d ago | MIT | A | 216 | Codex |
| product-description-generatornexscope-ai/eCommerce-Skills | Skill | 1.6k | 21d ago | MIT | A | 126 | Claude Code, Codex |