affiliate-marketing

affiliate-marketing is a skill for Claude Code, Codex from kostja94/marketing-skills. It costs 77 tokens per session (1,382 once invoked), scanned A, original, MIT.

A guide for affiliate marketing, where outside partners promote a product and receive payment when they generate a result such as a sale.

In plain words
What is it for?
Planning affiliate recruitment, commissions, payment-per-sale or payment-per-lead programs, and affiliate tracking.
Why use it?
It helps define who can promote the product, how partners are paid, and how those results are tracked.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Planning affiliate recruitment, commissions, payment-per-sale or payment-per-lead programs, and affiliate tracking.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kostja94/marketing-skills/affiliate-marketing
About the project

Marketing Skills is an open-source library of reusable workflows that helps AI coding agents perform marketing and SEO tasks. It serves people working on search optimization, content, advertising, launches, analytics, and related marketing activities, and its catalogue entries are the individual skills agents can install.

kostja94/marketing-skills · 1,146 stars · on GitHub · alignify.co

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 kostja94/marketing-skills --skill affiliate-marketing
Clone the repo
git clone --depth 1 https://github.com/kostja94/marketing-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-marketing

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kostja94/marketing-skills/affiliate-marketing"><img src="https://agentmods.dev/badge/skills/kostja94/marketing-skills/affiliate-marketing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,382 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. Third-party audits
  • Socket pass 7 Nov 2026
  • Snyk pass 7 Nov 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 85
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00077 $0.01382
Opus 5.5 $0.00031 $0.00553
Sonnet 5.5 $0.00015 $0.00276
Haiku 4.5 $0.00008 $0.00138

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

Security

Grade A, and why

affiliate-marketing 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 23d 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.

Origin

Copies of this mod

4 near-identical copies found in the catalogue:

skills/channels/partnerships/affiliate-marketing/SKILL.md · 115 lines

How it starts

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

Channels: Affiliate

Guides affiliate marketing strategy for AI/SaaS products. Affiliate marketing uses a CPS (Cost Per Sale) model—pay only when sales occur. ROI typically 5:1 to 10:1; CAC 40%–50% lower than paid ads.

When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

Initial Assessment

Project context: Read root {project}.md when present and load only the modules relevant to this task. Without Contextus, use available project material or user-provided facts and ask for missing information; do not create a parallel context system.

Identify:

  1. Product type: SaaS, AI tool, subscription
  2. Commission model: Pay-per-sale, pay-per-lead, pay-per-click
  3. Target affiliates: Content creators, publishers, coupon sites

Commission Models

Model Use Typical Rate
Pay-per-sale Most common; pay on conversion 10%–20%
Pay-per-lead Lead gen (signup, form fill) $5–50/lead
Pay-per-click Rare; risk of abuse $0.01–10.50/click

For SaaS: Prefer pay-per-sale or pay-per-lead. Recurring commissions for subscriptions.

Key Terms

Term Definition
Cookie duration Attribution window (typically 30–90 days)
Recurring commission Ongoing % from subscription renewals
Sub-affiliate Affiliates who recruit other affiliates
Performance bonus Extra reward when affiliate hits sales targets
Attribution Linking sale to correct affiliate

Promotion Channels

  • Content creators: Bloggers, YouTubers, podcasters, social influencers
  • Publishers: Media, niche sites, email newsletters
  • Coupon/cashback: Price-sensitive users; see discount-marketing-strategy for code strategy
  • Professional affiliates: Agencies managing multiple programs
  • Communities: Facebook Groups, Discord, Reddit, forums
  • Existing customers: Word-of-mouth via referral rewards

Read the full file on GitHub · 115 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. 23d ago Changed bc6a0470f546
  2. 2mo ago Changed 02371e892263
  3. 3mo ago First seen · 115 lines · 77 tokens per session scan A cbbc466a32f2

Subscribe to this mod's changes

affiliate-marketing is a skill published in the GitHub repository kostja94/marketing-skills (1,146 stars, last pushed 23d ago), licensed MIT. It adds 77 tokens to every session and 1,382 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-08-30.

Related

affiliate-marketing compared with skills from other repositories

affiliate-marketing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
affiliate-marketingkostja94/marketing-skillsSkill1.1k23d agoMITA77Claude Code, Codex
SEO Content OptimizerNotysoty/openagentskillsSkill93mo agoMITA20Claude Code, Codex
newsletter-monetization-planneraaron-he-zhu/aaron-marketing-skillsSkill3.2ktodayApache-2.0A139Claude Code
conversion-value-mapperaaron-he-zhu/aaron-marketing-skillsSkill3.2ktodayApache-2.0A187Claude Code
inbox-placement-monitoraaron-he-zhu/aaron-marketing-skillsSkill3.2ktodayApache-2.0A166Claude Code
contract-helperaaron-he-zhu/aaron-marketing-skillsSkill3.2ktodayApache-2.0A87Claude Code
budget-optimizeraaron-he-zhu/aaron-marketing-skillsSkill3.2ktodayApache-2.0A78Claude Code