/claude-ads:ads-next [show | compare | walk]from claude-ads
Reads audit results, ranks Quick Wins and Critical Issues by impact times ease using the user's spend mix, surfaces top 3 next actions, detects regressions, and optionally walks through fixing the top issue.
Ships in claude-ads. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
/ads next turns audits into a stream of small, ordered, verified actions.
It's the second half of the seguimiento loop: /ads start connects, /ads audit measures, /ads next coaches.
| Arg | Behavior |
|---|---|
| (none) | Default — Discover → Rank → Top 3 → offer to walk through #1. |
show | Discover → Rank → print top 10 → exit (no walk-through prompt — good for client reports). |
compare | Print full delta between the two most-recent audits per platform via python3 scripts/profile.py compare <p>. |
walk | Skip the prompt — go straight to walking the user through the top action. |
python3 scripts/profile.py get — if exit 2,
suggest /ads start and exit (a coach with no context is just guessing)./ads start Phase C.3./ads audit or platform-specific) and
exit.Search for *-audit-results.json files in this order, newest first:
<cwd> — current working directory. Glob *-audit-results.json.~/.claude-ads/history/ — the persistent log. Read
~/.claude-ads/history/index.json and resolve files for the most recent
audit per platform.Validate each file:
platform, health_score, checks.platform must be one of meta, google, tiktok.If a file fails validation, skip it and print a single WARNING: skipped <path> (<reason>) line. Don't abort the run.
If zero valid audits found but python3 scripts/conciencia.py list
returns active campaigns, skip to Phase 3 with only the CON-* items.
If zero valid audits found and no awareness files:
No audits yet. Run one first:
/ads audit — full multi-platform
/ads <meta|google|tiktok> — single platform deep-dive
Then exit.
For each audit file discovered in cwd that is NEWER than the most recent
entry for that platform in ~/.claude-ads/history/index.json (compare
generated_at), copy it to history via:
python3 scripts/profile.py save-audit <path>
This is what builds the multi-session memory — every audit run from anywhere on disk eventually ends up in the history index.
Pool every quick_win, every critical_issue, and every check with
result in (FAIL, WARNING) across all valid audits. Deduplicate by
(platform, check_id) — if a check appears in both critical_issues and
checks, treat as one item using the critical metadata.
For each item, compute an impact score:
severity_weight = { critical: 5.0, high: 3.0, medium: 1.5, low: 0.5 }[severity]
effort_inverse = 1 / (fix_time_minutes + 1) # default fix_time = 30 if null
budget_share = platform_budget_share(platform) # see below
impact = severity_weight × effort_inverse × budget_share × 100
platform_budget_share — derive from the user's profile + audit
account_id presence:
1 / n baseline. Then bump the platform
that the user spends most on (use monthly_spend_usd ÷ platform count as
the rough prior; if the user has set per-platform spend in the future,
use that instead) by +0.1 (cap at 0.8).Business-outcome items (from /ads conciencia). Run
python3 scripts/conciencia.py list, then show <key> for each active
offline campaign, and add these items to the pool (platform = the campaign's
platform, check_id = CON-<rule>; rules and wording in
ads/references/conciencia.md):
| Rule | Condition (cumulative metrics) | severity | fix_time |
|---|---|---|---|
CON-LOSS | cost_per_close > campaign ticket_value | critical | 30 |
CON-JUNK | junk_rate > 0.5 | high | 30 |
CON-DROP | trend.close_rate < 0 and latest close_rate < half the previous | high | 30 |
CON-GAP | platform_vs_real < 0.6 | medium | 30 |
CON-BLIND | campaign registered with 0 check-ins, or a lead/message campaign in an audit with no awareness file | low | 5 |
Each finding cites the numbers and the check-in count, e.g. "% basura 62 %
(31 / 50 conversaciones, 2 check-ins)". Never create a CON-* item from a
null metric other than CON-BLIND.
Sort all items by impact descending.
For each platform with ≥2 audits in history, run:
python3 scripts/profile.py compare <platform>
Inspect the JSON output:
score_delta < -5 → PRIORITY 0 alert appended at the top of the
ranked list. Format:
⚠ <Platform> health dropped from <prev>/100 (<prev_grade>) → <new>/100 (<new_grade>) since your last audit.
New issues: <comma list of new_issues>
Resolved: <comma list of resolved_issues>
score_delta > +5 → success line at the very bottom of the output:
🎉 <Platform> health improved <delta>+ points since last audit. Keep going.
Regressions take precedence over normal Quick Wins. They appear ABOVE the Top 3 list, with their own header.
Default subcommand prints:
Next actions (ranked by impact × ease for your $XXX/mo across <platforms>):
1. [<platform> · <check_id> · <severity>] <name>
Finding: <finding>
Recommendation: <recommendation>
Estimated fix: <fix_time_minutes> min · Impact: <impact rounded>
Reference: <reference file if known, e.g. tracking-meta.md>
2. [...]
3. [...]
(Run `/ads next show` to see the top 10. `/ads next compare` for full audit delta.)
If show subcommand: print top 10 instead, no prompt, exit.
walk subcommands)AskUserQuestion:
"Want me to walk you through fixing #1 right now?"
Options: Yes — step by step · Show me #2 instead · Exit, I'll handle it.
On Yes:
Determine the reference file for this check_id based on its platform and category. Lookup table:
| Platform | Category prefix | Reference file |
|---|---|---|
| meta | Tracking / Pixel / CAPI | tracking-meta.md |
| meta | Creative / fatigue | meta-audit.md (Creative section — covers M28 fatigue) |
| meta | Structure / Budget | meta-audit.md |
| Tracking / Conversion | tracking-google.md | |
| Bidding / Structure | google-audit.md | |
| Quality Score / Keywords | google-audit.md | |
| tiktok | Tracking / Events API | tracking-tiktok.md |
| tiktok | Creative / Spark | tiktok-audit.md |
| tiktok | Structure | tiktok-audit.md |
| any | CON-* (business outcome) | conciencia.md (reading table) — CON-BLIND walks through /ads conciencia registrar |
If no reference matches, use the check's own recommendation field as
the only source.
Step-by-step loop (same pattern as /ads start Phase C.3):
AskUserQuestion: Done — verify now · Hit an error · Pause.Done: run the verification (re-call the relevant MCP tool / API
script) and confirm the check now passes. If it does → ✓, move to
step 2. If not → diagnose, retry.After the action, ask if the user wants to proceed to action #2.
On Show me #2 instead: re-enter Phase 6 with index 2.
On Exit: print:
Run
/ads auditafter you've fixed this to update your score, then/ads nextagain for the new top 3.
At the end:
python3 scripts/profile.py set last_command "/ads next"
python3 scripts/profile.py set last_command_at "$(date -u +%FT%TZ)"
The history index updates itself when /ads audit runs next — /ads next
itself doesn't add to history (it only reads + acts).
/ads next compare)For each platform with ≥2 history entries:
python3 scripts/profile.py compare <platform>
Print the full diff for each: score delta, grade change, new issues, resolved issues, file timestamps. No ranking, no walk-through prompt — this is the audit changelog view.
/ads start, exit./ads audit, exit./ads next walk later" and ask whether
to try #2./ads next produces NO files. It is purely interactive coaching plus
side-effects on ~/.claude-ads/history/ (via save-audit) and the profile's
last_command* fields. It reads ~/.claude-ads/conciencia/ but never writes
check-ins — that is /ads conciencia's job.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hainrixz/claude-ads --plugin claude-ads21 skills in this plugin
/adsFree-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./ads-auditFull multi-platform paid advertising audit with parallel subagent delegation. Analyzes Google Ads, Meta Ads, LinkedIn Ads, TikTok Ads, and Microsoft Ads accounts. Generates health score per platform and aggregate score. Use when user says audit, full ad check, analyze my ads, account health check, or PPC audit./ads-budgetBudget allocation and bidding strategy review across all ad platforms. Evaluates spend distribution, bidding strategy appropriateness, scaling readiness, and identifies campaigns to kill or scale. Uses 70/20/10 rule, 3x Kill Rule, and 20% scaling rule. Use when user says budget allocation, bidding strategy, ad spend, ROAS target, media budget, or scaling./ads-competitorCompetitor ad intelligence analysis across Google, Meta, LinkedIn, TikTok, Microsoft, and Apple Ads. Analyzes competitor ad copy, creative strategy, keyword targeting, estimated spend, and identifies competitive gaps and opportunities. Use when user says competitor ads, ad spy, competitive analysis, competitor PPC, or ad intelligence./ads-concienciaCampaign awareness (conciencia de campaña). Tracks what Claude knows and does NOT know about the real business outcome of lead / WhatsApp / form / call campaigns — results the pixel can't see. Registers campaigns, runs dated check-ins asking the user how many real conversations, qualified leads, closed customers, revenue and junk contacts arrived, cross-references them with platform clicks/messages/spend, and computes the real close rate, cost per closed customer and junk rate. Writes conciencia-de-campana.md. Use when user says conciencia, did it work, closed customers, lead quality, junk leads, ¿me funcionó?, ¿me trajo clientes?, cerré clientes, llegaron mensajes, calidad de leads, leads basura, cuántos cerré./ads-createCampaign concept and copy brief generator for paid advertising. Reads brand-profile.json and optional audit results to produce structured campaign concepts, messaging pillars, and copy briefs. Outputs campaign-brief.md to the current directory. Run after /ads dna and before /ads generate. Triggers on: create campaign, campaign brief, ad concepts, write ad copy, campaign strategy, ad messaging, creative brief, generate concepts.Other plugins' skills for the same job