Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

affiliate-link-injector附属链接注入器

Agent Skill

affiliate-link-injector 用于整理文档、README、Markdown 和说明材料,适合在 OpenClaw 中需要把零散信息整理成结构清晰的文档时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

8,126

周安装

342

GitHub Stars

公开资料未说明

下载量

2,845
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:affiliate-link-injector(附属链接注入器)
来源仓库:https://github.com/ncreighton/affiliate-link-injector
安装命令:
openclaw skills install affiliate-link-injector
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install affiliate-link-injector

简介

affiliate-link-injector 扫描内容并插入合规附属链接。

  • 自动生成 FTC 披露声明,降低法律风险。
  • 适用于博客文章与产品评论盈利场景。
  • 修改内容前建议备份原始文件。安装时按仓库提供的命令执行,建议先在测试环境验证依赖、命令权限和文件改动范围。
  • 适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
affiliate-link-injector
description
Scan content for product mentions and auto-insert affiliate links with FTC compliance disclosures. Use when the user needs to monetize blog posts, product reviews, or guides with tracked affiliate links while maintaining legal compliance.
version
1.0.0
homepage
https://github.com/ncreighton/empire-skills
metadata

Overview

The Affiliate Link Injector automates the process of scanning content for product mentions and strategically inserting tracked affiliate links with FTC-compliant disclosure notices. This skill is designed for content creators, bloggers, ecommerce marketers, and agencies who need to monetize content while maintaining legal and ethical standards.

Why This Matters

  • Revenue Automation: Convert existing content into income streams without manual link hunting
  • FTC Compliance: Automatically adds required disclosures (FTC Act Section 5) to protect your brand and audience
  • Link Tracking: Integrates with Amazon Associates, ShareASale, Impact, CJ Affiliate, and custom affiliate networks
  • Content Preservation: Maintains readability and SEO value while injecting contextual affiliate links
  • Multi-Platform Support: Works with WordPress, Medium, Substack, Ghost, static HTML, and Markdown files

Integrations

This skill connects with:

  • Amazon Associates (product links, commission tracking)
  • ShareASale (1000+ merchant networks)
  • Impact (enterprise affiliate management)
  • CJ Affiliate (B2B and B2C programs)
  • WordPress (direct post/page injection via REST API)
  • Google Docs (scan and suggest links for approval)
  • Slack (send compliance reports and link suggestions)

Quick Start

Example 1: Scan Blog Post and Inject Amazon Links

Scan this blog post for product mentions and inject Amazon Associates 
affiliate links with FTC disclosures. Use my affiliate ID: 
yourname-20. Only link products that are actually available on Amazon.

[Paste your blog post content here]

