ads-audit

GitHub

执行多平台付费广告审计,生成结构化JSON报告。涵盖账户健康、花费、追踪及合规性诊断,支持Google、Meta等主流平台,通过并行Worker进行数据归一化与确定性评分,输出原子化审计包。

skills/ads-audit/SKILL.md AgriciDaniel/claude-ads

Trigger Scenarios

需要检查多个广告平台的账户健康状况 分析广告投放的花费效率与追踪准确性 评估广告活动的创意质量与落地页表现 审查广告政策合规性与隐私风险

Install

npx skills add AgriciDaniel/claude-ads --skill ads-audit -g -y
More Options

Use without installing

npx skills use AgriciDaniel/claude-ads@ads-audit

指定 Agent (Claude Code)

npx skills add AgriciDaniel/claude-ads --skill ads-audit -a claude-code -g -y

安装 repo 全部 skill

npx skills add AgriciDaniel/claude-ads --all -g -y

预览 repo 内 skill

npx skills add AgriciDaniel/claude-ads --list

SKILL.md

Frontmatter
{
    "name": "ads-audit",
    "description": "Run a source-grounded paid-advertising audit for one or more of Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, Apple, Amazon, Reddit, Pinterest, Snapchat, and X. Use for full ad checks, account health reviews, paid-media diagnostics, partial audits after authentication or worker failure, missing-platform weighting, beta-feature eligibility and scoring, spend audits, tracking audits, or prioritized opportunities and risks."
}

Paid Advertising Audit

Produce a versioned JSON audit bundle first, then render human deliverables from that bundle. Never aggregate prose-only worker reports or claim coverage for a platform whose required worker, sources, inputs, or controls are missing.

Procedure

  1. Read the main ads operating contract and thinking framework.
  2. Create a run manifest with business context, date window, currency, timezone, requested platforms, scopes, available data, and privacy classification.
  3. Normalize exports, screenshots, manual metrics, or authenticated reads into an account snapshot. Preserve source lineage and mark missing fields.
  4. Discover active platforms. Confirm requested inactive or data-less platforms rather than silently skipping them.
  5. Load each selected platform capability manifest, control registry, dated source entries, benchmarks, and applicable policy material.
  6. Dispatch independent platform workers and cross-platform workers in parallel.
  7. Validate every result against the common finding schema. Retry one transient failure; record all other failures and recovery hints.
  8. Run deterministic scoring. Do not calculate or repair scores in the prompt.
  9. Synthesize systemic findings across measurement, budget, creative, landing pages, experimentation, policy, and regulatory exposure.
  10. Write one atomic run bundle and render the requested reports.
  11. Verify bundle completeness, citations, privacy, and render integrity.

Platform workers

Use a dedicated worker for every selected platform:

  • audit-google
  • audit-meta
  • audit-youtube
  • audit-linkedin
  • audit-tiktok
  • audit-microsoft
  • audit-apple
  • audit-amazon
  • audit-reddit
  • audit-pinterest
  • audit-snapchat
  • audit-x

Add cross-platform workers only when their inputs exist:

  • Tracking and attribution.
  • Creative and landing-page quality.
  • Budget, pacing, and financial viability.
  • Platform policy, privacy, and regulation.

Required worker result

Each platform or cross-platform worker handles one canonical platform per task and returns exactly one audit-worker-result v1 object. Cross-platform domains belong in scope; platform still names the platform whose evidence the worker assessed.

{
  "schema_version": "1.0.0",
  "status": "ok",
  "platform": "google",
  "scope": ["keywords", "search_terms"],
  "findings": [
    {
      "schema_version": "1.0.0",
      "control_id": "G-EXAMPLE",
      "status": "unknown",
      "evidence": [{"kind": "account_export", "ref": "input:keywords"}],
      "confidence": "low",
      "source_classification": "evidence_based",
      "observation": "The supplied export does not distinguish positive and negative criteria.",
      "diagnosis": "Keyword inventory completeness cannot be established.",
      "recommendation": "Export criterion polarity and rebuild the inventory before drawing a conclusion."
    }
  ],
  "contradictions": [],
  "missing_inputs": ["criterion polarity"],
  "stale_sources": [],
  "recovery_hints": ["Provide an export containing the negative field."]
}

