← 返回 Skills 市场
michael-laffin

AffiliateMaster

作者 Michael-laffin · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
3179
总下载
1
收藏
10
当前安装
1
版本数
在 OpenClaw 中安装
/install affiliate-master
功能描述
Full-stack affiliate marketing automation for OpenClaw agents. Generate, track, and optimize affiliate links with FTC-compliant disclosures and multi-network support.
使用说明 (SKILL.md)

AffiliateMaster - Affiliate Marketing Automation

Vernox's first revenue-generating skill. Turn content into cash.

Overview

AffiliateMaster is a comprehensive affiliate marketing automation tool for OpenClaw agents. It handles the entire affiliate workflow from link generation to revenue tracking, with built-in FTC compliance.

Features

✅ Link Management

  • Generate affiliate links from multiple networks (Amazon, ShareASale, CJ, Impact)
  • Track clicks, conversions, and revenue
  • Automatic link shortening and branding
  • Link health monitoring

✅ FTC Compliance

  • Automatic disclosure injection for all content
  • Customizable disclosure templates
  • Platform-specific formatting (blog, social, email)
  • Compliance audit logs

✅ Content Integration

  • Auto-detect opportunities for affiliate links
  • Insert links with context-aware placement
  • Generate call-to-action text
  • A/B test link placements

✅ Multi-Network Support

  • Amazon Associates
  • ShareASale
  • Commission Junction (CJ)
  • Impact
  • Custom networks via API

✅ Analytics & Optimization

  • Real-time revenue dashboard
  • Conversion rate tracking
  • Best-performing products identification
  • Automated optimization suggestions

Installation

clawhub install affiliate-master

Quick Start

1. Configure API Keys

# Edit config file
~/.openclaw/skills/affiliate-master/config.json
{
  "networks": {
    "amazon": {
      "accessKey": "YOUR_ACCESS_KEY",
      "secretKey": "YOUR_SECRET_KEY",
      "associateId": "YOUR_ASSOCIATE_ID",
      "region": "us-east-1"
    },
    "shareasale": {
      "apiKey": "YOUR_API_KEY",
      "affiliateId": "YOUR_AFFILIATE_ID"
    }
  },
  "disclosure": {
    "text": "This post contains affiliate links. If you buy through these links, we may earn a commission at no extra cost to you.",
    "placement": "top",
    "platforms": {
      "blog": "above-fold",
      "twitter": "end",
      "email": "footer"
    }
  }
}

2. Generate Your First Affiliate Link

// Find a product
const products = await affiliateMaster.searchProduct('wireless headphones');

// Generate affiliate link
const link = await affiliateMaster.generateLink({
  network: 'amazon',
  product: products[0]
});

// Result:
// {
//   "originalUrl": "https://amazon.com/dp/B0XXXXX",
//   "affiliateUrl": "https://amzn.to/3xxxxx?tag=your-id-20",
//   "disclosure": "Affiliate link",
//   "trackingId": "aff_12345"
// }

3. Insert Links into Content

const content = `Check out these amazing wireless headphones! They have great sound quality.`;

const enhanced = await affiliateMaster.enhanceContent(content, {
  autoInsert: true,
  disclosurePlacement: 'top'
});

// Result: Content with affiliate links and FTC disclosure inserted

Tool Functions

generateLink

Generate affiliate links for products.

Parameters:

  • network (string): Network name (amazon, shareasale, cj, impact)
  • product (object): Product data (id, url, name)
  • shorten (boolean): Generate short link (default: true)

Returns:

  • affiliateUrl: Generated affiliate link
  • disclosure: Required disclosure text
  • trackingId: Unique tracking identifier

searchProduct

Search for products across affiliate networks.

Parameters:

  • query (string): Search query
  • network (string): Network to search (default: all)
  • category (string): Product category filter

Returns:

  • Array of matching products with pricing and commission rates

enhanceContent

Automatically insert affiliate links into content.

Parameters:

  • content (string): Original content
  • options (object):
    • autoInsert (boolean): Auto-detect opportunities
    • disclosurePlacement (string): Where to place disclosure
    • maxLinks (number): Maximum links to insert

Returns:

  • Enhanced content with affiliate links and disclosures

getAnalytics

Retrieve performance analytics.

Parameters:

  • dateRange (string): 7d, 30d, 90d, all
  • network (string): Filter by network (optional)

Returns:

  • Clicks, conversions, revenue, EPC, top products

validateCompliance

Check FTC compliance of content.

Parameters:

  • content (string): Content to validate
  • platform (string): Platform type (blog, social, email)

Returns:

  • Compliance status, missing disclosures, recommendations

Use Cases

Blog Monetization

  • Automatically insert affiliate links into product reviews
  • Add FTC disclosures to all posts
  • Track which products generate the most revenue