Expected Output: Blog post with [Product Name](https://amazon.com/...?tag=yourname-20) links and a disclaimer like: *"This post contains affiliate links. We earn a commission if you click and purchase at no additional cost to you."*


Example 2: Monetize Product Review with Multiple Networks

I have a product review comparing 5 laptop brands. Add affiliate links 
from Amazon Associates, B&H Photo, and Newegg. Insert FTC disclosure 
at the top. Format: Markdown. Only inject links where I naturally 
mention the product.

Review content:
[Paste your review]

Expected Output: Review with contextual affiliate links to each retailer, FTC disclosure banner, and a summary table showing which affiliate networks were used.


Example 3: Bulk Scan WordPress Posts for Monetization Opportunities

Scan my WordPress blog for all product mentions across 10 recent posts. 
Generate a report showing:
1. Which products can be monetized (with affiliate network options)
2. Where to insert FTC disclosures
3. Recommended link anchor text for SEO
4. Compliance risk assessment

WordPress URL: https://myblog.com
API key: [your WordPress REST API key]

Expected Output: CSV report with post titles, product mentions, recommended affiliate networks, compliance notes, and a one-click approval button to auto-inject links.


Example 4: Create FTC-Compliant Disclosure Variants

Generate 5 different FTC disclosure statements for my blog that are:
1. Concise (one sentence)
2. Friendly and conversational
3. Legal-safe (covers all affiliate relationships)
4. Mobile-friendly (short version for sidebars)
5. Transparent (mentions specific networks: Amazon, ShareASale)

My blog tone: [casual/professional/humorous]

Expected Output: 5 disclosure variants with guidance on placement and legal compliance notes.


Capabilities

1. Intelligent Product Detection

  • Scans content for product names, brands, and model numbers
  • Uses NLP to distinguish between casual mentions and recommendation contexts
  • Identifies products already linked (avoids duplicate linking)
  • Recognizes variations: "MacBook Pro" = "MacBook Pro 16-inch M2"

2. Affiliate Network Matching

  • Automatically matches products to available affiliate programs
  • Prioritizes highest-commission networks
  • Falls back to general retailers (Amazon) for unmatched products
  • Supports custom affiliate URLs and UTM parameters
  • Integrates with:

- Amazon Associates (commission: 1-10%) - ShareASale (1000+ merchants) - Impact (enterprise tracking) - CJ Affiliate (B2B focus) - Custom affiliate networks (paste your own links)

3. FTC Compliance Automation

  • Generates legally-reviewed disclosure statements
  • Places disclosures prominently (top of post, before first link)
  • Adds visual indicators: badges, icons, or inline notices
  • Tracks which links have disclosures (audit trail)
  • Generates compliance reports for legal review
  • Supports multiple disclosure standards:

- FTC Endorsement Guides (US) - AANA Code of Ethics (Australia) - ASA Guidelines (UK) - DGPR considerations (EU)

4. Content-Aware Link Injection

  • Analyzes context to place links naturally (not spammy)
  • Limits links per 1000 words (default: 3-5 links)
  • Avoids linking competitor products negatively
  • Preserves original anchor text or suggests better SEO variants
  • Respects nofollow requirements for sponsored content

5. Multi-Format Support

  • Markdown: Direct link injection with metadata
  • HTML: Wraps links with data attributes for tracking
  • WordPress: Injects via REST API with post scheduling
  • Google Docs: Suggests links in comments for approval workflow
  • Substack: Formats links for newsletter compatibility
  • Plain Text: Generates separate link mapping file

6. Reporting & Analytics

  • Generates monetization opportunity reports
  • Shows estimated revenue per post
  • Tracks link click-through rates (requires analytics integration)
  • Compliance audit logs
  • Competitor link analysis

Configuration

Required Environment Variables

# Affiliate Network Credentials
export AFFILIATE_NETWORKS_API_KEY="your_api_key_here"
export AMAZON_ASSOCIATES_ID="yourname-20"
export SHARESALE_MERCHANT_ID="your_merchant_id"

# FTC Compliance Settings
export FTC_COMPLIANCE_MODE="strict"  # strict, moderate, minimal
export DISCLOSURE_PLACEMENT="top"    # top, sidebar, inline, footer
export DISCLOSURE_LANGUAGE="en-US"   # en-US, en-GB, en-AU, de-DE, etc.

# Content Analysis
export LINK_DENSITY_MAX="5"          # Max links per 1000 words
export MIN_PRODUCT_RELEVANCE="0.75"  # 0-1 scale (1 = perfect match)
export AUTO_INJECT="false"           # true = inject, false = suggest only

Setup Instructions

  1. Get API Keys:

- Amazon Associates: https://affiliate-program.amazon.com/ - ShareASale: https://www.shareasale.com/ - Impact: https://impact.com/ - CJ Affiliate: https://www.cjaffiliates.com/

  1. Set Environment Variables:
   export AFFILIATE_NETWORKS_API_KEY="your_key"
   export FTC_COMPLIANCE_MODE="strict"
  1. Connect Your Platform:

- WordPress: Generate REST API token at Settings → Users - Google Docs: Share document and authenticate with your Google account - Slack: Install bot and authorize channel access

  1. Test with Sample Content:
   Run: affiliate-link-injector --test --mode=suggest
   Input: "I recommend the iPhone 14 Pro and iPad Air"
   Output: Suggested links with compliance check

Example Outputs

Output 1: Injected Blog Post (Markdown)

# Best Budget Laptops in 2024

*Disclosure: This post contains affiliate links. We earn a commission 
if you click and purchase at no additional cost to you.*

## Budget Champion: ASUS VivoBook 15

The [ASUS VivoBook 15](https://amazon.com/s?k=ASUS+VivoBook+15&tag=yourname-20) 
offers excellent value at under $500. With a Ryzen 5 processor and 
16GB RAM, it handles everyday tasks effortlessly.

**Affiliate Networks Used**: Amazon Associates
**Commission Rate**: 4%
**Estimated Revenue Per Sale**: $20

Output 2: Monetization Opportunity Report

AFFILIATE LINK INJECTOR REPORT
Generated: 2024-01-15

Post: "Top 10 Photography Gadgets"
Current Links: 2
Monetization Opportunities: 8 new products
Estimated Revenue Potential: $450-$800/month

Products Found:
✓ Canon EOS R6 → Amazon (10%), B&H Photo (8%)
✓ Nikon Z9 → Amazon (10%), Adorama (7%)
✓ Sony A7IV → Amazon (10%), Newegg (6%)
✓ DJI Air 3S → Amazon (5%), Best Buy (4%)
✓ Peak Design Backpack → Amazon (8%), REI (6%)

FTC Compliance Status: APPROVED
Disclosure Placement: Top of post
Risk Assessment: LOW (all links contextualized)

Output 3: Compliance Audit Log

COMPLIANCE AUDIT TRAIL

Post ID: 42
Post Title: "Best Wireless Earbuds 2024"
Scan Date: 2024-01-15 10:30 UTC

Links Injected: 5
├─ AirPods Pro → Amazon (FTC disclosed: YES)
├─ Sony WF-1000XM5 → Amazon (FTC disclosed: YES)
├─ Jabra Elite 85t → ShareASale (FTC disclosed: YES)
├─ Bose QuietComfort → Amazon (FTC disclosed: YES)
└─ Anker Soundcore → Amazon (FTC disclosed: YES)

Disclosure Statement: Present
Disclosure Visibility: High (top of post)
Regulatory Compliance: ✓ FTC (US), ✓ ASA (UK), ✓ AANA (AU)
Risk Level: LOW
Recommended Review: None

Tips & Best Practices

1. Maximize Revenue Without Compromising Readers

  • Link only products you genuinely recommend (credibility = click-through)
  • Use "Use when the user needs..." language in product descriptions
  • Limit to 3-5 links per 1000 words (optimal for engagement)
  • Test different disclosure placements (top vs. inline)

2. Optimize for Search Engines

  • Use natural anchor text: "the ASUS VivoBook 15" not "click here"
  • Keep affiliate URLs clean (remove tracking parameters that hurt SEO)
  • Add product schema markup for rich snippets
  • Interlink related posts to boost domain authority

3. FTC Compliance Best Practices

  • Use "Disclosure" not "Disclaimer" (clearer for readers)
  • Place disclosure BEFORE the first affiliate link
  • Use clear language: "We earn a commission" not "We may earn a commission"
  • Document your affiliate relationships in a separate page
  • Review FTC updates quarterly (https://www.ftc.gov/endorsements)

4. A/B Test Link Placement

  • Compare performance: top disclosure vs. inline notices
  • Track which products generate highest CTR
  • Test different link colors/styles (if using custom CSS)
  • Monitor bounce rates to ensure links don't distract

5. Maintain Reader Trust

  • Disclose ALL affiliate relationships (not just some)
  • Link competitors fairly if you mention them
  • Update links quarterly (broken links hurt credibility)
  • Be transparent about commission rates (optional but builds trust)

6. Integrate with Analytics

  • Use UTM parameters: ?utm_source=blog&utm_medium=affiliate&utm_campaign=post-title
  • Track conversions in Google Analytics or your affiliate dashboard
  • Measure ROI per post to identify high-performing content
  • Adjust link strategy based on performance data

Safety & Guardrails

What This Skill Will NOT Do

Will NOT inject links without compliance review

  • Requires explicit approval or "suggest only" mode by default
  • Generates compliance reports for legal review before publishing

Will NOT link to competitors in negative contexts

  • Detects comparative language and avoids unfair linking
  • Example: "Unlike the Product X, our choice..." → Skips link

Will NOT exceed ethical link density

  • Hard limit: 5 links per 1000 words (configurable)
  • Flags content as "over-monetized" if density exceeds threshold
  • Prevents spammy affiliate content that harms reader experience

Will NOT link to prohibited categories

  • Respects your custom blocklist (weapons, adult content, etc.)
  • Automatically filters based on FTC guidelines
  • Prevents linking to competitors' affiliate programs

Will NOT work without explicit user content

  • Requires you to provide content (won't scrape web)
  • Respects copyright and intellectual property
  • Requires API authentication for WordPress/platform integrations

Will NOT guarantee affiliate program approval

  • Some networks (Amazon Associates) have strict policies
  • Your account must be approved independently
  • Skill generates compliant links but doesn't bypass network restrictions

Limitations

  • Network Coverage: ~500 affiliate networks supported; niche products may not have affiliate options
  • Language Support: Optimized for English; other languages have reduced accuracy
  • Real-Time Updates: Affiliate commission rates updated monthly (not real-time)
  • Link Verification: Does not verify if products are currently in stock or available
  • Revenue Guarantees: Estimated earnings are approximations based on average conversion rates

Troubleshooting

Issue 1: "No Affiliate Links Found for Product X"

Cause: Product not in supported affiliate networks

Solutions:

  1. Check if the product has an affiliate program directly (contact brand)
  2. Use a fallback network (Amazon Associates for most products)
  3. Add a custom affiliate link manually
  4. Adjust MIN_PRODUCT_RELEVANCE setting lower (0.5-0.7)
affiliate-link-injector --product="Obscure Product" --fallback=amazon

Issue 2: "FTC Disclosure Not Appearing in Output"

Cause: Disclosure placement setting or content format incompatibility

Solutions:

  1. Verify DISCLOSURE_PLACEMENT is set correctly:
   export DISCLOSURE_PLACEMENT="top"  # or "inline", "footer", "sidebar"
  1. Check content format supports disclosure (HTML/Markdown required):
   affiliate-link-injector --format=markdown --disclosure=top
  1. For WordPress, ensure theme supports custom HTML blocks

Issue 3: "Links Injected But Analytics Not Tracking"

Cause: UTM parameters missing or affiliate network not configured

Solutions:

  1. Verify affiliate network API key is active:
   affiliate-link-injector --test-api
  1. Enable UTM parameter generation:
   export UTM_ENABLED="true"
   export UTM_SOURCE="blog"
   export UTM_MEDIUM="affiliate"
  1. Check your affiliate dashboard for conversion tracking setup

Issue 4: "Too Many Links Injected (Over-Monetized)"

Cause: Link density exceeds recommended threshold

Solutions:

  1. Reduce LINK_DENSITY_MAX:
   export LINK_DENSITY_MAX="3"  # Changed from 5 to 3
  1. Use "suggest only" mode to review before injecting:
   affiliate-link-injector --mode=suggest --review=true
  1. Manually remove lower-priority links

Issue 5: "WordPress Integration Not Working

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.97%
按下载量换算2,673

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills