← 返回 Skills 市场
lvjunjie-byte

Affiliate Marketing Auto

作者 lvjunjie-byte · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
377
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install affiliate-marketing-auto
功能描述
自动化发现高佣金联盟产品,生成SEO内容,管理追踪链接,分析收入,实现全天候被动收益优化。
使用说明 (SKILL.md)

Affiliate-Marketing-Auto - 联盟营销自动化技能

概述

自动化联盟营销全流程技能,帮助 AI Agent 实现 24/7 被动收入。包含高佣金产品发现、自动内容生成、链接追踪管理和收入报告分析四大核心功能。

功能特性

🔍 高佣金产品发现

  • 多平台联盟产品搜索(Amazon Associates、ShareASale、CJ Affiliate 等)
  • 智能佣金率筛选(支持设置最低佣金阈值)
  • 产品热度趋势分析
  • 竞争度评估
  • 利基市场推荐

✍️ 自动内容生成

  • SEO 优化产品评测文章
  • 社交媒体推广文案(Twitter、小红书、微博等)
  • 邮件营销模板
  • 视频脚本生成
  • 多语言支持

🔗 链接追踪和管理

  • 自动短链生成
  • UTM 参数管理
  • 点击率追踪
  • 转化率监控
  • A/B 测试支持

📊 收入报告和分析

  • 实时收入仪表板
  • 转化率分析
  • 最佳产品推荐
  • 收入趋势预测
  • 导出报告(CSV/PDF)

安装

# 使用 skillhub 安装(推荐)
skillhub install affiliate-marketing-auto

# 或使用 clawhub 安装
clawhub install affiliate-marketing-auto

# 手动安装
cd D:\openclaw\workspace\skills
git clone \x3Crepository-url> affiliate-marketing-auto
cd affiliate-marketing-auto
npm install

快速开始

1. 配置联盟账户

const affiliate = await skill('affiliate-marketing-auto');

await affiliate.configure({
  platforms: {
    amazon: {
      apiKey: 'your-amazon-api-key',
      associateTag: 'your-associate-tag'
    },
    shareasale: {
      userId: 'your-user-id',
      apiKey: 'your-api-key'
    }
  }
});

2. 发现高佣金产品

// 搜索特定类别的高佣金产品
const products = await affiliate.findProducts({
  category: 'electronics',
  minCommissionRate: 0.10,  // 最低 10% 佣金
  minPrice: 50,             // 最低$50
  maxResults: 20
});

console.log(`找到 ${products.length} 个高佣金产品`);

3. 生成推广内容

// 生成产品评测文章
const review = await affiliate.generateContent({
  type: 'review',
  product: products[0],
  tone: 'professional',
  length: 'long',
  seoKeywords: ['best laptop 2024', 'laptop review']
});

// 生成社交媒体文案
const socialPosts = await affiliate.generateContent({
  type: 'social',
  product: products[0],
  platforms: ['twitter', 'xiaohongshu', 'weibo']
});

4. 追踪链接表现

// 创建追踪链接
const trackingLink = await affiliate.createTrackingLink({
  productUrl: products[0].url,
  campaign: 'spring-promotion',
  source: 'twitter'
});

// 获取链接统计
const stats = await affiliate.getLinkStats(trackingLink.id);
console.log(`点击数:${stats.clicks}, 转化数:${stats.conversions}`);

5. 查看收入报告

// 获取收入报告
const report = await affiliate.getRevenueReport({
  startDate: '2024-01-01',
  endDate: '2024-03-31',
  groupBy: 'product'
});

// 导出报告
await affiliate.exportReport(report, {
  format: 'csv',
  path: './reports/q1-2024.csv'
});

高级用法

自动化工作流

// 设置自动化营销流程
await affiliate.setupAutomation({
  schedule: 'daily',
  tasks: [
    { action: 'findProducts', params: { category: 'trending' } },
    { action: 'generateContent', params: { type: 'social' } },
    { action: 'publishContent', params: { platforms: ['twitter', 'xiaohongshu'] } },
    { action: 'trackPerformance', params: {} }
  ]
});

