agentleFS
0-shiv0-shiv/secondstep-claude-skills/skills/tiktok-ads-claude/CLAUDE.md

secondstep-claude-skills / tiktok-ads-claude

CLAUDE.md2 starsChanged 9 months agoMITView on GitHub

A Claude Code skill for TikTok Ads campaign management. Provides 8 slash commands (/tt audit, /tt creative, /tt spark, /tt shop, /tt targeting, /tt bidding, /tt pixel, /tt report) that help performance marketers analyze and optimize TikTok advertising campaigns. TikTok CPM is 50-70% cheaper than Meta. This skill audits campaigns, scores creatives, optimizes Spark Ads & TikTok Shop, and validates pixel tracking.

The file

We split this CLAUDE.md into the rules it gives an agent

9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Keep SKILL.md files focused and under 500 lines

    line 71
  2. Very specific:

    Use ATX-style headers (# not ===)

    line 72
  3. Distinctive:

    Always reference TikTok platform benchmarks when analyzing performance

    line 76
  4. Distinctive:

    Use traffic light system in outputs: GREEN (good), YELLOW (needs attention), RED (urgent fix)

    line 77
  5. Very specific:

    Create a new directory under skills/ (e.g., skills/tt-newcommand/)

    line 90
  6. Very specific:

    Add SKILL.md with proper YAML frontmatter

    line 91
  7. Very specific:

    Update the routing table in tiktok/SKILL.md

    line 92
  8. Distinctive:

    Update README.md command table

    line 93
  9. Very specific:

    Update install.sh verification list

    line 94

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md -- TikTok Ads Claude Skill

Project Overview

A Claude Code skill for TikTok Ads campaign management. Provides 8 slash commands (/tt audit, /tt creative, /tt spark, /tt shop, /tt targeting, /tt bidding, /tt pixel, /tt report) that help performance marketers analyze and optimize TikTok advertising campaigns.

TikTok CPM is 50-70% cheaper than Meta. This skill audits campaigns, scores creatives, optimizes Spark Ads & TikTok Shop, and validates pixel tracking.

Architecture

tiktok-ads-claude/
├── tiktok/SKILL.md              # Main orchestrator & command router
├── skills/                       # 8 sub-skills (one per /tt command)
│   ├── tt-campaign-audit/        # /tt audit  -- campaign structure analysis
│   ├── tt-creative-scoring/      # /tt creative -- creative quality scoring
│   ├── tt-spark-ads/             # /tt spark -- Spark Ads optimization
│   ├── tt-shop-campaigns/        # /tt shop -- TikTok Shop & GMV Max
│   ├── tt-targeting/             # /tt targeting -- audience targeting
│   ├── tt-bidding/               # /tt bidding -- bid strategy & learning phase
│   ├── tt-pixel-events/          # /tt pixel -- Pixel & Events API
│   └── tt-report/                # /tt report -- report generation
├── agents/                       # 3 parallel agents
│   ├── tt-creative.md            # Creative analysis agent
│   ├── tt-performance.md         # Performance optimization agent
│   └── tt-tracking.md            # Tracking & attribution agent
├── scripts/                      # Python utilities
│   ├── creative_scorer.py        # Creative quality scoring engine
│   ├── pixel_validator.py        # Pixel health checker
│   └── generate_tt_report.py     # Report generator
├── docs/                         # Documentation
│   ├── INSTALLATION.md
│   ├── COMMANDS.md
│   ├── ARCHITECTURE.md
│   └── TROUBLESHOOTING.md
├── assets/                       # Static assets (images, templates)
├── install.sh                    # One-command installer
├── uninstall.sh                  # Clean uninstaller
└── requirements.txt              # Python dependencies

How It Works

  1. User types a /tt command in Claude Code
  2. tiktok/SKILL.md routes to the appropriate sub-skill
  3. Sub-skill provides domain-specific prompts, benchmarks, and analysis framework
  4. For complex audits, parallel agents handle creative, performance, and tracking analysis
  5. Python scripts provide quantitative scoring and validation

Key Commands

# Run Python scripts
python3 scripts/creative_scorer.py
python3 scripts/pixel_validator.py
python3 scripts/generate_tt_report.py

# Run tests
pytest

# Install the skill
bash install.sh

# Uninstall
bash uninstall.sh

Development Rules

  • Each sub-skill SKILL.md must have YAML frontmatter with name, description, allowed-tools
  • Keep SKILL.md files focused and under 500 lines
  • Use ATX-style headers (# not ===)
  • Tables use pipe syntax with alignment
  • Python scripts follow PEP 8 with type hints and docstrings
  • Directory names use kebab-case (e.g., tt-campaign-audit)
  • Always reference TikTok platform benchmarks when analyzing performance
  • Use traffic light system in outputs: GREEN (good), YELLOW (needs attention), RED (urgent fix)

Key Benchmarks

MetricAverageGoodExcellent
CPM$5.00< $5< $3.50
CPC$0.80< $0.80< $0.40
CTR0.80%> 1.0%> 1.5%
CVR0.70%> 0.8%> 1.2%

Adding a New Command

  1. Create a new directory under skills/ (e.g., skills/tt-newcommand/)
  2. Add SKILL.md with proper YAML frontmatter
  3. Update the routing table in tiktok/SKILL.md
  4. Update README.md command table
  5. Update install.sh verification list

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.