cfo-affonso-commission-check

cfo-affonso-commission-check is a skill for Claude Code from melaya-labs/melaya-mcp. It costs 99 tokens per session (980 once invoked), scanned A, original, Apache-2.0.

A check that matches affiliate commissions with real customer payments before affiliates are paid. Affiliate marketing is a referral programme in which partners receive money for bringing customers.

In plain words
What is it for?
Use it before a payout cycle to compare commissions with Stripe invoices and the affiliate programme's rates, timing, thresholds, and exclusions.
Why use it?
It prevents payments based on unpaid, refunded, disputed, self-referred, or otherwise excluded transactions.

Skill for Claude Code

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

Part of the melaya plugin — 131 skills, 3 commands, 1 MCP server shipped together

Good fit Use it before a payout cycle to compare commissions with Stripe invoices and the affiliate programme's rates, timing, thresholds, and exclusions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/melaya-labs/melaya-mcp/cfo-affonso-commission-check
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 melaya-labs/melaya-mcp --skill cfo-affonso-commission-check
Clone the repo
git clone --depth 1 https://github.com/melaya-labs/melaya-mcp

Made for: Claude Code.

Or install melaya, the plugin that ships this one along with the rest of its 131 skills, 3 commands, 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 cfo-affonso-commission-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/melaya-labs/melaya-mcp/cfo-affonso-commission-check/github.svg)](https://agentmods.dev/skills/melaya-labs/melaya-mcp/cfo-affonso-commission-check)
Your own site
<a href="https://agentmods.dev/skills/melaya-labs/melaya-mcp/cfo-affonso-commission-check"><img src="https://agentmods.dev/badge/skills/melaya-labs/melaya-mcp/cfo-affonso-commission-check/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 cfo-affonso-commission-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/melaya-labs/melaya-mcp/cfo-affonso-commission-check"><img src="https://agentmods.dev/badge/skills/melaya-labs/melaya-mcp/cfo-affonso-commission-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 980 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.00099 $0.00980
Opus 5.5 $0.00040 $0.00392
Sonnet 5.5 $0.00020 $0.00196
Haiku 4.5 $0.00010 $0.00098

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

Security

Grade A, and why

cfo-affonso-commission-check 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 17d 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/excom-role-skills/cfo/cfo-affonso-commission-check/SKILL.md · 55 lines

How it starts

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

Affiliate commission check

Every commission must trace to money that actually arrived, at the agreed rate. That keeps the affiliate programme trusted and stops payouts leaking cash. Written for Affonso; the same checks apply on any affiliate platform.

Look up first

  • The programme terms: excom_knowledge_search "affiliate programme terms". You need the rates per tier, the duration, the attribution window, the approval hold, the payout threshold, the exclusions, any tier-change rules, and any referee discounts. If the note is missing, draft it from affonso_get_payment_terms and affonso_list_groups with excom_save_draft, and ask the owner to confirm it with excom_propose_task (needs_decision). Reconcile only against confirmed terms.
  • The active affiliate definition: excom_knowledge_search "metrics definitions". The suggested default: an affiliate with at least one referred signup.

Steps

  1. Compare the live terms (affonso_get_payment_terms, affonso_list_groups, affonso_get_group) with the terms note. Any difference goes to the owner before anything else.
  2. List the commissions that are pending or ready for payment (affonso_list_commissions). For each, read affonso_get_commission and affonso_get_referral.
  3. Match each commission to Stripe. Find the customer with stripe_search_customers, then the invoice with stripe_get_invoice. The invoice must be paid, belong to an external account, and carry the affiliate's referral at checkout.
  4. Recompute the amount: the paid amount, net of discount and tax, times the rate in force on the invoice date for that affiliate's tier. Renewals count only if the terms make the commission recurring.
  5. Net out refunds and disputes: stripe_list_refunds, stripe_list_credit_notes, stripe_list_disputes.
  6. Run the exclusion and tier checks in references/commission-checks.md: self-referral, the affiliate's own company, existing accounts, tier-change rules, and referee coupons against groups (stripe_list_coupons, affonso_list_coupons).
  7. Classify each line:
    • Matches.
    • Timing: inside the hold, or the invoice is unpaid. It clears on its own.
    • Adjustment: wrong rate, or a refund not netted.
    • Investigate: no invoice behind it, an exclusion hit, or coupon drift. Age the open items: follow up at 31 to 60 days, escalate at 61 to 90, propose a reversal after 90.
  8. Draft the approval list with excom_save_draft. Ask the revenue or partnerships role for affiliate context (excom_send_handoff, kind question). Record the totals with excom_record_measurement.

Read the full file on GitHub · 55 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. 17d ago First seen · 55 lines · 99 tokens per session scan A 144e1d38aea7

Subscribe to this mod's changes

cfo-affonso-commission-check is a skill published in the GitHub repository melaya-labs/melaya-mcp (1 stars, last pushed 6d ago), licensed Apache-2.0. It adds 99 tokens to every session and 980 once invoked, about $0.0004 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-11-12.

Related

cfo-affonso-commission-check compared with skills from other repositories

cfo-affonso-commission-check next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cfo-affonso-commission-checkmelaya-labs/melaya-mcpSkill16d agoApache-2.0A99Claude Code
td-synnexServosity/msp-skillsSkill892d agononeB167Claude Code
Agentic Commerce Protocol (ACP)alphaparkinc/openclaw-agentic-commerce-protocolSkill111mo agononeA52Claude Code, Codex
appdirectServosity/msp-skillsSkill892d agononeC74Claude Code
zenward-ai-skillalphaparkinc/genpark-hubSkill91mo agononeA76Claude Code, Codex
zenman-ai-skillalphaparkinc/genpark-hubSkill91mo agononeA97Claude Code, Codex
manage-productsnorman-finance/norman-mcp-serverSkill66yesterdayMITA61Claude Code