◉CLAUDE LABJP
●SONNET 4.5 — Sonnet 4.5 was retired from the Claude API on 11/30. Calls now return an error. Move to Sonnet 5.5●PROJECTS — The Enterprise Analytics API now reports daily usage for the new projects experience (beta)●OPUS 4.5 — claude-opus-4-5 retires on 2027/1/22, 52 days from now. The replacement is claude-opus-5-5●LANGUAGE — Some users say Claude switches to another language mid-session while they write in English●NEW — New: Weekly usage looks like it jumped right after a plan upgrade? Check this first●COWORK — Handing Cowork a folder for the first time? Start with a task that only reads files●SONNET 4.5 — Sonnet 4.5 was retired from the Claude API on 11/30. Calls now return an error. Move to Sonnet 5.5●PROJECTS — The Enterprise Analytics API now reports daily usage for the new projects experience (beta)●OPUS 4.5 — claude-opus-4-5 retires on 2027/1/22, 52 days from now. The replacement is claude-opus-5-5●LANGUAGE — Some users say Claude switches to another language mid-session while they write in English●NEW — New: Weekly usage looks like it jumped right after a plan upgrade? Check this first●COWORK — Handing Cowork a folder for the first time? Start with a task that only reads files
Articles/Claude Code
⟐ Claude Code/2026-04-23Advanced

Turning Claude Skills and Claude Code Plugins Into Products That Actually Sell

For indie developers who want to charge for a Skill or a Claude Code plugin: what each distribution route can and cannot protect, a private-repo plus Stripe webhook setup that gives access only to buyers, and how to price and when to stop.

Claude SkillsClaude Code PluginsMonetization9Indie Developer9Product Design

The first time I tried to make a Skill something people would pay for, I added a paragraph to the top of SKILL.md: check the licence key before doing anything else. Then I loaded it into Claude Code to test it. Claude read the whole file back to me, licence check included, and helpfully explained the two easiest ways around it.

That evening settled something for me. A Skill is not a product you can sell by hiding what's inside. SKILL.md, the reference files and the scripts are plain text the moment they reach someone's machine. Rather than building ever more elaborate locks around that, it is much faster to decide up front what you actually can protect, and design the product around that.

This piece is for indie developers who want to charge for a Skill or a Claude Code plugin. It walks through what each distribution route can and cannot protect, a concrete setup that gives access only to buyers (a private repository, a Stripe webhook and a Cloudflare Worker), and how I think about pricing and stopping. The spec details follow the official documentation as it stands in November 2026, but this area moves quickly, so please check each official page before relying on a step in production.

The short version: you sell "it keeps working", not the files

Anything delivered as text can be copied once it has been delivered. What cannot be copied out of a repository is this:

  • the patterns and prohibitions keep being updated as the work they support changes
  • buyers keep receiving those updates through a channel only they can reach (a private repo or marketplace)
  • when they get stuck, they can ask the person who built it

I keep one line in front of me whenever a design decision gets murky:

Hand over the contents. Charge for the promise that it will still be right next month.

Once you accept that, you stop leaning on mechanisms that drop to zero value the moment someone bypasses them, and start building value out of the delivery channel and the update rhythm instead.

Skills vs. plugins: what each one is, and which to sell

A Skill is the knowledge; a plugin is the box it ships in

A Skill is a folder centred on SKILL.md (YAML frontmatter with name and description, plus a body), with reference files and scripts alongside. Under the Agent Skills specification, only each Skill's name and description are loaded at startup; the body and reference files are read only when the Skill is judged relevant to the task. The spec caps name at 64 characters and description at 1,024.

A Claude Code plugin bundles Skills together with slash commands, subagents, hooks and MCP server configuration into one distributable unit. The plugin root holds .claude-plugin/plugin.json, with Skills under skills/, commands under commands/, agents under agents/, and so on. Plugins are distributed through a marketplace: a git repository with a .claude-plugin/marketplace.json.

So they are less competing options than layers. The Skill is the substance; the plugin is the packaging and the delivery route. For Claude Code users, "put the Skill in a plugin and ship it through a marketplace" is the most natural shape for a product.

What each distribution route can protect

