close-the-carts

close-the-carts is a skill for Claude Code from moshi-labs/moshi-claude-plugin. It costs 65 tokens per session (1,637 once invoked), scanned A, original, MIT.

A sales follow-up tool for Moshi merchants, focused on shoppers who nearly bought something but stopped responding.

In plain words
What is it for?
It is for selecting leads, drafting a follow-up message for each, reviewing the drafts together, and sending approved messages.
Why use it?
It gathers these potential customers in one queue and avoids sending messages before the merchant reviews and approves them.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: positional $N argument.

Part of the moshi plugin — 6 skills, 1 MCP server shipped together

Good fit It is for selecting leads, drafting a follow-up message for each, reviewing the drafts together, and sending approved messages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/moshi-labs/moshi-claude-plugin/close-the-carts
Install

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.

Any agent
npx skills add moshi-labs/moshi-claude-plugin --skill close-the-carts
Clone the repo
git clone --depth 1 https://github.com/moshi-labs/moshi-claude-plugin

Made for: Claude Code.

Or install moshi, the plugin that ships this one along with the rest of its 6 skills, 1 MCP server.

Wrote 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.

agentmods badge for close-the-carts

README.md
[![agentmods](https://agentmods.dev/badge/skills/moshi-labs/moshi-claude-plugin/close-the-carts/github.svg)](https://agentmods.dev/skills/moshi-labs/moshi-claude-plugin/close-the-carts)
Your own site
<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.

agentmods 80×15 button for close-the-carts

Your own site · 80×15
<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>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,637 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 1mo ago against content hash 13b5234f7047, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

plugins/moshi/skills/close-the-carts/SKILL.md · 104 lines

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

  1. Show the queue. Call get_closer_queue (default limit 50). 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 — windowClosesAt relative to now ("closes in 3h").

    Put any row with repliedSinceHold: true at 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 with heldByHuman: true are 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 queue windowHours after their last message (that's when Meta stops delivering), a nudged lead is held back for nudgeCooldownDays days, and the org can send at most dailyCap nudges a day.

    If the queue is empty, say so plainly and offer get_closer_activity for how recent nudges did. Stop there.

  2. 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 than dailyCap — 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 at dailyCap.

    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".

  3. Draft the batch. Call draft_closer_nudge once per lead in the batch, omitting offerContext so each lead gets its suggested offer. Keep each lead's draftId, message, suggestedIncentiveType, incentiveOptions and offerContext. If one draft fails, note it against that lead and carry on with the rest — do not abandon the batch.

  4. 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_products for 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).

  5. 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_nudge again for that lead with the new offerContext (it returns a new draftId; use that one). Once the merchant confirms, call send_closer_nudge for each approved lead with its draftId and the final text as message. 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, newOffer or cardProductIds when the merchant changed the offer.

Read the full file on GitHub · 104 lines

Changes

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.

  1. 1mo ago First seen · 104 lines · 65 tokens per session scan A 13b5234f7047

Subscribe to this mod's changes

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.

Related

close-the-carts compared with skills from other repositories

close-the-carts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
close-the-cartsmoshi-labs/moshi-claude-pluginSkill35d agoMITA65Claude Code
amazon-reviews-api-skillbrowser-act/skillsSkill6.5k28d agoMITA124Claude Code, Codex
amazon-competitor-analyzerbrowser-act/skillsSkill6.5k28d agoMITA48Claude Code, Codex
cloudbase-wechat-integrationTencentCloudBase/CloudBase-AI-ToolkitSkill1.2ktodayMITA94Claude Code
asc-subscription-localizationrorkai/app-store-connect-cli-skillsSkill1.2k2d agoMITA60Claude Code
woo-guardamElnagdy/guard-skillsSkill1.3k8d agoMITA216Codex
product-description-generatornexscope-ai/eCommerce-SkillsSkill1.6k21d agoMITA126Claude Code, Codex