Skip to content
Back to skills

affiliate-check

DSecurity

Live affiliate program data from openaffiliate.dev. Search programs, compare commissions, check cookie days, find top performers. Use when researching affiliate programs, comparing options, or checking program details. Persistent daemon with cache — first call starts server (~2s), subsequent calls ~100ms.

  • 770 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 27, 2026
data-aibashapi

Works with

  • api

Security analysis

D42/100
  • criticalPipes output to a shell interpreter
  • mediumUses curl or wget to download content
  • criticalDownloads and executes remote scripts — classic supply chain attack

Pro scans all 20 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add Affitor/affiliate-skills --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of affiliate-check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for affiliate-check
[![Security: D — Skills Directory](https://www.skillsdirectory.com/api/skills/affitor-affiliate-check/badge)](https://www.skillsdirectory.com/skills/affitor-affiliate-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: affiliate-check
version: 1.0.0
description: |
  Live affiliate program data from openaffiliate.dev. Search programs, compare commissions,
  check cookie days, find top performers. Use when researching affiliate programs,
  comparing options, or checking program details. Persistent daemon with cache — first call
  starts server (~2s), subsequent calls ~100ms.
allowed-tools:
  - Bash
  - Read
---

# affiliate-check: Live Affiliate Program Data

Query affiliate program data from openaffiliate.dev in real-time. Persistent daemon
with in-memory cache — first call auto-starts the server, every subsequent call is instant.

## SETUP (run this check BEFORE any affiliate-check command)

Before using any command, find the skill and check if the binary exists:

```bash
# Check project-level first, then user-level
if test -x .claude/skills/affiliate-skills/tools/dist/affiliate-check; then
  A=.claude/skills/affiliate-skills/tools/dist/affiliate-check
elif test -x ~/.claude/skills/affiliate-skills/tools/dist/affiliate-check; then
  A=~/.claude/skills/affiliate-skills/tools/dist/affiliate-check
else
  echo "NEEDS_SETUP"
fi
```

Set `A` to whichever path exists and use it for all commands.

If `NEEDS_SETUP`:
1. Tell the user: "affiliate-check needs a one-time build (~10 seconds). OK to proceed?"
2. If approved, run: `cd <SKILL_DIR> && ./setup`
3. If `bun` is not installed: `curl -fsSL https://bun.sh/install | bash`

## Quick Reference

```bash
A=~/.claude/skills/affiliate-skills/tools/dist/affiliate-check

# Search programs
$A search "AI video tools"
$A search --recurring --tags ai

# Top programs
$A top
$A top --sort trending

# Program details
$A info heygen

# Compare programs side-by-side
$A compare heygen synthesia

# Server management
$A status
$A stop
```

## Commands

### Search
```
affiliate-check search <query>                    Search by name/keyword
affiliate-check search --recurring                Filter recurring commissions
affiliate-check search --tags ai,video            Filter by tags
affiliate-check search --min-cookie 30            Min cookie days
affiliate-check search --sort new                 Sort: trending | new | top
affiliate-check search --limit 20                 Result limit
```

### Discovery
```
affiliate-check top                               Top programs by stars
affiliate-check top --sort trending               Trending programs
affiliate-check top --sort new                    Newest programs
```

### Details
```
affiliate-check info <name>                       Detailed program card
affiliate-check compare <name1> <name2> [name3]   Side-by-side comparison
```

### Server
```
affiliate-check status                            Uptime, cache, API key status
affiliate-check stop                              Shutdown daemon
affiliate-check help                              Full help
```

## Environment

No environment variables required. The openaffiliate.dev API is fully public — no API key, no auth.

## Architecture

- Persistent Bun daemon on localhost (port 9500-9510)
- In-memory cache with 5-minute TTL
- State file: `/tmp/affiliate-check.json`
- Auto-shutdown after 30 min idle
- Server crash → auto-restarts on next command

Files in this skill

  • .claude-plugin/marketplace.json3.4 KB
  • .cursorrules2.5 KB
  • API.md8.6 KB
  • CHANGELOG.md1.8 KB
  • CLAUDE.md4.9 KB
  • CONTRIBUTING.md4.2 KB
  • PLAN-launch-content.md10.9 KB
  • PLAN-social-intelligence-upgrade.md26.8 KB
  • PLAN-v2-skills-expansion.md12.4 KB
  • QUICKSTART.md5.1 KB
  • SKILL.md3.3 KB
  • VERSION6 B
  • docs/AGENT-SOURCE-OF-TRUTH.md6.9 KB
  • docs/affiliate-funnel-overview.md3.1 KB
  • docs/distribution-strategy.md13.7 KB
  • docs/sdd-review-prompt.md12.3 KB
  • docs/skill-roadmap.md6.8 KB
  • drafts/devto-v1.2.md5.4 KB
  • drafts/hn-v1.2.md2.2 KB
  • drafts/linkedin-v1.2.md1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in data-ai →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.