Compliance checker

From InugamiDev/ultrathink-oss · View interactive version

Compliance checker is an AI agent skill from the GitHub repository InugamiDev/ultrathink-oss. Check affiliate content for FTC compliance and platform rules. Triggers on: "check my content for compliance", "FTC disclosure check", "is this legal", "review for compliance", "check affiliate disclosure", "am I FTC compliant", "audit my content", "compliance review", "legal check", "platform rules

How to use this skill

Skill file

Compliance Checker

Audit affiliate content for FTC compliance, platform-specific rules, and legal requirements. Checks disclosure placement, prohibited claims, endorsement guidelines, and platform policies. Output is a compliance scorecard with issues, severity, and fix suggestions.

Stage

S8: Meta — The FTC has fined affiliates $4.2M+ for undisclosed endorsements. One missing disclosure can result in legal action, platform bans, or program termination. This skill is the safety net — run it on any content before publishing to catch compliance issues before they become problems.

When to Use

Input Schema

content: string                # REQUIRED — the content to check (text, markdown, or HTML)

content_type: string           # REQUIRED — "social_post" | "blog" | "landing_page"
                               # | "email" | "ad" | "video_script"

platform: string               # OPTIONAL — "linkedin" | "twitter" | "reddit" | "facebook"
                               # | "tiktok" | "youtube" | "google_ads" | "pinterest"
                               # Platform-specific rules applied if provided

claims:                        # OPTIONAL — specific claims to verify
  - string                     # e.g., ["earn $10K/month", "guaranteed results"]

Chaining context: If content was produced by S2-S5 or S7 in the same conversation, pull it directly. The user should not have to paste content that was just generated.

Workflow

Step 1: Detect Affiliate Links

Scan content for:

Step 2: Check FTC Disclosure

Read shared/references/ftc-compliance.md for rules. Check:

Step 3: Check Prohibited Claims

Scan for:

Step 4: Check Platform Rules

If platform is provided, apply platform-specific rules:

Step 5: Score and Report

Rate compliance on three levels:

Step 6: Generate Fixes

For each issue, provide:

Output Schema

compliance:
  overall_score: string        # "PASS" | "WARN" | "FAIL"
  disclosure_present: boolean
  disclosure_placement: string # "correct" | "needs_improvement" | "missing"
  prohibited_claims: number    # count of issues found
  platform_issues: number      # count of platform-specific issues

issues:
  - severity: string          # "critical" | "warning" | "info"
    category: string          # "disclosure" | "claims" | "platform" | "formatting"
    description: string       # what's wrong
    quote: string             # the problematic text
    fix: string               # suggested replacement

corrected_content: string      # full content with all fixes applied

Output Format

  1. Compliance Scorecard — overall score, disclosure status, issue counts
  2. Issues Found — table with severity, category, description, and fix
  3. Corrected Content — the full content with all issues fixed (copy-paste ready)
  4. Platform Notes — any platform-specific requirements not yet addressed

Error Handling

Examples

Example 1: Social post with missing disclosure

User: "Check this tweet: 'Just tried HeyGen and it's incredible for creating AI videos. Use my link to get 10% off: heygen.com/ref/abc123'"

Action: FAIL — no FTC disclosure. Fix: Add #ad before or after the link. Output corrected tweet with disclosure.

Example 2: Blog post with buried disclosure

User: [Pastes a 1000-word blog review with disclosure only in the footer]

Action: WARN — disclosure present but buried at bottom. Fix: Move disclosure to opening paragraph. Also check for income claims, link attributes (rel="nofollow sponsored").

Example 3: Facebook ad with income claim

User: "Check this ad: 'I made $5,000 last month with this one tool. You can too! Click here to start earning.'"

Action: FAIL — (1) income claim without typicality disclaimer, (2) no FTC disclosure, (3) Facebook requires Paid Partnership label. Output fixes for all three issues.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.