Skip to content

Hainrixz/claude-ads / ads

Free-first paid advertising audit and optimization skill, focused on the 3 platforms where 95% of advertiser spend lives: Meta, Google, TikTok. Guided onboarding (/ads start) saves context once and step-by-step OAuth walkthroughs; continuous coach (/ads next) ranks Quick Wins after each audit. ~158 weighted checks with scoring, parallel agents, industry templates, and AI creative generation.

FileKindSize
SKILL.mdskill md18.6 KB
references/additional-platforms.mdmarkdown3.6 KB
references/audit-history-schema.jsonconfig2.5 KB
references/audit-methodology.mdmarkdown4.3 KB
references/audit-output-schema.jsonconfig4.9 KB
references/benchmarks-cross.mdmarkdown1003 B
references/benchmarks-google.mdmarkdown1.6 KB
references/benchmarks-social.mdmarkdown2.6 KB
references/benchmarks.mdmarkdown929 B
references/bidding-google.mdmarkdown5.2 KB
references/bidding-meta.mdmarkdown1.8 KB
references/bidding-strategies.mdmarkdown989 B
references/bidding-tiktok.mdmarkdown2.0 KB
references/brand-dna-template.mdmarkdown6.9 KB
references/budget-allocation.mdmarkdown5.8 KB
references/compliance-changes-2025-2026.mdmarkdown2.5 KB
references/compliance-platforms.mdmarkdown3.6 KB
references/compliance-privacy.mdmarkdown3.1 KB
references/compliance.mdmarkdown1.6 KB
references/conciencia-schema.jsonconfig5.3 KB
references/conciencia.mdmarkdown5.2 KB
references/conversion-tracking.mdmarkdown1.2 KB
references/copy-frameworks.mdmarkdown8.9 KB
references/gaql-notes.mdmarkdown2.8 KB
references/google-audit-notes.mdmarkdown3.9 KB
references/google-audit.mdmarkdown12.5 KB
references/google-changelog-30d.mdmarkdown3.6 KB
references/google-creative-specs.mdmarkdown3.7 KB
references/image-providers.mdmarkdown4.9 KB
references/mcp-integration.mdmarkdown5.7 KB
references/mcp-meta-integration.mdmarkdown5.8 KB
references/meta-audit.mdmarkdown12.4 KB
references/meta-changelog-30d.mdmarkdown4.0 KB
references/meta-creative-specs.mdmarkdown4.5 KB
references/platform-specs-cross.mdmarkdown1.3 KB
references/platform-specs.mdmarkdown799 B
references/profile-schema.jsonconfig4.5 KB
references/scoring-system.mdmarkdown6.1 KB
references/setup-google.mdmarkdown7.1 KB
references/setup-meta-developers.mdmarkdown4.7 KB
references/setup-meta.mdmarkdown7.0 KB
references/setup-tiktok.mdmarkdown5.2 KB
references/setup-zernio.mdmarkdown4.5 KB
references/tiktok-audit.mdmarkdown10.1 KB
references/tiktok-changelog-30d.mdmarkdown3.5 KB
references/tiktok-creative-specs.mdmarkdown4.8 KB
references/tracking-cross.mdmarkdown1.5 KB
references/tracking-google.mdmarkdown2.8 KB
references/tracking-meta.mdmarkdown2.4 KB
references/tracking-tiktok.mdmarkdown1.5 KB
references/update-cost-warning.mdmarkdown2.0 KB
references/voice-to-style.mdmarkdown3.9 KB
research-sources/README.mdmarkdown883 B
research-sources/claude-research.mdmarkdown3.9 KB
research-sources/gemini-research.mdmarkdown10.2 KB
research-sources/google-audit-checklists.mdmarkdown25.9 KB
research-sources/google-optimization-logic.mdmarkdown11.9 KB
research-sources/google-platform-specs.mdmarkdown16.6 KB

references/audit-methodology.md

View on GitHub
# Audit Methodology — Shared Process Across Platforms

> Every platform-specific audit (ads-google, ads-meta, ads-tiktok) follows the
> same skeleton. This file is the source of truth for that skeleton. Platform
> SKILL.md files declare only what is *different* — data collection method,
> check list, unique thresholds, output sections.