RouteWho it reachesCan buyers read the contents?How updates arriveCan you limit it to buyers?
A zip uploaded to claude.aiclaude.ai and desktop users with code execution enabledYesThey re-upload a new zipYou control the hand-off, not what happens to the zip afterwards
Claude Code plugin in a private marketplace repoClaude Code usersYesMarketplace updatesYes, via repository access, which you can revoke on cancellation
Claude Code plugin in a public repo or official directory listingAnyoneYesMarketplace updatesNo (good as a free entry point or sampler)
Keep the logic on your server and expose it as an MCP serverUsers who can configure MCPNo, the logic stays server-sideInstantly, when you deployYes, via API keys, at the cost of running a service

If you want a single rule: Claude Code developers get a private marketplace, claude.ai business users get a zip plus update notices, and if the logic itself is the value, run an MCP server. When in doubt, start your first product as a private marketplace. It has the best balance between operational burden and what it actually protects.

Three misconceptions worth clearing up

  1. "The whole Skill is loaded every time it's called." Only name and description are loaded up front; the body is read when needed. That is exactly why the description decides whether a paid Skill ever gets used. A vague description means a Skill someone paid for and Claude never reaches for.
  2. "I can protect a Skill by validating a licence inside it." The validation code and the instruction that calls it are both sitting in plain text on the buyer's machine. As I found out, Claude can read them too. On top of that, network access from claude.ai's code execution environment can be restricted, so the check may fail for legitimate buyers.
  3. "Getting listed in the official directory means I can charge through it." Anthropic's marketplaces and directory are about distribution and discovery. I could not find anything in the November 2026 documentation describing a way to collect payment through them, so plan on running billing yourself.

Designing a Skill narrow enough to be worth paying for

General-purpose writing or code review Skills get compared head-to-head with free official Skills and public repos. The room to charge opens up when you narrow to one role and one task.

  1. Pick one role and one task. "E-commerce operator × product titles and descriptions" is narrow enough that you can say where the output goes. "Marketer × content" is not.
  2. Watch the current workflow. Which screen are they looking at, which template, which spreadsheet? A Skill hands that desk over to Claude, so you need to know the files involved before you can encode a pattern.
  3. Fix the output format. A Skill that returns a different shape each time loses trust the more it's used. Fix the heading order, the length, the required fields.
  4. Write down what a professional would never do. Show a draft to someone who does the work and note every "we'd never write that". Collected in something like banned_phrases.md, that list is the part of the Skill nobody else has.

Here is where I went wrong first. My early prototype put all of the knowledge directly in the SKILL.md body. It didn't go well: every product category triggered the same long body, and the category-specific patterns that actually mattered got buried. These days SKILL.md only says when to use the Skill and what to read in what order, and the category patterns live in separate files that the body names explicitly.

A product-shaped file layout: a Skill inside a plugin

Here is a layout for shipping an e-commerce copywriting Skill as a plugin.

ec-copy-marketplace/                 # private repository (the marketplace)
├── .claude-plugin/
│   └── marketplace.json
└── plugins/
    └── ec-product-copy/
        ├── .claude-plugin/
        │   └── plugin.json
        ├── skills/
        │   └── ec-product-copy/
        │       ├── SKILL.md
        │       ├── style_guide.md
        │       ├── banned_phrases.md
        │       ├── categories/
        │       │   ├── fashion.md
        │       │   ├── cosmetics.md
        │       │   └── home_appliance.md
        │       ├── examples/
        │       │   ├── input_001.json
        │       │   └── output_001.md
        │       └── scripts/
        │           └── check_output.py
        ├── commands/
        │   └── copy-check.md
        ├── CHANGELOG.md
        └── LICENSE

The marketplace's marketplace.json names the marketplace, its owner, and the plugins it contains:

{
  "name": "ec-copy-marketplace",
  "owner": { "name": "YOUR_NAME" },
  "plugins": [
    {
      "name": "ec-product-copy",
      "source": "./plugins/ec-product-copy",
      "description": "Writes e-commerce product titles and descriptions using per-category patterns and a banned-phrase list"
    }
  ]
}

The plugin's plugin.json carries the name, version and description. Bump the version with every update and record what changed in CHANGELOG.md. For a buyer, that changelog is the visible proof that the thing is alive.

{
  "name": "ec-product-copy",
  "version": "1.4.0",
  "description": "A Skill that writes product copy from per-category patterns, plus a command that checks the output",
  "author": { "name": "YOUR_NAME" }
}