利基市场分析

const nicheAnalysis = await affiliate.analyzeNiche({
  keywords: ['fitness', 'home workout', 'yoga equipment'],
  competition: 'medium',
  minVolume: 1000
});

console.log(`推荐利基:${nicheAnalysis.topNiche}`);
console.log(`预估月收入:$${nicheAnalysis.estimatedRevenue}`);

API 参考

配置方法

方法 参数 说明
configure(config) config: Config 配置联盟平台和 API 密钥

产品发现

方法 参数 返回
findProducts(options) FindOptions Product[]
getTrendingProducts(category) string Product[]
analyzeNiche(keywords) string[] NicheAnalysis

内容生成

方法 参数 返回
generateContent(options) ContentOptions GeneratedContent
generateReview(product) Product string
generateSocialPosts(product) Product SocialPost[]

链接追踪

方法 参数 返回
createTrackingLink(options) LinkOptions TrackingLink
getLinkStats(linkId) string LinkStats
updateLink(linkId, updates) string, LinkUpdates TrackingLink

收入分析

方法 参数 返回
getRevenueReport(options) ReportOptions RevenueReport
exportReport(report, options) Report, ExportOptions string
getPredictions(months) number RevenuePrediction

定价

$79/月

包含:

  • 无限产品搜索
  • 每月 1000 次内容生成
  • 无限链接追踪
  • 实时收入报告
  • 优先技术支持

注意事项

  1. 合规性:确保遵守各联盟平台的服务条款
  2. 披露要求:在推广内容中必须披露联盟关系
  3. API 限制:注意各平台的 API 调用频率限制
  4. 数据隐私:妥善保管 API 密钥和用户数据

支持

  • 文档:https://github.com/openclaw/affiliate-marketing-auto
  • 问题反馈:https://github.com/openclaw/affiliate-marketing-auto/issues
  • 邮件支持:[email protected]

许可证

MIT License

