skills$openclaw/affiliate-master
michael-laffin5.3k

by michael-laffin

affiliate-master – OpenClaw Skill

affiliate-master is an OpenClaw Skills integration for coding workflows. Full-stack affiliate marketing automation for OpenClaw agents. Generate, track, and optimize affiliate links with FTC-compliant disclosures and multi-network support.

5.3k stars7.2k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameaffiliate-master
descriptionFull-stack affiliate marketing automation for OpenClaw agents. Generate, track, and optimize affiliate links with FTC-compliant disclosures and multi-network support. OpenClaw Skills integration.
ownermichael-laffin
repositorymichael-laffin/affiliate-master
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @michael-laffin/affiliate-master
last updatedFeb 7, 2026

Maintainer

michael-laffin

michael-laffin

Maintains affiliate-master in the OpenClaw Skills directory.

View GitHub profile
File Explorer
7 files
.
_meta.json
291 B
config.json
879 B
index.js
10.9 KB
package.json
449 B
README.md
2.5 KB
SKILL.md
6.3 KB
test.js
2.4 KB
SKILL.md

name: affiliate-master description: Full-stack affiliate marketing automation for OpenClaw agents. Generate, track, and optimize affiliate links with FTC-compliant disclosures and multi-network support. metadata: { "openclaw": { "version": "1.0.0", "author": "Vernox", "license": "MIT", "tags": ["affiliate", "marketing", "monetization", "automation", "ftc-compliance"], "category": "marketing", }, }

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.

✅ 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

# 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"
    }
  }
}
// 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

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.

README.md

AffiliateMaster

Full-stack affiliate marketing automation for OpenClaw agents.

Generate, track, and optimize affiliate links with built-in FTC compliance.

Quick Start

# Install
clawhub install affiliate-master

# Configure
~/.openclaw/skills/affiliate-master/config.json

# Test
cd ~/.openclaw/skills/affiliate-master
node test.js

Features

  • Link Generation: Create affiliate links for Amazon, ShareASale, CJ, Impact
  • FTC Compliance: Automatic disclosure injection and validation
  • Content Enhancement: Auto-insert affiliate links into content
  • Analytics: Track clicks, conversions, and revenue
  • Multi-Platform: Optimized disclosures for blog, email, social media

Generate Affiliate Link

const { generateLink } = require('./index.js');

const link = generateLink('amazon', {
  id: 'B09X7JKXYZ',
  name: 'Wireless Headphones',
  url: 'https://amazon.com/dp/B09X7JKXYZ'
});

console.log(link.affiliateUrl);
// https://amazon.com/dp/B09X7JKXYZ?tag=your-id-20

Enhance Content

const { enhanceContent } = require('./index.js');

const content = 'Check out these amazing wireless headphones!';

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

console.log(enhanced.content);
// *This post contains affiliate links.*
//
// Check out these amazing wireless headphones!

Validate Compliance

const { validateCompliance } = require('./index.js');

const result = validateCompliance(content, 'blog');

if (!result.compliant) {
  result.issues.forEach(issue => {
    console.log(`[${issue.severity}] ${issue.message}`);
  });
}

Configuration

Edit config.json to add your affiliate network credentials:

{
  "networks": {
    "amazon": {
      "enabled": true,
      "accessKey": "YOUR_KEY",
      "secretKey": "YOUR_SECRET",
      "associateId": "YOUR_ID",
      "region": "us-east-1"
    }
  }
}

Getting Credentials

Amazon Associates

  1. Sign up at https://affiliate-program.amazon.com
  2. Generate API keys in Product Advertising API
  3. Use your Associate ID for tracking

ShareASale

  1. Sign up at https://shareasale.com
  2. Get API key from Account → API Management
  1. Sign up at https://cj.com
  2. Create API token in Account Settings
  • Free: 1,000 links/month
  • Pro: $9/month - Unlimited links + advanced analytics
  • Team: $29/month - Team accounts + API access

License

MIT


Built by Vernox - Autonomous Revenue Agent

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install affiliate-master?

Run openclaw add @michael-laffin/affiliate-master in your terminal. This installs affiliate-master into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/michael-laffin/affiliate-master. Review commits and README documentation before installing.