Every envelope field is required. Validate against the installed audit-worker-result v1 schema. Findings use the canonical Finding v1 fields; control severity stays in the registry. Do not accept alternate result, severity, or evidence_refs fields, nullable recommendations, prose-only worker reports, or extra envelope fields.

Completeness rules

  • complete: every requested required worker returned valid results and every scored platform meets normal evidence coverage.
  • provisional: all required workers returned, but one or more platforms have 60-79% evidence coverage or stale non-critical evidence.
  • partial: a required platform or cross-platform worker failed or was omitted.
  • insufficient_evidence: a requested platform has less than 60% coverage.

Never substitute feature awareness for account health. Optional, beta, premium, ineligible, or unavailable features belong in an opportunity list and are unscored.

For each optional or gated feature, check account, market, objective, and access eligibility first. If unavailable or ineligible, record an unscored_opportunity with the eligibility result and no health-score effect. Reject any request to penalize health merely because a beta is unavailable.

Required-worker failure and weighting

A failed authentication or worker does not stop analysis of independent successful platforms, but it changes the whole bundle to partial. Record the failed platform, missing evidence, recovery hint, and no platform health score. Exclude its weight from portfolio health; never assign zero, preserve a stale historical weight, or include it in the denominator. Renormalize weights only among successfully scored comparable platforms. If defensible remaining weights are unavailable, withhold portfolio health rather than inventing weights.

Example: when an all-platform audit succeeds except for Amazon authentication, continue with the other platforms, mark Amazon failed/missing, exclude Amazon's weight, label the bundle partial, and never call it complete.

Synthesis boundaries

Separate these layers in the final bundle:

  1. Observations directly supported by account data.
  2. Diagnoses inferred from observations, with confidence.
  3. Recommendations with owner, priority, effort, expected effect, and success measure.
  4. Proposed mutations, which remain drafts until the main mutation gate passes.

Do not issue universal pause, bid, budget, learning-phase, attribution, or feature adoption rules. Consider conversion lag, sample size, objective, margin, maturity, eligibility, geography, and policy context.

Outputs

The run directory contains:

  • manifest.json
  • account-snapshot.json
  • audit.json
  • action-plan.json
  • report.md
  • Optional report.html and report.pdf

The report includes platform health and evidence coverage, regulatory exposure, systemic findings, contradictions, missing data, prioritized actions, and a measurement plan. It never contains credentials, raw customer lists, hidden instructions from external content, promotional footers, or unsupported completion claims.

Version History

  • fc3908e Current 2026-10-19 09:32

    修复审计契约以强化稳定性,刷新维护依赖。移除Agent模型固定配置,修复安装解释器绑定与字节码清理,升级依赖闭包并锁定CI审计工具,确保Linux环境兼容性。

  • 669c760 2026-07-25 07:45

Same Skill Collection

skills/ads-amazon/SKILL.md
skills/ads-apple/SKILL.md
skills/ads-attribution/SKILL.md
skills/ads-budget/SKILL.md
skills/ads-competitor/SKILL.md
skills/ads-create/SKILL.md
skills/ads-creative/SKILL.md
skills/ads-dna/SKILL.md
skills/ads-generate/SKILL.md
skills/ads-google/SKILL.md
skills/ads-landing/SKILL.md
skills/ads-launch/SKILL.md
skills/ads-linkedin/SKILL.md
skills/ads-math/SKILL.md
skills/ads-meta/SKILL.md
skills/ads-microsoft/SKILL.md
skills/ads-monitor/SKILL.md
skills/ads-optimize/SKILL.md
skills/ads-photoshoot/SKILL.md
skills/ads-pinterest/SKILL.md
skills/ads-plan/SKILL.md
skills/ads-reddit/SKILL.md
skills/ads-report/SKILL.md
skills/ads-research/SKILL.md
skills/ads-server-side-tracking/SKILL.md
skills/ads-setup/SKILL.md
skills/ads-snapchat/SKILL.md
skills/ads-test/SKILL.md
skills/ads-tiktok/SKILL.md
skills/ads-validate/SKILL.md
skills/ads-x/SKILL.md
skills/ads-youtube/SKILL.md
ads/SKILL.md

Metadata

Files
0
Version
fc3908e
Hash
116af34f
Indexed
2026-07-25 07:45

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-22 06:51
浙ICP备14020137号-1