affiliate-program

affiliate-program is a skill for Claude Code, Codex from finsilabs/awesome-ecommerce-skills. It costs 25 tokens per session (2,320 once invoked), scanned A, original, MIT.

An affiliate program lets partners earn a commission for sending customers who make purchases through special links or codes. It covers referral tracking, commission rules, payouts, and fraud checks.

In plain words
What is it for?
Use it to launch creator or influencer partnerships, define tiered or product-specific commissions, replace an affiliate network, and prepare affiliate tax reports.
Why use it?
It gives businesses a way to pay for partner-driven sales while controlling commission costs and detecting abuse.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions Gemini CLI; mentions OpenCode.

Good fit Use it to launch creator or influencer partnerships, define tiered or product-specific commissions, replace an affiliate network, and prepare affiliate tax reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/finsilabs/awesome-ecommerce-skills/affiliate-program
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 finsilabs/awesome-ecommerce-skills --skill affiliate-program
Clone the repo
git clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-skills

Made for: Claude Code, Codex.

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 affiliate-program

README.md
[![agentmods](https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/affiliate-program/github.svg)](https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/affiliate-program)
Your own site
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/affiliate-program"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/affiliate-program/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 affiliate-program

Your own site · 80×15
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/affiliate-program"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/affiliate-program.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,320 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.00025 $0.02320
Opus 5 $0.00013 $0.01160
Sonnet 5 $0.00005 $0.00464
Haiku 4.5 $0.00003 $0.00232

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

Security

Grade A, and why

affiliate-program 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 6d 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/marketing-growth/affiliate-program/SKILL.md · 223 lines

How it starts

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

Affiliate Program

Overview

An affiliate program pays partners a commission for each sale they refer, making it a performance-based acquisition channel with no upfront media cost. The right setup depends on your platform — most merchants get 90% of the value from a dedicated app without writing any code. Custom commission rules, fraud detection, and automated payouts are where custom development adds value.

When to Use This Skill

  • When launching a creator or influencer partnership program with revenue share
  • When replacing a third-party affiliate network (ShareASale, CJ) to reduce 20–30% network fees
  • When needing custom commission rules (category-specific rates, SKU exclusions, tiered volume bonuses)
  • When fraud in an existing affiliate program is eroding margins
  • When generating 1099 tax reporting for US-based affiliates

Core Instructions

Step 1: Determine the merchant's platform and choose the right tool

Platform Recommended Tool Why
Shopify Refersion or UpPromote (Shopify App Store) Native Shopify integration, automatic coupon + link generation, built-in fraud detection, PayPal/Stripe payouts
WooCommerce AffiliateWP ($149/yr) or Solid Affiliate Deep WooCommerce integration, per-product commission rates, real-time reporting, Stripe payout add-on
BigCommerce Refersion or Goaffpro (BigCommerce App Marketplace) Native checkout integration, multi-tier commissions, real-time dashboards
Custom / Headless Rewardful (SaaS, $49/mo) or build custom with Stripe Connect Rewardful handles tracking, fraud detection, and payouts; use custom code only for complex commission logic

Step 2: Set up your affiliate app


Shopify

Using Refersion (recommended):

  1. Install Refersion from the Shopify App Store
  2. Go to Refersion Dashboard → Settings → General and configure:
    • Default commission rate (start with 10–15% for most verticals)
    • Cookie duration (30 days is standard)
    • Minimum payout threshold ($50 recommended)
  3. Go to Commissions → Commission Groups to create tiers:
    • Bronze: 10% (default)
    • Silver: 12% (unlocks at $5k/month referred revenue)
    • Gold: 15% (unlocks at $20k/month)
  4. Refersion automatically generates unique tracking links (yourstore.com?rfsn=XXXXX) and injects a tracking pixel at checkout — no code required
  5. Go to Affiliates → Recruitment Page to enable a self-service signup portal where partners can apply
  6. For Shopify Plus stores: use Shopify Flow to automatically tag high-value affiliates and trigger tier upgrades

Read the full file on GitHub · 223 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. 6d ago First seen · 223 lines · 25 tokens per session scan A 445f2af38a26

Subscribe to this mod's changes

affiliate-program is a skill published in the GitHub repository finsilabs/awesome-ecommerce-skills (52 stars, last pushed 6mo ago), licensed MIT. It adds 25 tokens to every session and 2,320 once invoked, about $0.0001 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

logistics-ops

Use when an order is paid and packed and the box now has to move, go sideways, or come back — picking a carrier and service and cutting a label, reacting to a delivery exception, getting ahead of where-is-my-order tickets, running a return, exchange or refund with its reverse label, filing a carrier claim before the…

ericrisco/rsc-harness · 127 tokens

list-affitor-program

Research an affiliate program and create a verified listing for list.affitor.com. Use this skill when the user asks anything about listing a program, adding an affiliate program to the directory, submitting a program to list, creating a listing, documenting an affiliate program, sharing an affiliate program, writing a…

Gingg7260/affiliate-skills · 164 tokens

affiliate-program-search

Research and evaluate affiliate programs to find the best ones to promote. Use this skill when the user asks anything about finding affiliate programs, comparing commission rates, evaluating affiliate opportunities, searching for products to promote, picking a niche, or mentions list.affitor.com. Also trigger for…

Gingg7260/affiliate-skills · 120 tokens

c-tracking

Track packages across UPS, FedEx, USPS, and DHL using the ordercli CLI. Look up tracking numbers, get current status, estimated delivery dates, and shipment history without visiting carrier websites.

daxaur/openpaw · 45 tokens

affiliate-link-automation

Automated affiliate marketing engine — discovers new AI tool affiliate programs, generates conversion-optimized promotion content for all platforms, tracks commission status, and identifies new revenue opportunities. Target: ¥5,000+/month from affiliate commissions.

taoma888/awesome-ai-skills · 50 tokens

revenue-dashboard

Unified revenue intelligence dashboard — aggregates all income streams (affiliate commissions, ad revenue, subscriptions, digital products), calculates key metrics (MRR, ARPU, LTV, ROAS), and delivers daily/weekly automated reports via WeChat notification. Target: Know your exact revenue status every morning.

taoma888/awesome-ai-skills · 63 tokens