Affonso CLI Skill for Openclaw

A comprehensive command-line interface for managing affiliate marketing programs, commission tracking, and partner payouts.

zilvestro
v1.0.0
Apr 13, 2026
0
812
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install affonso

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install affonso using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Affonso CLI Skill?

The Affonso CLI skill is a specialized tool designed to bridge the gap between affiliate marketing platforms and automated workflows. By integrating this capability into your environment, you gain programmatic control over affiliates, referrals, and commission structures. As part of the Openclaw Skills ecosystem, it allows for seamless management of marketing partnerships directly from your terminal or via an AI coding agent.

This skill provides a structured way to interact with the Affonso API, enabling tasks like generating partner portal tokens, configuring fraud detection rules, and processing payouts. It focuses on high-reliability output by enforcing JSON formatting, making it ideal for integration into larger DevOps and marketing automation pipelines.

Affonso CLI Skill Use Cases

  • Automating the onboarding and approval of new marketing affiliates.
  • Synchronizing referral and commission data with internal financial databases.
  • Batch processing payouts and managing coupon code distributions for specific campaigns.
  • Programmatically updating program settings, such as payment terms and fraud restrictions.

How Affonso CLI Skill Works

  1. Authentication is established by providing an API key through the environment configuration.
  2. The skill executes specific commands for resource management, such as creating affiliates or tracking click events.
  3. All data exchange is handled using JSON output to ensure precise parsing by automated agents or scripts.
  4. Resource-specific pagination, utilizing either cursor-based or page-based methods, is employed to manage large datasets like referral logs.
  5. Program settings and sub-resources are adjusted through dedicated configuration commands to maintain the affiliate program lifecycle.

Affonso CLI Skill Setup

To get started with this skill from the Openclaw Skills collection, install the CLI via npm and configure your credentials:

npm install -g @affonso/cli
export AFFONSO_API_KEY=your_api_key_here

Verify that the authentication is configured correctly:

affonso whoami --json

Affonso CLI Skill Data Schema & Taxonomy

The skill manages several key data entities with specific operational capabilities:

Entity Features Pagination
Affiliates Full CRUD support for partner profiles Page-based
Referrals Tracking and management of leads Cursor-based
Commissions Calculation and status updates Page-based
Payouts Financial disbursement tracking Page-based
Coupons Promotional code management Page-based
Program Global settings including fraud and notifications N/A

Affonso CLI Skill Advanced Features

  • Support for embed tokens to facilitate secure, authenticated access to partner portals.
  • Granular control over program sub-resources including payment terms, tracking pixels, and notification triggers.
  • Capability to create click events with UTM parameters and sub-tracking IDs for deep analytics.
  • Access to the public program marketplace for research and comparison without requiring authentication hooks.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*