/install affonso
Affonso CLI Skill
Manage affiliate marketing programs from the command line.
Authentication
Use the AFFONSO_API_KEY environment variable. Verify with:
affonso whoami --json
Never use affonso login — it requires a browser and won't work in headless environments.
Rules
- Always use
--jsonon every command — without it, the CLI outputs ANSI tables that can't be parsed. - Never delete without user confirmation — all delete operations are destructive and irreversible.
- Pagination — referrals use cursor-based pagination (
--starting-after,--ending-before); all other resources use page-based (--page,--limit).
Commands
| Command | Description |
|---|---|
affiliates |
List, get, create, update, delete affiliates |
referrals |
List, get, create, update, delete referrals (cursor-based pagination) |
commissions |
List, get, create, update, delete commissions |
payouts |
List, get, update payouts (no create/delete) |
coupons |
List, get, create, delete coupons (no update) |
clicks |
Create click events with UTM and sub-tracking |
embed-tokens |
Create embed tokens for partner portals |
program |
Get/update program settings + 8 sub-resources |
marketplace |
Browse/search public programs (no auth required) |
config |
Get/set CLI config (api-key, base-url) |
whoami |
Show authentication status |
For full command details and options, see references/COMMAND_REFERENCE.md. For program sub-resources (payment-terms, tracking, restrictions, fraud-rules, portal, notifications, groups, creatives), see references/PROGRAM_SETTINGS_GUIDE.md.
Quick Start
- Verify auth:
affonso whoami --json - List resources:
affonso affiliates list --json --limit 5 - Take action: approve, create, update, or configure as needed
For multi-step workflow recipes, see references/WORKFLOWS.md.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install affonso - After installation, invoke the skill by name or use
/affonso - Provide required inputs per the skill's parameter spec and get structured output
What is Affonso - Affiliate Marketing Software?
Manage affiliate marketing programs via the Affonso CLI — create affiliates, track referrals, handle commissions, process payouts, and configure program sett... It is an AI Agent Skill for Claude Code / OpenClaw, with 97 downloads so far.
How do I install Affonso - Affiliate Marketing Software?
Run "/install affonso" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Affonso - Affiliate Marketing Software free?
Yes, Affonso - Affiliate Marketing Software is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Affonso - Affiliate Marketing Software support?
Affonso - Affiliate Marketing Software is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Affonso - Affiliate Marketing Software?
It is built and maintained by zilvestro (@zilvestro); the current version is v1.0.0.