## The 7-Step Audit Process

1. **Collect data.** Platform-specific. Prefer the MCP-first pattern when available (see `mcp-integration.md`); fall back to exports/screenshots/manual input otherwise. Record the actual source in the JSON output's `data_source` field (`"mcp" | "export" | "screenshot" | "manual" | "mixed"`).
2. **Read the platform audit checklist** (`<platform>-audit.md` in this directory).
3. **Read the benchmarks** (`benchmarks.md`). If the platform supports live MCP benchmarks (e.g. Meta `ads_insights_industry_benchmark`), prefer those for the current vertical and record `evidence.benchmark_source` accordingly.
4. **Evaluate every applicable check** as `PASS`, `WARNING`, `FAIL`, or `N/A`. Use `N/A` only when the relevant data was not obtainable (not as a way to hide failures).
5. **Calculate category scores** using the per-platform weights documented in `scoring-system.md`. Severity multipliers and WARNING-half-credit rules are also defined there.
6. **Identify Quick Wins.** Any check with severity `critical` or `high` AND `fix_time_minutes ≤ 15` qualifies. Sort by impact.
7. **Emit dual output** — both required:
   - `<platform>-audit-results.json` validating against `audit-output-schema.json` (machine-readable; consumed by the `/ads audit` orchestrator).
   - `<platform>-audit-results.md` human-readable, with health score, category breakdown, per-check table, Quick Wins, and platform-specific deliverables.

The orchestrator (`ads/SKILL.md`) parses the JSON files in step 5 of its own pipeline. If a JSON is missing or fails schema validation, aggregation halts — do not silently combine partial markdown.

## Check ID Convention

All check identifiers are stable strings that encode the platform/family in the first letter(s):

| Prefix | Domain |
|--------|--------|
| `G` | Google Ads (includes YouTube video campaigns) |
| `M` | Meta Ads |
| `T` | TikTok Ads |
| `X` | Cross-platform |

Two formats are valid:

- **Sequential** (`G01`, `M14`, `T05`) — original v1.0 numbering.
- **Hyphenated** (`G-AI1`, `M-AN1`, `X-PI1`) — categorical additions where the suffix encodes a sub-theme.

Both match the JSON-schema regex `^[A-Z]+(-[A-Z]+)?-?[A-Z0-9]+$`.

## Scoring

See `scoring-system.md` for:

- The full weighted scoring formula.
- Severity multipliers (`critical: 5.0`, `high: 3.0`, `medium: 1.5`, `low: 0.5`).
- Result point values (`PASS: full`, `WARNING: 50%`, `FAIL: 0`, `N/A: excluded`).
- Per-platform category weights.
- Grading thresholds (A 90+, B 75+, C 60+, D 40+, F <40).
- Cross-platform aggregation by budget share.

Business outcomes the platform can't see (closed customers, lead quality on WhatsApp / form / call campaigns) are `N/A` unless the user reported them via `/ads conciencia` — never assumed. See `conciencia.md`.

Platform SKILL.md files MUST NOT redefine these formulas. They MAY restate weight percentages alongside category names for readability — but those are presentation duplicates, not the source of truth.

## MCP-First Rule

If the platform has a documented MCP integration (currently Meta via the
`mcp__claude_ai_Facebook__*` server; see `mcp-integration.md`), the audit agent
must check for an `<platform>_account_id` first and use MCP tools when present.
This is not optional — it is the canonical pattern that future platform
integrations (Pinterest, Reddit, X, etc.) will inherit.

The agent's frontmatter must list each `mcp__server__tool` it intends to call.
Adding a new MCP tool requires editing the agent file, not run-time discovery.

## Output Schema

Reference: `audit-output-schema.json`. Required fields: `platform`, `version`, `health_score`, `grade`, `category_scores`, `checks`. Recommended fields: `data_source`, `account_id`, `quick_wins`, `critical_issues`, `evidence` (per-check structured evidence including MCP responses).

When a check is `N/A`, include it in the `checks` array with a `finding` explaining *why* it could not be evaluated. This preserves audit completeness and helps diagnose data-collection gaps.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall