Token导航 LogoToken导航

Agent Skill · 研究检索

affiliate-program(联盟计划)

affiliate-program 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

affiliate-program 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 57,503。

总安装 432周安装 18GitHub Stars 19下载 144核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:affiliate-program(联盟计划)
来源仓库:https://github.com/finsilabs/awesome-ecommerce-skills
仓库路径:skills/affiliate-program
安装命令:
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill affiliate-program
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill affiliate-program

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于设计和实施联盟营销计划,实现按销售业绩支付佣金的模式管理。适合降低第三方网络费用、设置自定义佣金规则及防范欺诈行为场景。通过 npx 命令从 GitHub 安装,支持自动化结算和税务报表生成功能扩展。适用于电商、内容平台等需要创作者合作变现的业务类型,需明确平台集成需求。

affiliate-program 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/affiliate-program

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill aff…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

affiliate-program 怎么安装?

在终端执行 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill affiliate-pro…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

affiliate-program 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

affiliate-program 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

affiliate-program 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

affiliate-program 用的人多吗?

公开数据是累计安装 432 次,近一周安装 18 次,下载 144 次,GitHub 19 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

affiliate-program 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
affiliate-program

联盟计划 · 本页

43219需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Affiliate Program

Overview

An affiliate program pays partners a commission for each sale they refer, making it a performance-based acquisition channel with no upfront media cost. The right setup depends on your platform — most merchants get 90% of the value from a dedicated app without writing any code. Custom commission rules, fraud detection, and automated payouts are where custom development adds value.

When to Use This Skill

  • When launching a creator or influencer partnership program with revenue share
  • When replacing a third-party affiliate network (ShareASale, CJ) to reduce 20–30% network fees
  • When needing custom commission rules (category-specific rates, SKU exclusions, tiered volume bonuses)
  • When fraud in an existing affiliate program is eroding margins
  • When generating 1099 tax reporting for US-based affiliates

Core Instructions

Step 1: Determine the merchant's platform and choose the right tool

PlatformRecommended ToolWhy
ShopifyRefersion or UpPromote (Shopify App Store)Native Shopify integration, automatic coupon + link generation, built-in fraud detection, PayPal/Stripe payouts
WooCommerceAffiliateWP ($149/yr) or Solid AffiliateDeep WooCommerce integration, per-product commission rates, real-time reporting, Stripe payout add-on
BigCommerceRefersion or Goaffpro (BigCommerce App Marketplace)Native checkout integration, multi-tier commissions, real-time dashboards
Custom / HeadlessRewardful (SaaS, $49/mo) or build custom with Stripe ConnectRewardful handles tracking, fraud detection, and payouts; use custom code only for complex commission logic

Step 2: Set up your affiliate app


Shopify

Using Refersion (recommended):

  1. Install Refersion from the Shopify App Store
  2. Go to Refersion Dashboard → Settings → General and configure:

- Default commission rate (start with 10–15% for most verticals) - Cookie duration (30 days is standard) - Minimum payout threshold ($50 recommended)

  1. Go to Commissions → Commission Groups to create tiers:

- Bronze: 10% (default) - Silver: 12% (unlocks at $5k/month referred revenue) - Gold: 15% (unlocks at $20k/month)

  1. Refersion automatically generates unique tracking links (yourstore.com?rfsn=XXXXX) and injects a tracking pixel at checkout — no code required
  2. Go to Affiliates → Recruitment Page to enable a self-service signup portal where partners can apply
  3. For Shopify Plus stores: use Shopify Flow to automatically tag high-value affiliates and trigger tier upgrades

Using UpPromote (free plan available):

  1. Install UpPromote from the Shopify App Store
  2. Go to UpPromote → Programs → Create Program and set commission rules
  3. Enable automatic discount code generation for each affiliate under Settings → Affiliate Links
  4. Connect PayPal or Wise under Settings → Payment for automated payouts

WooCommerce

Using AffiliateWP:

  1. Install and activate AffiliateWP on your WordPress site
  2. Go to AffiliateWP → Settings → General and configure:

- Referral rate: 10% (start conservative) - Cookie expiration: 30 days - Credit last referrer: yes (last-click attribution)

  1. Go to AffiliateWP → Settings → Payouts and connect PayPal or enable manual payouts
  2. Enable per-product commission rates under Settings → Misc → Per-Product Rates — this allows you to set 4% on electronics and 20% on digital products
  3. Install the AffiliateWP – Fraud Prevention add-on ($49) to automatically flag self-referrals and IP velocity abuse
  4. Affiliates access their dashboard at yoursite.com/affiliate-area/

Tier automation with WooCommerce hooks:

// In functions.php — promote affiliate to Silver tier when monthly revenue > $5k
add_action('affwp_update_affiliate', function($affiliate_id) {
    $month_revenue = affwp_get_affiliate_earnings($affiliate_id, true); // current month
    if ($month_revenue >= 5000 && affwp_get_affiliate_rate($affiliate_id) < 0.12) {
        affwp_update_affiliate(['affiliate_id' => $affiliate_id, 'rate' => '12']);
    }
});

