agentleFS
VelliqVelliq/velliq-plugin/skills/build-ads-report/SKILL.md

build-ads-report

Skill1 starsChanged 14 days agoMITView on GitHub

Build custom Google Ads and GA4 reports for a connected account, such as campaign performance, search terms, conversions or traffic. Use when the user asks for a specific report, metric, breakdown or comparison that Velliq's findings do not already answer.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 1 is distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Prefer Velliq's findings for any question about waste.

    line 8
  2. Very specific:

    If you are unsure of a field name, call ads_get_resource_metadata.

    line 15
  3. Very specific:

    Call ads_search with a GAQL query.

    line 16
  4. Very specific:

    Use the project's property_id.

    line 29
  5. Very specific:

    Call analytics_get_custom_dimensions_and_metrics to check the available fields.

    line 30
  6. Very specific:

    Use analytics_run_report, analytics_run_funnel_report, analytics_run_conversions_report or analytics_run_realtime_report.

    line 31
  7. Very specific:

    Do not label anything as "waste" from raw reports.

    line 41

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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
SKILL.md

Build a Google Ads or GA4 report

Prefer Velliq's findings for any question about waste. Use these live Google tools for other reporting.

Google Ads

  1. Get the project's customer_id from velliq_list_projects. Live reports need access_status: connected.
  2. If you are unsure of a field name, call ads_get_resource_metadata.
  3. Call ads_search with a GAQL query. Velliq sends the right manager account automatically. Example:

    SELECT campaign.name, metrics.cost_micros, metrics.conversions, metrics.clicks
    FROM campaign
    WHERE segments.date DURING LAST_30_DAYS
    ORDER BY metrics.cost_micros DESC
    LIMIT 20

GA4

  1. Use the project's property_id.
  2. Call analytics_get_custom_dimensions_and_metrics to check the available fields.
  3. Use analytics_run_report, analytics_run_funnel_report, analytics_run_conversions_report or analytics_run_realtime_report.

Presenting

  • Show results as a table with the date range stated.
  • Google returns cost in micros of the account currency. The only change you may make is the unit: divide each value by 1,000,000. Never total rows, compute ratios or round beyond what Google returns. If the user needs a total, select it from Google (for example, query without the breakdown) so the number still comes from the source.
  • Do not label anything as "waste" from raw reports. Waste judgments come from velliq_get_waste_summary.

Rules

  • Accounts and properties outside the user's projects are refused. Send the user to connect_url to add them.
  • These tools only read. Nothing changes in Google Ads or GA4.

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.