← 返回 Skills 市场
zilvestro

Affonso - Affiliate Marketing Software

作者 zilvestro · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
97
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install affonso
功能描述
Manage affiliate marketing programs via the Affonso CLI — create affiliates, track referrals, handle commissions, process payouts, and configure program sett...
使用说明 (SKILL.md)

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 --json on 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

  1. Verify auth: affonso whoami --json
  2. List resources: affonso affiliates list --json --limit 5
  3. Take action: approve, create, update, or configure as needed

For multi-step workflow recipes, see references/WORKFLOWS.md.

安全使用建议
This skill is an instruction-only adapter for the official Affonso CLI and appears coherent. Before installing or using it: (1) ensure you actually have the official 'affonso' binary or install the official '@affonso/cli' package from a trusted source (verify npm publisher and package contents); (2) provide an AFFONSO_API_KEY with least privilege needed (avoid using a full-owner key if possible); (3) be careful with destructive commands (payouts, delete) — the skill correctly warns to confirm deletes; (4) be aware the CLI may send data (including any IP or user-agent you pass) to the Affonso API or any base-url you configure; (5) clarify the doc mismatch about automated install if you expect the skill to install the CLI for you.
功能分析
Type: OpenClaw Skill Name: affonso Version: 1.0.0 The 'affonso' skill is a legitimate integration for managing affiliate marketing programs via the Affonso CLI. It provides comprehensive documentation for managing affiliates, referrals, commissions, and program settings, and it correctly identifies the need for an `AFFONSO_API_KEY`. The installation process uses a standard npm package (@affonso/cli), and the instructions in SKILL.md are well-aligned with the tool's purpose, including safety warnings about destructive operations.
能力标签
cryptocan-make-purchasesrequires-oauth-token
能力评估
Purpose & Capability
Name/description match the requested artifacts: the skill expects an 'affonso' CLI binary and an AFFONSO_API_KEY environment variable, which are appropriate for a CLI-based affiliate-management skill. Minor inconsistency: the SKILL.md header includes an install hint (npm package '@affonso/cli') while the registry metadata indicates 'no install spec' — this is a documentation/packaging mismatch but does not change capability alignment.
Instruction Scope
SKILL.md instructs the agent to run only Affonso CLI commands (always with --json), to verify auth with 'affonso whoami', and to avoid browser-based login. The instructions do not ask the agent to read arbitrary files, other env vars, or transmit data to unknown endpoints. Command options do allow sending IPs, user-agent strings, and payment references (expected for this domain) but those are part of legitimate product functionality.
Install Mechanism
This is instruction-only (no install spec in registry), so nothing will be written to disk by the skill itself. The SKILL.md metadata references installing '@affonso/cli' via node/npm — if a user chooses to install the CLI, that would be an external npm dependency. That install path is reasonable but the documentation mismatch should be clarified (no automated install provided by the skill).
Credentials
Only AFFONSO_API_KEY is required, which is proportional and expected for an API-driven CLI. No other unrelated secrets or config paths are requested. Note: the CLI supports --api-key and --base-url overrides and the affonso config can store keys/URLs — users should be aware the CLI will use those values when invoked.
Persistence & Privilege
The skill does not request 'always: true', has no elevated persistence or system-wide config changes, and does not claim to modify other skills. Autonomous invocation is allowed (platform default) but nothing in the skill increases privilege beyond normal CLI usage.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install affonso
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /affonso 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Manage affiliate, referral, influencer, and partner programs via the Affonso CLI — create affiliates, track referrals, handle commissions, process payouts, and configure program settings. Use when the user asks about affiliate management, referral tracking, partner programs, influencer campaigns, commission handling, or payout processing. - Initial release of the Affonso skill (version 1.0.0). - Enables management of affiliate marketing programs via the Affonso CLI: create affiliates, track referrals, handle commissions, process payouts, and configure program settings. - Always outputs machine-readable JSON; never use affonso login (requires browser). - Incorporates rules for safe destructive actions (confirmation required for deletes) and correct use of pagination. - Includes command overview covering affiliates, referrals, commissions, payouts, coupons, clicks, embed tokens, program settings, marketplace, config, and authentication. - Provides links to in-depth command references and workflow guides.
元数据
Slug affonso
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Affonso - Affiliate Marketing Software 是什么?

Manage affiliate marketing programs via the Affonso CLI — create affiliates, track referrals, handle commissions, process payouts, and configure program sett... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 97 次。

如何安装 Affonso - Affiliate Marketing Software?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install affonso」即可一键安装,无需额外配置。

Affonso - Affiliate Marketing Software 是免费的吗?

是的,Affonso - Affiliate Marketing Software 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Affonso - Affiliate Marketing Software 支持哪些平台?

Affonso - Affiliate Marketing Software 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Affonso - Affiliate Marketing Software?

由 zilvestro(@zilvestro)开发并维护,当前版本 v1.0.0。

💬 留言讨论