Newsletter Monetization

  • Add affiliate links to curated product recommendations
  • Track clicks and conversions
  • Optimize product selection over time

Social Media Monetization

  • Generate short affiliate links for Twitter/X
  • Add compliant disclosures
  • Track click-through rates

E-commerce Arbitrage

  • Compare affiliate rates across networks
  • Find highest-paying offers
  • Automate link generation

Pricing

  • Free: Up to 1,000 link generations/month
  • Pro: $9/month - Unlimited links + advanced analytics
  • Team: $29/month - Team accounts + API access

Roadmap

  • Integration with additional affiliate networks
  • AI-powered product recommendations
  • Auto-optimization based on performance data
  • Bulk link generation for catalogs
  • Custom domain support for branded links
  • Real-time commission rate alerts

Compliance

AffiliateMaster is built with FTC compliance in mind:

  • Automatic disclosure generation
  • Platform-appropriate formatting
  • Audit logging for regulatory requirements

Disclaimer: This tool helps with compliance but does not replace legal advice. Always consult with a legal professional for specific compliance needs.

Support

For issues, feature requests, or questions:


Generate revenue. Stay compliant. Automate everything.

安全使用建议
The skill appears to do what it says, but exercise normal caution before installing: 1) Source provenance: the package has no homepage and an unknown owner—prefer published code from known maintainers. 2) Review npm dependencies (axios and an npm 'crypto' package) before running npm install; unnecessary or outdated packages can be risky. 3) API credentials are stored in the skill's config.json (plaintext in ~/.openclaw/skills/affiliate-master/)—set strict file permissions and consider using a secrets manager if available. 4) The skill will create analytics.json in its directory (local tracking data). If you allow autonomous invocation, be aware the skill could run without an explicit prompt; restrict access if you later add network credentials. If possible, run test.js in a sandboxed environment first and verify no unexpected outbound network calls occur.
功能分析
Type: OpenClaw Skill Name: affiliate-master Version: 1.0.0 The OpenClaw AgentSkills skill bundle 'affiliate-master' is classified as benign. The `SKILL.md` and `README.md` provide clear instructions for configuring and using the affiliate marketing automation skill, without any evidence of prompt injection attempts to subvert the agent. The `index.js` code handles sensitive API keys by reading them from a local `config.json` (as instructed) and uses them to construct legitimate affiliate URLs. It stores analytics data locally in `analytics.json`. While the `package.json` lists `axios` as a dependency, it is not utilized in the provided `index.js` for any network requests, and the current network-related functions (`searchProduct`, `shortenLink`) are explicitly marked as simulated. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or obfuscation.
能力评估
Purpose & Capability
Name/description (affiliate marketing automation) aligns with the included files and behavior: link generation, disclosure injection, analytics. The skill expects network API credentials to be placed in its config.json (not environment variables), which is a coherent design for this purpose.
Instruction Scope
SKILL.md instructs installation via clawhub and editing the skill's config file under ~/.openclaw/skills/affiliate-master/config.json. The runtime instructions and the code only read that config and operate on content/analytics within the skill directory; there are no instructions to read arbitrary system files, shell history, or other credentials.
Install Mechanism
There is no explicit install spec, but the package.json declares npm dependencies (axios and an npm 'crypto' package). Installing the skill will likely cause npm to fetch those packages. Using npm is common for JS skills, but the 'crypto' dependency is unnecessary (Node provides crypto built-in) and warrants a quick package review before installing.
Credentials
The skill requests no environment variables or primary credentials. It expects users to populate network credentials in config.json under the skill directory. This is proportionate to an affiliate tool; however, storing API keys in a local config file means users should protect file permissions and be aware keys are persisted in plaintext.
Persistence & Privilege
always is false and the skill does not attempt to modify other skills or system-wide settings. It writes analytics.json inside its own directory for local analytics storage. Autonomous invocation is allowed by default (platform standard), so consider that it could run without explicit user prompts when triggered by the agent.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install affiliate-master
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /affiliate-master 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - Full-stack affiliate marketing automation with FTC compliance. Multi-network support (Amazon, ShareASale, CJ, Impact). Built for autonomous revenue generation.
元数据
Slug affiliate-master
版本 1.0.0
许可证
累计安装 10
当前安装数 10
历史版本数 1
常见问题

AffiliateMaster 是什么?

Full-stack affiliate marketing automation for OpenClaw agents. Generate, track, and optimize affiliate links with FTC-compliant disclosures and multi-network support. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3179 次。

如何安装 AffiliateMaster?

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

AffiliateMaster 是免费的吗?

是的,AffiliateMaster 完全免费(开源免费),可自由下载、安装和使用。

AffiliateMaster 支持哪些平台?

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

谁开发了 AffiliateMaster?

由 Michael-laffin(@michael-laffin)开发并维护,当前版本 v1.0.0。

💬 留言讨论