full-marketing-audit
БесплатноБез исполняемых скриптовНе проверенTriggers on the "Full Marketing Audit" onboarding card OR phrases like "audit my account / agency / Google / Meta / what's wasting spend". Three phases — A…
от tekliner★ 17 звёзд на GitHubОб этом скилле
Full Marketing Audit — UC-AU-1
Paid-media audit. Read-only. Output: an audit-paper-styled dashboard that persists in the workspace "Dashboards" menu and auto-opens in the canvas. Total wall-clock ≤ 90 s.
Trigger
selectedUseCase === 'full-marketing-audit', OR- "audit my account / agency / [Google/Meta/LinkedIn/TikTok/Reddit/TTD]", "what's wasting spend".
Onboarding Dispatch — Company Personalization
If the message carries an alg-prebrief fenced block, and it contains a company_research: line, tailor exactly ONE headline/intro sentence in the chat hand-off to this company — always hedged ("looks like…"), never as a fact. If absent, proceed generically.
Customer-visibility rules
- Status pills: FAIL / WARN / PASS / BLOCKED only.
- Dollars: monthly, formatted
$1,234/$12.4K/$1.2M. - No process narration in chat. No tier vocabulary. No LLM jargon. Rule IDs only inside the dashboard card heading, not in chat.
- Every finding has
$-at-risk_monthly > 0AND one concrete next step. No-dollar findings are dropped.
Idempotence rules (MANDATORY)
- Pin
audit_window_start_utcat Phase A start:(now_utc − 30 days)truncated to date00:00:00 UTC. Reuse this exact value everywhere downstream. NEVER calltoday()/now()again. - Quantize
account_spend_30dto the nearest $100 before computing FAIL/WARN cutoffs. - Cap exactly 12 FAIL+WARN findings. PASS and BLOCKED are not capped.
- Sort by 6-key tuple:
(status_rank ASC, dollars_at_risk_monthly DESC, rule_id ASC, client ASC, source ASC, entity_id ASC)wherestatus_rank = 0:FAIL, 1:WARN, 2:PASS, 3:BLOCKED. - Tier 3 hypotheses are deterministic, no LLM judgment — H1 spend concentration, H2 zero-conv floor, H3 audience overlap (Meta/LinkedIn only), H4 CPA regression, H5 spend-tier edge. Per-platform formulas live in
playbooks/{platform}.md.temperature=0. - Vertical detection is informational only — never an input to severity.
Pre-flight rules for ALL Discovery API calls (CRITICAL — promoted from per-platform playbooks)
These rules apply BEFORE any Phase-A or Phase-B discoveryRequestTool invocation. They are the orchestrator-level contract; per-platform playbooks may not override them. Failures observed in 2026-05 production sessions — see Common failures § "v3.x bugs that motivated this section".
Discovery API dataSource slug — exact strings
The dataSource parameter must match Improvado's connector slug, NOT the platform's marketing name. Wrong slug → 404 / empty response.
| Platform | dataSource value |
Common wrong guess |
|---|---|---|
| Google Ads | google_ads_ql |
google_ads, googleads, gads |
| Meta (Facebook/Instagram) | facebook |
meta, facebook_ads, fb |
| LinkedIn Ads | linkedin_ads |
linkedin (organic, different connector) |
| TikTok Ads | tiktok_ads |
tiktok (organic) |
| Reddit Ads | reddit |
reddit_ads (returns 400 DataSource with this name does not exist on montana — ALWAYS use reddit) |
| The Trade Desk | the_trade_desk_api |
ttd, the_trade_desk |
Per-platform API version (verified live 2026-05; iterate on 404)
| Platform | URL pattern | Current version | Iteration on 404 |
|---|---|---|---|
| Google Ads | https://googleads.googleapis.com/{V}/customers/{cid}/googleAds:searchStream (POST + GAQL body) |
v20 | v20 → v19 → v18, stop at first 200. Versions sunset every ~6 months; never hardcode. |
| Meta | https://graph.facebook.com/{V}/{node}/... |
v23.0 | v23.0 → v22.0 → v21.0; check Meta changelog quarterly. |
https://api.linkedin.com/rest/... + header LinkedIn-Version: {V} |
202604 | Bump month-by-month; rolling 6-month window. | |
| TikTok | https://business-api.tiktok.com/open_api/{V}/... |
v1.3 | Stable; v1.3 has been live for 18 months. |
| The Trade Desk | https://api.thetradedesk.com/{V}/... |
v3 | Stable. |
listDatasourcesTool pagination contract
ALWAYS issue the first call with pageSize=50, page=1 (NOT the default pageSize=10). Mixing page sizes across calls creates a gap — a 2026-05 session bug surfaced when the agent did pageSize=10 first, then page=2, pageSize=50 (interpreted as items 51-100), missing linkedin_ads at position 20 in items 11-50. Result: agent told the user "LinkedIn Ads doesn't exist in your catalog" when it did. Use a single consistent pageSize=50 from page 1 onward.
N≥3 variation rule before BLOCKED (extends Phase A.4 anti-fabrication)
A single 4xx / 5xx is NOT proof a tool or endpoint is unavailable. Before declaring BLOCKED for any platform or check, attempt at least three variations along distinct axes:
- Slug — try the canonical slug AND any common alias (e.g.
google_ads_ql→google_ads). - Version — iterate down 2 versions (Google Ads especially; see table above).
- HTTP shape — try GET vs POST, query params vs JSON body, single-account vs account-list endpoint.
Document the
Установить full-marketing-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл full-marketing-audit?
Triggers on the "Full Marketing Audit" onboarding card OR phrases like "audit my account / agency / Google / Meta / what's wasting spend". Three phases — A connection check + heal (Discovery API only), B parallel per-channel audits (each loads only its own playbook), C synthesis via a single-custom-component-widget pattern. Idempotent — same `(workspace_id, audit_window_start_utc, '4.0.0')` triple → identical findings.
Как установить скилл full-marketing-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл full-marketing-audit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic