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.
npx skills add melaya-labs/melaya-mcp --skill cfo-affonso-commission-checkgit clone --depth 1 https://github.com/melaya-labs/melaya-mcpWrote 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.
[](https://agentmods.dev/skills/melaya-labs/melaya-mcp/cfo-affonso-commission-check)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 fromaffonso_get_payment_termsandaffonso_list_groupswithexcom_save_draft, and ask the owner to confirm it withexcom_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
- 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. - List the commissions that are pending or ready for payment (
affonso_list_commissions). For each, readaffonso_get_commissionandaffonso_get_referral. - Match each commission to Stripe. Find the customer with
stripe_search_customers, then the invoice withstripe_get_invoice. The invoice must be paid, belong to an external account, and carry the affiliate's referral at checkout. - 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.
- Net out refunds and disputes:
stripe_list_refunds,stripe_list_credit_notes,stripe_list_disputes. - 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). - 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.
- 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 withexcom_record_measurement.
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.
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.
- 17d ago First seen · 55 lines · 99 tokens per session scan A 144e1d38aea7
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.
cfo-affonso-commission-check compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cfo-affonso-commission-checkmelaya-labs/melaya-mcp | Skill | 1 | 6d ago | Apache-2.0 | A | 99 | Claude Code |
| td-synnexServosity/msp-skills | Skill | 89 | 2d ago | none | B | 167 | Claude Code |
| Agentic Commerce Protocol (ACP)alphaparkinc/openclaw-agentic-commerce-protocol | Skill | 11 | 1mo ago | none | A | 52 | Claude Code, Codex |
| appdirectServosity/msp-skills | Skill | 89 | 2d ago | none | C | 74 | Claude Code |
| zenward-ai-skillalphaparkinc/genpark-hub | Skill | 9 | 1mo ago | none | A | 76 | Claude Code, Codex |
| zenman-ai-skillalphaparkinc/genpark-hub | Skill | 9 | 1mo ago | none | A | 97 | Claude Code, Codex |
| manage-productsnorman-finance/norman-mcp-server | Skill | 66 | yesterday | MIT | A | 61 | Claude Code |