安全使用建议
This package appears to implement the advertised affiliate automation features, but take these precautions before installing or using it: - Review and test the code locally first (especially src/link-tracker.js and src/product-finder.js) to confirm what network calls it makes and how it stores credentials. - Do NOT provide high-privilege or production API keys until you trust the code. Create least-privilege / test keys or sandbox accounts for Amazon/ShareASale/CJ where possible. - Pay special attention to the link-tracking API: examples show manual recording of clicks and conversions with fake IPs/user-agents — avoid using or enable only for testing, because that functionality can be abused to inflate metrics or violate affiliate program TOS. - Verify package provenance: repository/homepage fields in the manifest differ from the provided metadata, and names/versions are inconsistent (affiliate-marketing-pro vs affiliate-marketing-auto, version mismatches). Confirm the official source (e.g., an authoritative GitHub repo) before trusting updates. - Check third-party dependencies (axios, cheerio, node-fetch) for versions and supply-chain risk; run npm audit and lock dependency versions you trust. - If you plan to allow autonomous agent invocation with real credentials, limit the skill's permissions (or disable autonomous invocation) and monitor traffic and affiliate reports for anomalies. If you want, I can scan the omitted source files (link-tracker and product-finder) for network endpoints, hidden remote hosts, or suspicious code paths that would clarify the risk further.
功能分析
Type: OpenClaw Skill Name: affiliate-marketing-auto Version: 1.0.2 The skill bundle is a comprehensive framework for automating affiliate marketing workflows, including product discovery, SEO content generation, and link tracking. While many of the external API integrations (e.g., Amazon, CJ Affiliate) are currently implemented as stubs returning demo data, the code logic is transparent, well-structured, and strictly aligned with the stated marketing purposes. No evidence of data exfiltration, malicious execution, or prompt injection was found across the source files (src/*.js) or documentation (SKILL.md, README.md).
能力评估
Purpose & Capability
The skill's name, README, SKILL.md and source files implement the advertised features (product discovery, content generation, link tracking, analytics). Dependencies (axios, cheerio, node-fetch) are consistent with web API calls / scraping and content generation. Minor incoherences: package metadata uses the name 'affiliate-marketing-pro' in package.json/clawhub.json while the skill slug is 'affiliate-marketing-auto' and published version in metadata is 1.0.2 whereas package files list 1.0.0/1.0.1 — these mismatches are not necessarily malicious but indicate sloppy packaging.
Instruction Scope
SKILL.md and examples instruct the agent to accept and store platform API keys via configure(), search platforms, generate and publish content, and create tracking links. The examples (examples/quick-start.js) explicitly demonstrate recording '模拟点击和转化' (simulated clicks and conversions) by calling linkTracker.recordClick and recordConversion with synthetic IPs/userAgents and recording conversions. That capability—especially when used with fabricated IPs, user agents, or artificially recorded conversions—can be used to commit click-fraud or inflate affiliate metrics. The runtime instructions do not tell the agent to read unrelated system files, but they do instruct saving/exporting reports to local paths (exportReport) which the code currently simulates rather than performing safe validated file writes. Also, SKILL.md expects API keys to be supplied at runtime but the skill metadata declares no required environment variables — a mild mismatch in how secrets are provided.
Install Mechanism
There is no automated install spec in the skill bundle (instruction-only install guidance + included package.json), so nothing arbitrary will be downloaded by the platform during install. The code uses standard npm dependencies (axios, cheerio, node-fetch) which are typical and traceable via npm. No remote URL-based installers or extracted archives were specified in the skill manifest (lower install risk).
Credentials
The skill does require affiliate platform credentials in practice (Amazon Associates, ShareASale, CJ, etc.) but does not declare any required environment variables in the manifest; instead it expects the operator to pass API keys into configure() at runtime. That is reasonable functionally, but users should be aware the skill will handle those secrets at runtime. No other unrelated credentials or system config paths are requested. Because secrets are accepted at runtime, the operator should avoid providing high-privilege keys or account credentials with unnecessary write permissions.
Persistence & Privilege
The skill does not request always:true and does not modify other skills' configurations. Model invocation is allowed (default), which is normal. There is no evidence the skill attempts to persist itself into system-wide agent settings; automation tasks are created internally in-memory and reported back. No elevated platform privileges are requested in the manifest.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install affiliate-marketing-auto
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /affiliate-marketing-auto 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Added RELEASE.md for release notes and SUMMARY.md for documentation overview - Updated package.json and clawhub.json metadata - No changes to skill functionality or interface - Improves project documentation and organizational clarity
v1.0.1
Initial MVP release: YouTube→TikTok/Shorts, Blog→Twitter/LinkedIn, Podcast→Transcripts/Summaries, batch processing, CLI + API
v1.0.0
Affiliate-Marketing-Auto 1.0.0 - Initial Release - Automates the full affiliate marketing workflow: high-commission product discovery, content generation, link tracking, and revenue analysis. - Supports multi-platform affiliate networks (Amazon, ShareASale, CJ Affiliate) with smart filtering and market trend analysis. - Generates SEO-optimized articles, social posts, email templates, and video scripts with multi-language support. - Provides automatic link management, conversion tracking, A/B testing, and performance dashboards. - Offers income reporting, trend forecasting, and report export in CSV/PDF.
元数据
Slug affiliate-marketing-auto
版本 1.0.2
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 3
常见问题

Affiliate Marketing Auto 是什么?

自动化发现高佣金联盟产品,生成SEO内容,管理追踪链接,分析收入,实现全天候被动收益优化。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 377 次。

如何安装 Affiliate Marketing Auto?

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

Affiliate Marketing Auto 是免费的吗?

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

Affiliate Marketing Auto 支持哪些平台?

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

谁开发了 Affiliate Marketing Auto?

由 lvjunjie-byte(@lvjunjie-byte)开发并维护,当前版本 v1.0.2。

💬 留言讨论