The SKILL.md description is the sentence that decides whether the Skill gets called. Say what it does and also which requests it is for:

---
name: ec-product-copy
description: Use when writing or revising e-commerce product titles and descriptions. Detects the product category (fashion, cosmetics, home appliances), follows the matching file in categories/ and banned_phrases.md, and returns a fixed heading structure.
---
 
# Steps
1. Detect the product category from the input and read only the matching file in categories/.
2. Draft using the heading structure in style_guide.md.
3. Check that nothing from banned_phrases.md remains.
4. Run scripts/check_output.py for length and required fields; fix any violations before returning.

On the buyer's side, installation is two lines inside Claude Code (for a private repo, the buyer's own GitHub authentication needs to work):

/plugin marketplace add YOUR_ORG/ec-copy-marketplace
/plugin install ec-product-copy@ec-copy-marketplace

Billing: gate on access, not on validation

Before: checking a token from inside the Skill

My first design issued a token at purchase and had a script inside the Skill check it against a Cloudflare Worker:

// Before: validation endpoint, called from a script inside the Skill
export default {
  async fetch(request, env) {
    const { token } = await request.json();
    const record = await env.TOKENS.get(token, { type: 'json' });
    if (!record || record.expires_at < Date.now()) {
      return new Response(JSON.stringify({ valid: false }), { status: 403 });
    }
    return new Response(JSON.stringify({ valid: true, plan: record.plan }));
  }
};

It works as code. As protection it has two holes. Deleting one line from SKILL.md removes the check entirely. And when a paying customer's check fails, it is hard to tell whether the fault is mine or a network restriction in their environment. A system that starts from suspicion of the people who paid you comes back to you as support work.

After: invite to the repo on purchase, remove on cancellation

What I recommend now is granting and revoking access to a private repository in step with purchases and cancellations. Add a "GitHub username" field to Stripe Checkout (custom_fields), and have a Cloudflare Worker receive the webhook and invite that user as a read-only collaborator through the GitHub API. When the subscription ends, the same Worker removes them.

// After: src/index.ts — a Worker that grants and revokes read access to a private repo from Stripe webhooks
import Stripe from "stripe";
 
export interface Env {
  STRIPE_SECRET_KEY: string;       // set with wrangler secret put (YOUR_STRIPE_SECRET_KEY)
  STRIPE_WEBHOOK_SECRET: string;   // the whsec_ signing secret
  GITHUB_TOKEN: string;            // fine-grained token with Administration: Read and write on the target repo
  GITHUB_REPO: string;             // e.g. "YOUR_ORG/ec-copy-marketplace"
  BUYERS: KVNamespace;             // customer_id -> GitHub username
  EVENTS: KVNamespace;             // processed event IDs (dedupe redeliveries)
}
 
const GH = "https://api.github.com";
 
async function github(env: Env, method: string, username: string) {
  const res = await fetch(`${GH}/repos/${env.GITHUB_REPO}/collaborators/${encodeURIComponent(username)}`, {
    method,
    headers: {
      Authorization: `Bearer ${env.GITHUB_TOKEN}`,
      Accept: "application/vnd.github+json",
      "User-Agent": "plugin-access-worker",
      "Content-Type": "application/json",
    },
    body: method === "PUT" ? JSON.stringify({ permission: "pull" }) : undefined,
  });
  // PUT succeeds with 201 (invitation created) or 204 (already a collaborator); DELETE with 204
  if (![201, 204].includes(res.status)) {
    throw new Error(`GitHub ${method} ${res.status}: ${await res.text()}`);
  }
}
 
