Install
openclaw skills install affiliate-masterFull-stack affiliate marketing automation for OpenClaw agents. Generate, track, and optimize affiliate links with FTC-compliant disclosures and multi-network support.
openclaw skills install affiliate-masterVernox's first revenue-generating skill. Turn content into cash.
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.
clawhub install affiliate-master
# 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"
// }
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
generateLinkGenerate 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 linkdisclosure: Required disclosure texttrackingId: Unique tracking identifiersearchProductSearch for products across affiliate networks.
Parameters:
query (string): Search querynetwork (string): Network to search (default: all)category (string): Product category filterReturns:
enhanceContentAutomatically insert affiliate links into content.
Parameters:
content (string): Original contentoptions (object):
autoInsert (boolean): Auto-detect opportunitiesdisclosurePlacement (string): Where to place disclosuremaxLinks (number): Maximum links to insertReturns:
getAnalyticsRetrieve performance analytics.
Parameters:
dateRange (string): 7d, 30d, 90d, allnetwork (string): Filter by network (optional)Returns:
validateComplianceCheck FTC compliance of content.
Parameters:
content (string): Content to validateplatform (string): Platform type (blog, social, email)Returns:
AffiliateMaster is built with FTC compliance in mind:
Disclaimer: This tool helps with compliance but does not replace legal advice. Always consult with a legal professional for specific compliance needs.
For issues, feature requests, or questions:
Generate revenue. Stay compliant. Automate everything.