affiliate-earnings-report

affiliate-earnings-report is a skill for Claude Code from bobberrisford/affiliatemcp. It costs 61 tokens per session (950 once invoked), scanned A, original, MIT.

A consolidated report of earnings from configured affiliate networks. Affiliate networks track referrals and commissions, and the report groups the results by network, programme, and payment status for a chosen period.

In plain words
What is it for?
Checking total affiliate earnings, comparing networks or programmes, reviewing pending and approved money, and flagging unpaid commissions by age.
Why use it?
Earnings data spread across several networks is difficult to total and compare manually. This provides one period-based view and highlights unpaid amounts.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the affiliate-networks-mcp plugin — 37 skills, 1 MCP server shipped together

Good fit Checking total affiliate earnings, comparing networks or programmes, reviewing pending and approved money, and flagging unpaid commissions by age.

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

Made for: Claude Code.

Or install affiliate-networks-mcp, the plugin that ships this one along with the rest of its 37 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 affiliate-earnings-report

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bobberrisford/affiliatemcp/affiliate-earnings-report"><img src="https://agentmods.dev/badge/skills/bobberrisford/affiliatemcp/affiliate-earnings-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 950 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.00061 $0.00950
Opus 5 $0.00030 $0.00475
Sonnet 5 $0.00012 $0.00190
Haiku 4.5 $0.00006 $0.00095

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

Security

Grade A, and why

affiliate-earnings-report 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 12d 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/affiliate-earnings-report/SKILL.md · 82 lines

How it starts

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

Operating instructions

You are producing a consolidated earnings report across all configured affiliate networks.

Step 1 — identify the configured networks

Use networks the user named or confirmed they configured. If none are known, ask which networks to include. Call affiliate_list_networks only to confirm that this server has a registered adapter for each named network; it does not prove that credentials are configured. When credential state is uncertain, recommend affiliate-networks-mcp doctor <slug> or attempt the requested operation and surface its verbatim error.

Step 2 — pick a period

Default period: the last 30 days, ending today. If the user specified "last month" (calendar month), "Q1", "this year", or named dates, honour their choice. Express dates as ISO YYYY-MM-DD. Surface the chosen window in the final report so the user can confirm.

Step 3 — fetch earnings per network

For each network slug s from step 1, call:

affiliate_<s>_get_earnings_summary({ from: <iso>, to: <iso> })

Each call returns an EarningsSummary with:

  • totalEarnings, currency
  • byProgramme[] — top programmes by total
  • byStatus{ pending, approved, reversed, paid, other, currency }
  • oldestUnpaidAgeDays — call this out when present

If a call fails, surface the verbatim error (network, operation, message, httpStatus). Do not silently treat a failure as zero earnings. Continue with the remaining networks and flag the gap clearly at the top of the report.

Step 4 — present the consolidated view

Output in this order:

  1. Window: from YYYY-MM-DD to YYYY-MM-DD (and number of days).
  2. Total across networks. If currencies differ, list per-currency totals — do not invent FX conversion.
  3. By network: one row per network — total, by-status split, oldest-unpaid age days. Flag any network with oldestUnpaidAgeDays > 90 as ATTENTION.
  4. Top programmes overall: union of each network's byProgramme[], sorted by total, top 10.
  5. Failures (if any): per-network verbatim error from the envelope.

Read the full file on GitHub · 82 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 82 lines · 61 tokens per session scan A 06ed479fa299

Subscribe to this mod's changes

affiliate-earnings-report is a skill published in the GitHub repository bobberrisford/affiliatemcp (6 stars, last pushed 1mo ago), licensed MIT. It adds 61 tokens to every session and 950 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens