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

secondstep-claude-skills / google-ads-audit-claude

CLAUDE.md2 starsChanged 9 months agoMITView on GitHub

This is a Claude Code skill that performs comprehensive Google Ads account audits using a multi-agent architecture. It parses Google Ads CSV exports, runs five specialized analysis agents, and produces a scored audit report with actionable recommendations.

The file

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

7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    Always include estimated_monthly_waste where applicable

    line 30
  2. Very specific:

    All scripts read from account_data.json (output of fetch_account_data.py)

    line 33
  3. Very specific:

    Use the clean_numeric() and clean_currency() helpers for Google Ads formatted values

    line 35
  4. Very specific:

    Test with the sample data in tests/ before committing

    line 36
  5. Distinctive:

    All file paths should be resolved to absolute paths internally

    line 46
  6. Distinctive:

    All monetary values are in USD unless explicitly stated

    line 49
  7. Very specific:

    Run python scripts/fetch_account_data.py --help to verify scripts work

    line 52

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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

Google Ads Audit Skill for Claude Code

What This Project Is

This is a Claude Code skill that performs comprehensive Google Ads account audits using a multi-agent architecture. It parses Google Ads CSV exports, runs five specialized analysis agents, and produces a scored audit report with actionable recommendations.

Project Structure

google-ads-audit-claude/
├── agents/          # 5 specialized audit agents (markdown)
├── scripts/         # Python data processing scripts
├── skills/          # Claude Code skill definitions
├── templates/       # Report templates (markdown)
├── docs/            # Documentation
└── install.sh       # Installer script

How to Work With This Codebase

Key Files

  • skills/ads-audit.md - Main skill entry point (the /audit command)
  • agents/*.md - Agent definitions with scoring criteria and output formats
  • scripts/*.py - Python scripts for data parsing and analysis

When Modifying Agents

  • Each agent in agents/ follows a strict format: YAML frontmatter + execution steps + scoring criteria + output format
  • Agent scores must produce a 0-100 value
  • Output must be valid JSON matching the documented schema
  • Always include estimated_monthly_waste where applicable

When Modifying Scripts

  • All scripts read from account_data.json (output of fetch_account_data.py)
  • Scripts must handle missing data gracefully (Google Ads exports are inconsistent)
  • Use the clean_numeric() and clean_currency() helpers for Google Ads formatted values
  • Test with the sample data in tests/ before committing

When Modifying Scoring

  • See docs/SCORING.md for the full scoring methodology
  • Agent weights must sum to 1.0
  • Sub-category weights within each agent must sum to 1.0
  • Grade scale is fixed (A+ to F) - do not modify thresholds

Conventions

  • Python scripts use argparse-style CLI with positional args
  • All file paths should be resolved to absolute paths internally
  • JSON output uses 2-space indentation
  • Error messages should be user-friendly, not stack traces
  • All monetary values are in USD unless explicitly stated

Testing

  • Run python scripts/fetch_account_data.py --help to verify scripts work
  • Each script can be run independently for debugging
  • The full pipeline can be tested with: parse CSV -> run scripts -> check JSON output

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.