export default {
  async fetch(request: Request, env: Env): Promise<Response> {
    if (request.method !== "POST") return new Response("Method Not Allowed", { status: 405 });
 
    const stripe = new Stripe(env.STRIPE_SECRET_KEY);
    const signature = request.headers.get("stripe-signature") ?? "";
    const body = await request.text(); // signature verification needs the raw body; don't JSON.parse first
 
    let event: Stripe.Event;
    try {
      event = await stripe.webhooks.constructEventAsync(
        body, signature, env.STRIPE_WEBHOOK_SECRET, undefined, Stripe.createSubtleCryptoProvider()
      );
    } catch (e) {
      return new Response(`Signature verification failed: ${(e as Error).message}`, { status: 400 });
    }
 
    if (await env.EVENTS.get(event.id)) return new Response("duplicate", { status: 200 });
 
    try {
      if (event.type === "checkout.session.completed") {
        const session = event.data.object as Stripe.Checkout.Session;
        const field = session.custom_fields?.find((f) => f.key === "github_username");
        const username = field?.text?.value?.trim();
        if (!username || !session.customer) throw new Error("github_username or customer missing");
        await env.BUYERS.put(String(session.customer), username);
        await github(env, "PUT", username);
      }
 
      if (event.type === "customer.subscription.deleted") {
        const sub = event.data.object as Stripe.Subscription;
        const username = await env.BUYERS.get(String(sub.customer));
        if (username) await github(env, "DELETE", username);
      }
    } catch (e) {
      // Returning 500 makes Stripe retry; don't mark the event as processed yet
      return new Response((e as Error).message, { status: 500 });
    }
 
    await env.EVENTS.put(event.id, "1", { expirationTtl: 60 * 60 * 24 * 30 });
    return new Response("ok", { status: 200 });
  },
};

Why it's written this way, in the order of the code:

  • constructEventAsync with createSubtleCryptoProvider(). The synchronous constructEvent from the Stripe SDK doesn't work on Workers, so you use the async version backed by Web Crypto. The body is read raw with request.text() because the signature is computed over those exact bytes.
  • Record the event ID only after the work succeeds. Record it first, and a GitHub failure would cause Stripe's retry to be thrown away as a duplicate.
  • pull permission. Buyers only need to read. Write access would let one buyer change what every other buyer receives.
  • KV only for the lookup table and dedupe. Workers KV is eventually consistent; Cloudflare's docs note that writes can take time to become visible in other locations. Two near-simultaneous deliveries of the same event could both get processed, but a second PUT just returns 204, so no harm done. That is also why nothing involving money lives here.

Adding a collaborator on GitHub sends an invitation; the repository stays invisible until the buyer accepts it by email or notification. One line on the success page and in the receipt ("please accept the GitHub invitation") prevents most support emails. If you sell to individuals in Japan, you will also need the legally required seller disclosure page before checkout.

Testing it before going live

# Forward Stripe webhooks to a local wrangler dev with the Stripe CLI
npx wrangler dev                                   # listens on http://localhost:8787
stripe listen --forward-to localhost:8787          # put the printed whsec_ into STRIPE_WEBHOOK_SECRET in .dev.vars
stripe trigger checkout.session.completed          # custom_fields is empty here, so a 500 is the correct result

The test session created by stripe trigger has no github_username, so a 500 with github_username or customer missing tells you signature verification and routing both work. To exercise the actual invitation, open a test-mode Checkout and enter the username of a spare GitHub account.

Sorting out where it breaks

SymptomLikely causeHow to checkFix
Webhook returns 400 with No signatures found matching the expected signature for payloadBody was parsed before verification, or the wrong endpoint's signing secret is in useConfirm you pass request.text() as-is and that the whsec_ matches this endpointPass the raw body; don't mix up the stripe listen secret with the dashboard one
GitHub returns 403 Resource not accessible by personal access tokenThe fine-grained token doesn't include the repo, or lacks Administration permissionCheck Repository access and Permissions on the tokenSelect the repo and set Administration to Read and write
GitHub returns 404Typo in GITHUB_REPO, or the token can't see the repoCall GET /repos/{owner}/{repo} with the same tokenFix owner/repo; include the repo in the token's scope
Buyer's /plugin marketplace add failsInvitation not yet accepted, or their local git can't authenticate to the private repoAsk them to run git ls-remote against the repoPoint them to the invitation; have them authenticate git, for example with gh auth login
Installed, but the Skill never gets usedThe description doesn't match how people phrase requests, or the name collides with a built-in or another SkillRephrase the request and watch; check the loaded list with /skills or similarWrite in the description which requests it's for; give it a distinctive name
claude.ai rejects the uploadNo folder containing SKILL.md at the top of the zip, or malformed frontmatterUnzip and inspect the layout and the name/descriptionZip the Skill folder itself; keep name to lowercase letters, digits and hyphens, 64 characters max

Pricing: by the time they save, not the time you spent

