offer-codes-setup

offer-codes-setup is a skill for Claude Code from rshankras/claude-code-apple-skills. It costs 44 tokens per session (2,183 once invoked), scanned A, original, MIT.

A guide for setting up redeemable offer codes for app subscriptions and in-app purchases. It covers how to distribute free or discounted access through partners, influencers, reviewers, and email campaigns.

In plain words
What is it for?
Use it to plan partner or influencer promotions, reviewer access, and email re-engagement campaigns using App Store Connect offer codes.
Why use it?
It helps turn promotional ideas into code distribution plans and setup instructions. It also explains the difference between one-time codes and reusable custom codes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the apple-skills plugin — 147 skills shipped together , and of apple-skills

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.

agentmods
npx agentmods add skills/rshankras/claude-code-apple-skills/offer-codes-setup
Any agent
npx skills add rshankras/claude-code-apple-skills --skill offer-codes-setup
Clone the repo
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills

Made for: Claude Code.

Or install apple-skills, the plugin that ships this one along with the rest of its 147 skills.

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 offer-codes-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/offer-codes-setup.svg)](https://agentmods.dev/skills/rshankras/claude-code-apple-skills/offer-codes-setup)
Your own site
<a href="https://agentmods.dev/skills/rshankras/claude-code-apple-skills/offer-codes-setup"><img src="https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/offer-codes-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,183 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00044 $0.02183
Opus 5 $0.00022 $0.01092
Sonnet 5 $0.00009 $0.00437
Haiku 4.5 $0.00004 $0.00218

Measured 2d ago against content hash f1225e73b094, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

offer-codes-setup 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 2d 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.

skills/generators/offer-codes-setup/SKILL.md · 247 lines

How it starts

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

Offer Codes Setup Generator

Generate offer code distribution strategies, configuration guides, and campaign templates for promoting subscriptions and IAPs through redeemable codes.

When This Skill Activates

Use this skill when the user:

  • Asks about "offer codes" or "promo codes" for subscriptions
  • Wants to distribute free/discounted subscriptions to partners or influencers
  • Mentions "redemption codes" or "App Store codes"
  • Asks about re-engaging users via email with promotional codes
  • Wants to set up influencer or reviewer programs

How Offer Codes Work

  • Create in App Store Connect under Subscriptions > Offer Codes
  • Up to 10 active offers per subscription SKU
  • Two types: one-time use codes (generated in batches of 500–25,000) and custom codes (reusable, up to 64 characters, no special characters, redemption limit up to 25,000 per code)
  • One redemption per customer per offer
  • Quarterly ceiling: 1,000,000 codes per app per quarter — raised from the old 150,000, and now spanning subscriptions + one-time IAP combined (per WWDC25). Sandbox: 10,000 codes/app/quarter, with unlimited redemptions per sandbox account
  • Beyond subscriptions, codes now cover consumables, non-consumables, and non-renewing subscriptions, with campaign eligibility criteria (never purchased / purchased but not in the last 30 days / purchased in the last 30 days) and auto-install of the app on redemption if it's absent (WWDC25)
  • Offer applies the configured discount (free period, discounted rate, etc.)
  • Expiry is configurable from 1 day to 6 months — one-time codes auto-expire at 6 months. Print the expiry date in every marketing asset

Code Types

Type Description Best For
One-time use Unique codes, each used once Email campaigns, individual distribution
Custom codes Reusable keyword codes (e.g., "LAUNCH2025"), ≤64 chars Social media, events, partnerships

Redemption Methods

  1. In your app via AppStore.presentOfferCodeRedeemSheet() — preferred: your app stays in the foreground, so put a "Redeem Code" button on the paywall
  2. Direct URL: https://apps.apple.com/redeem?ctx=offercodes&id=APPID&code=CODE — ideal for QR codes and email; state the minimum iOS version in marketing materials
  3. App Store > Account > Redeem Gift Card or Code

Read the full file on GitHub · 247 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. 2d ago First seen · 247 lines · 44 tokens per session scan A f1225e73b094

Subscribe to this mod's changes

offer-codes-setup is a skill published in the GitHub repository rshankras/claude-code-apple-skills (701 stars, last pushed 1mo ago), licensed MIT. It adds 44 tokens to every session and 2,183 once invoked, about $0.0002 per session on Opus 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-09-03.

Related

Other skills, from other repositories

passkit

Integrate Apple Pay payments and Wallet passes using PassKit. Use when adding Apple Pay buttons, creating payment requests, handling payment authorization, adding passes to Wallet, configuring merchant capabilities, managing shipping and contact fields, or working with PKPaymentRequest…

JordanCoin/ios-skills-collection · 81 tokens

storekit

Implement, review, or improve in-app purchases and subscriptions using StoreKit 2. Use when building paywalls with SubscriptionStoreView or ProductView, processing transactions with Product and Transaction APIs, verifying entitlements, handling purchase flows (consumable, non-consumable, auto-renewable), implementing…

JordanCoin/ios-skills-collection · 110 tokens

product-match

Find visually or functionally similar products from an image, name, or description. Use when the user asks to "find something like this", match a product from a photo, or source alternates to a given item.

AlpacaLabsLLC/skills-for-architects · 47 tokens

master-schedule

Initialize, validate, inspect, or import the current project's local FF&E product library. Use when a product workflow needs product-library.csv, when the user invokes /as:master-schedule, or when legacy master-schedule.json or canoa.json configuration is present.

AlpacaLabsLLC/skills-for-architects · 57 tokens

billing-automation

Build automated billing systems for recurring payments, invoicing, subscription lifecycle, and dunning management. Use when implementing subscription billing, automating invoicing, or managing recurring payment systems.

seaworld008/Commonly-used-high-value-skills · 40 tokens

bigcommerce-knowledge-patch

Use this skill for BigCommerce development involving Storefront GraphQL, Customer Segmentation REST responses, B2B quote webhooks, Catalyst checkout session sync, Stencil category content, or customer-group pricing rules.

Nevaberry/nevaberry-plugins · 9 tokens