scale-what-works

scale-what-works is a skill for Claude Code from moshi-labs/moshi-claude-plugin. It costs 66 tokens per session (3,155 once invoked), scanned C, original, MIT.

A workflow for finding a Moshi merchant's Meta ads that are already working and selecting the best ones for new Moshi flows.

In plain words
What is it for?
Reviewing a ranked shortlist of successful ads and, after approval, publishing selected ads as paused ads in one ad set.
Why use it?
It helps turn proven ads into new flows instead of choosing ads without an initial ranking.

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 Reviewing a ranked shortlist of successful ads and, after approval, publishing selected ads as paused ads in one ad set.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/moshi-labs/moshi-claude-plugin/scale-what-works
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 scale-what-works
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 scale-what-works

README.md
[![agentmods](https://agentmods.dev/badge/skills/moshi-labs/moshi-claude-plugin/scale-what-works/github.svg)](https://agentmods.dev/skills/moshi-labs/moshi-claude-plugin/scale-what-works)
Your own site
<a href="https://agentmods.dev/skills/moshi-labs/moshi-claude-plugin/scale-what-works"><img src="https://agentmods.dev/badge/skills/moshi-labs/moshi-claude-plugin/scale-what-works/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 scale-what-works

Your own site · 80×15
<a href="https://agentmods.dev/skills/moshi-labs/moshi-claude-plugin/scale-what-works"><img src="https://agentmods.dev/badge/skills/moshi-labs/moshi-claude-plugin/scale-what-works.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,155 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00066 $0.03155
Opus 5.5 $0.00026 $0.01262
Sonnet 5.5 $0.00013 $0.00631
Haiku 4.5 $0.00007 $0.00315

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

Security

Grade C, and why

scale-what-works scanned grade C with 1 finding 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 3mo 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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

If the merchant asks for more than 6, do not silently comply and do not refuse. Show them
plugins/moshi/skills/scale-what-works/SKILL.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Find the Meta ads already working for the organization this session is authenticated as, and offer to turn the best of them into new Moshi flows — ending with those flows created in the ad account, paused, ready for the merchant to review.

Walk the merchant through it, in order

  1. Call get_flow_status_data with period set to the window the merchant named, or since_launch if they did not name one. Use it for two or three lines of orientation ONLY — spend, DM conversations opened, and whichever outcome this merchant runs on — thread-proven orders for a store, captured and qualified leads for a survey flow. This is orientation, not the report — /flow_status_report already produces the full one-pager over this same data, and this skill must not duplicate it. Do not build a funnel, a lead table, or a "what people said" section here.

  2. Decide N first — see "How many ads to launch" below — then call get_ad_shortlist with render: true and suggestLimit: N. The tool decides the proposed set itself: it keeps only ads where cloneable !== false AND alreadyMirrored !== true (see Hard Rules below for exactly what the null case means and why it is kept, not dropped), ranks what remains by cpa ascending with cpa: null (no purchases yet) sorted last, and takes the top N. It draws cards for ONLY that set and returns the identical set as suggested in the tool result — the tool is the single source of truth for "which ads are we proposing", so the cards and your narration can never disagree. Read suggested off the result; do not re-derive the filter yourself.

  3. Look up the suggested adIds in ads to get each proposed ad's name, spend, cpa and roas.

  4. Draft the flow for each proposed ad, because sourceMetaAdId only supplies the creative — the headline, CTA, ice breakers and products are all NEW and the merchant has never seen them. Call get_products first. For each ad draft: a name, a headline, a ctaText, the shopifyProductIds to feature, and 1-3 iceBreakers. Base them on the ad's own adName/campaignName and the products it is clearly selling. ctaText MUST be one of Meta's accepted values (Shop Now, Order Now, Learn More, Get Offer, Sign Up, Subscribe, Get Quote, Send Message) or the publish is rejected.

    create_ad also supports these, and they are worth offering rather than leaving at defaults — a cloned ad inherits the creative, not the conversation behind it:

    • incentives — a discount attached to the flow. If the source ad's own copy promises an offer (a "30" or "%" in the ad name is a strong hint), the clone needs a matching incentive or the DM will not honour what the creative advertises.
    • appliesOnSellingPlans on an incentive — whether the discount applies to subscription purchases. Ask if the merchant sells subscriptions.
    • welcomeMessage — the first message when the chat opens.
    • greetingInstruction — a verbatim opening line the agent reproduces word for word.
    • productRecommendation — a short survey that recommends a product from the answers, instead of leading with a carousel.
    • includeBestSellers — defaults to true; adds best sellers alongside the chosen products.

    Do not interrogate the merchant about all of these. Draft sensible defaults, show what you chose, and name the one or two most likely to matter for this ad.

  5. Ask where it should live, once: a new campaign (the default — say so and move on) or an existing one. If they name an existing campaign, pass campaignId. If they want a new one with a specific name, pass campaignName. Never pass both.

    Always use a new ad set for the batch unless the merchant explicitly asks otherwise: ad #1 creates it and #2..N join it. Only pass an adsetId they gave you — and if they do ask to join a live ad set, that is when the learning-phase reset applies (see Hard Rules) and you cannot set a budget, because it belongs to that ad set already.

Read the full file on GitHub · 131 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. 3mo ago First seen · 131 lines · 66 tokens per session scan C aea5a73dc0c0

Subscribe to this mod's changes

scale-what-works is a skill published in the GitHub repository moshi-labs/moshi-claude-plugin (3 stars, last pushed 5d ago), licensed MIT. It adds 66 tokens to every session and 3,155 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

scale-what-works compared with skills from other repositories

scale-what-works next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scale-what-worksmoshi-labs/moshi-claude-pluginSkill35d agoMITC66Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code