Pricing something by "my hourly rate times hours spent" almost always comes out too low. For an information product, price by what the buyer gets back. Here is the rough calculation I start from (the numbers only illustrate the shape):

  1. Estimate time saved per use (say, 30 minutes).
  2. Estimate what that time is worth to them (say, $20 an hour, so $10 per use).
  3. Estimate uses per month (say, 20, so $200 of value).
  4. Set the monthly price at 10–20% of that value ($20–$40).

The form of the offer follows the update rhythm:

FormFitsWatch out for
MonthlySkills whose patterns and prohibitions keep changing with the workStopping updates becomes a reason to cancel; leave a changelog entry every month
One-off plus a year of updatesPlugins with a stable procedure (release chores, fixed reports)The version they have keeps working; decide up front whether access ends with the update period
Annual per teamTeams standardising one pattern internally (first-pass contract checks, for example)Have invoicing and a way to swap seats ready

If you can't decide: monthly if you can see yourself adding something every month, one-off if you can't. A monthly product that stops changing slowly wears away the trust of the people paying for it.

Find your first buyers before you build

The most expensive mistake is finishing the product and only then looking for people to buy it. Reverse the order:

  1. Pick three places where people in your target role gather (industry communities, meetups, hashtags).
  2. Ask about a specific moment of friction: "which file do you open, and what takes the longest?" The answer is often the Skill's pattern, almost word for word.
  3. Show a single sample output and ask whether they would use a Skill that returns exactly this.
  4. Give early access to those who say yes, and watch them use it.

The sample matters because there is a wide gap between "that sounds handy" and actually opening it every day. Reactions to a concrete output reflect that gap far more honestly than reactions to a description.

Reducing churn: make updates visible

For a monthly product, the number to watch is churn, not sign-ups. People rarely cancel because something broke; they cancel because they haven't used it lately. So keep giving them a reason through updates:

  • Every two weeks, fold buyers' "this output doesn't work for us" feedback into banned_phrases.md or the category patterns.
  • Bump version in plugin.json each time and add a line to CHANGELOG.md.
  • In the update notice, say briefly what changed and which requests it helps with.

If you're tempted to collect usage data, don't build telemetry into the Skill. The moment a buyer worries that their files or business details might leave their machine, the Skill becomes unusable at work. A short survey asks the same questions more honestly.

Decide your exit line before you launch

Hanging on to a product that isn't selling, "just a little longer", drains the energy you'd need for the next one. Before launch I write down lines like these (I set the numbers per product):

  • If it hasn't reached ten buyers three months after launch, stop selling and move it to a public repo.
  • If two months pass with nothing worth shipping as an update, switch from monthly to one-off.
  • If I can't keep up with Claude Code or Skill spec changes for six months, stop new sales.

I don't see stopping as an admission of failure. It is part of being straight with the people who paid. Continuing to bill monthly for something I can no longer update would sit far worse with me.

What tends to trip you up next

Once sales start, the problems that show up are mostly about managing what you've shipped. "I installed the same version as everyone else but it behaves differently" usually traces back to how the package was built or to a name collision.

If you do one thing after reading this, rewrite the description of the Skill you want to sell, then ask someone who didn't build it to read that one sentence and tell you when they'd expect it to be used. In my experience, whether something can become a product usually shows up right there.

Share

Thank You for Reading

Claude Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

If you found this article helpful, a small tip ($1.50) would mean a lot to us. Your support helps keep this site ad-free and covers server and hosting costs.

Related Articles

⟐ Claude Code2026-05-24
Five Filters I Use Before Wiring a Claude Code Skill Into My Daily Workflow
Public Claude Code Skills keep multiplying. As an indie developer running a few tech blogs through Claude Code, I share the filters that decide which Skills stay in my daily workflow — and which ones I quietly remove after a few days.
⟐ Claude Code2026-05-04
Claude Code Client Pricing Strategy 2026 — How an Indie Developer Doubles Project Rates
An indie developer's playbook for actually doubling client project rates with Claude Code: how to estimate hours, write proposals that close, structure contracts that protect you, and convert one-off projects into ongoing retainers.
⟐ Claude Code2026-04-21
Build a Mobile App Revenue Dashboard with Claude Code — Integrating AdMob, App Store Connect, and Google Play Console APIs with Automated Daily Reports
How I unified AdMob, App Store Connect, and Google Play Console revenue into one dashboard with automated daily Slack reports — plus the three aggregation bugs I found by actually measuring the parser, and the corrected code.