BigCommerce
  1. Install Refersion or Goaffpro from the BigCommerce App Marketplace
  2. Both apps integrate with BigCommerce's order webhooks automatically — no code required
  3. Configure commission tiers and payout schedules in the app dashboard
  4. BigCommerce's built-in coupon system works with both apps to generate affiliate-specific discount codes

Custom / Headless

For headless storefronts, use Rewardful (SaaS) to avoid building tracking infrastructure from scratch:

  1. Add Rewardful's JavaScript snippet to your storefront
  2. On purchase confirmation, identify the customer:
rewardful('convert', { email: order.customerEmail });
  1. Rewardful handles cookie attribution, fraud detection, and Stripe Connect payouts automatically

If you need custom commission logic that Rewardful cannot handle, build the tracking layer:

// Track affiliate click and set cookie
export async function trackAffiliateClick(req: Request, res: Response) {
  const code = req.query.aff as string;
  const affiliate = await db.affiliates.findByCode(code);
  if (!affiliate) return res.redirect('/');

  await db.affiliateClicks.create({
    affiliateId: affiliate.id,
    ip: req.ip,
    clickedAt: new Date(),
  });

  res.cookie('aff', affiliate.id, {
    maxAge: 30 * 86400 * 1000, // 30-day cookie
    httpOnly: true,
    secure: true,
    sameSite: 'lax',
  });

  return res.redirect(req.query.redirect as string ?? '/');
}

// Attribute order and calculate commission
async function attributeOrderToAffiliate(orderId: string, affiliateCookieId: string) {
  const order = await db.orders.findById(orderId);
  const affiliate = await db.affiliates.findById(affiliateCookieId);
  if (!affiliate) return;

  // Fraud check: flag self-referrals
  if (order.customerEmail === affiliate.email) {
    await db.affiliateConversions.create({ orderId, affiliateId: affiliate.id, status: 'flagged' });
    return;
  }

  const commissionRate = { bronze: 0.10, silver: 0.12, gold: 0.15 }[affiliate.tier];
  const commission = (order.subtotalCents / 100) * commissionRate;

  await db.affiliateConversions.create({
    orderId,
    affiliateId: affiliate.id,
    commissionAmount: commission,
    status: 'pending', // hold for 30-day refund window
  });
}

Use Stripe Connect for payouts — it handles KYC, tax forms, and international transfers:

const transfer = await stripe.transfers.create({
  amount: Math.round(totalCommission * 100),
  currency: 'usd',
  destination: affiliate.stripeConnectAccountId,
  description: `Affiliate commission — ${month}`,
});

Step 3: Configure commission and fraud rules

Regardless of platform, configure these settings in your affiliate app:

  1. Commission base: set commission on subtotal only — never on tax or shipping
  2. Refund window: hold commissions for 30 days before approving (most apps call this "pending" status)
  3. Minimum payout: set $50–$100 to reduce payment fees
  4. Self-referral blocking: enable in app settings (Refersion and AffiliateWP both have this built in)
  5. Category exclusions: exclude gift cards and already-discounted items from commission base
  6. FTC compliance: require affiliates to disclose their relationship in all posts

Step 4: Measure performance

Track these metrics in your affiliate app's dashboard:

MetricTargetWhere to Find
Click-to-conversion rate2–5%Refersion: Reports → Conversions. AffiliateWP: Reports tab
Average commission payoutTrack vs. ROASAffiliate app → Payout reports
Fraud rate (flagged conversions)< 2%Check flagged/pending queue monthly
Top 10 affiliates by revenue—Affiliate app → Leaderboard

Best Practices

  • Issue unique discount codes per affiliate (not just UTM links) — discount codes are more reliable for attribution when affiliates use link-in-bio tools that strip UTM parameters
  • Hold commissions for 30 days before approving — never pay out on orders that might be returned
  • Set a minimum payout threshold ($50–$100) to reduce payment processing fees and discourage fraud
  • Require onboarding (PayPal email or Stripe Connect) before an affiliate can receive payments — this creates a paper trail
  • Audit affiliates with refund rates above 15% — high refund rates combined with high volume signals return fraud
  • Cap commission on first-time purchases only for high-discount categories — prevents affiliates from incentivizing repeat coupon use

Common Pitfalls

ProblemSolution
Self-referral fraudEnable self-referral blocking in your affiliate app settings; most dedicated apps include this
Commission calculated on full order total including tax and shippingConfigure the commission base to use subtotal in app settings
Payout fails for affiliates who haven't completed KYCGate payouts on completed onboarding; use Stripe Connect's charges_enabled status check
Tier not downgrading when affiliate volume dropsReview tier assignments monthly; most apps support manual tier adjustments
High refund rate from one affiliatePause the affiliate and review recent orders; if pattern continues, terminate partnership

Related Skills

  • @influencer-tracking
  • @referral-viral-loops
  • @sms-marketing
  • @marketing-attribution-dashboard

平台分布

Codex

39.05%
按下载量换算56

Claude

30.87%
按下载量换算44

Cursor

16.93%
按下载量换算24

Gemini CLI

10.25%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills