get-custom

get-custom is a command for Claude Code from TrueClicks/claude-plugins. It costs 0 tokens per session (471 once invoked), scanned A, original, MIT.

A command for fetching custom Google Ads data with GAQL, Google Ads' query language. It sends a query to a remote service and saves the returned data.

In plain words
What is it for?
Use it to retrieve specifically selected campaign or keyword data when the existing account and performance exports are insufficient.
Why use it?
It covers data requests that a standard export does not provide, such as unusual date ranges, extra metrics, different grouping levels, segments, or filters.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the google-ads plugin — 145 skills, 4 commands shipped together

Good fit Use it to retrieve specifically selected campaign or keyword data when the existing account and performance exports are insufficient.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/trueclicks/claude-plugins/get-custom
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/TrueClicks/claude-plugins

Made for: Claude Code.

Or install google-ads, the plugin that ships this one along with the rest of its 145 skills, 4 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for get-custom

README.md
[![agentmods](https://agentmods.dev/badge/commands/trueclicks/claude-plugins/get-custom/github.svg)](https://agentmods.dev/commands/trueclicks/claude-plugins/get-custom)
Your own site
<a href="https://agentmods.dev/commands/trueclicks/claude-plugins/get-custom"><img src="https://agentmods.dev/badge/commands/trueclicks/claude-plugins/get-custom/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for get-custom

Your own site · 80×15
<a href="https://agentmods.dev/commands/trueclicks/claude-plugins/get-custom"><img src="https://agentmods.dev/badge/commands/trueclicks/claude-plugins/get-custom.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 471 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00471
Opus 5.5 $0.00000 $0.00188
Sonnet 5.5 $0.00000 $0.00094
Haiku 4.5 $0.00000 $0.00047

Measured 21d ago against content hash 538d1c1ee7a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

get-custom scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

mkdir -p tmp && curl -s --max-time 230 -o tmp/response.zip -D tmp/response_headers.txt -X POST "https://api.claudeppc.ai/api/cli/google-ads/get-custom-data?pluginVersion=2.0.0" -F "[email protected]" -F "name={query_na
plugins/google-ads/commands/get-custom.md · 46 lines

What it actually says

Fetch Custom Google Ads Data

Runs a custom GAQL query to fetch data not available in the standard export.

When to Use

Use this when the data in data/account/ and data/performance/ is insufficient and you need:

  • Different date ranges
  • Metrics not included in the standard export
  • Data at different aggregation levels
  • Specific segments or filters

Steps

  1. Construct a valid GAQL query for the data needed.

  2. Run the following command (set Bash timeout to 240000ms — the server may take up to 230 seconds), substituting the query parameters:

mkdir -p tmp && curl -s --max-time 230 -o tmp/response.zip -D tmp/response_headers.txt -X POST "https://api.claudeppc.ai/api/cli/google-ads/get-custom-data?pluginVersion=2.0.0" -F "[email protected]" -F "name={query_name}" -F "query={GAQL query}"

Check tmp/response_headers.txt for a line starting with X-Plugin-Update:. If found, display its value to the user as a notice. Then delete the headers file: rm -f tmp/response_headers.txt.

Parameters:

  • name: Short identifier for the query (e.g., campaign_7d, keyword_device). Used as the output filename.
  • query: Valid GAQL query string (e.g., SELECT campaign.name, metrics.clicks FROM campaign)
  1. Extract and clean up:
mkdir -p data/custom && unzip -o tmp/response.zip -d data/custom && rm tmp/response.zip
  1. Read the results file data/custom/<query_name>.md and present the data to the user.

Example

Query name: top_keywords GAQL: SELECT ad_group_criterion.keyword.text, metrics.conversions FROM keyword_view WHERE metrics.conversions > 0 ORDER BY metrics.conversions DESC LIMIT 50

Notes

  • Monetary values in GAQL results are in micros (divide by 1,000,000 for currency)
  • Results are saved as markdown tables
  • Multiple custom queries can coexist in data/custom/
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago Changed 538d1c1ee7a4
  2. 1mo ago First seen · 46 lines · 0 tokens per session scan A a4350309ef8c

Subscribe to this mod's changes

get-custom is a command published in the GitHub repository TrueClicks/claude-plugins (2 stars, last pushed 22d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 471 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.