search-term-miner

search-term-miner is a skill for Claude Code from aaron-he-zhu/aaron-marketing-skills. It costs 139 tokens per session (2,057 once invoked), scanned A, original, Apache-2.0.

A tool for analysing a paid-search search-terms report. It finds search queries that led to conversions and queries that spent money without converting.

In plain words
What is it for?
Use it to create new keywords or ad groups, build a negative-keyword list, and produce an n-gram waste report. An n-gram is a repeated word or phrase found across search queries.
Why use it?
It removes the manual work of turning search-term data into useful keywords and exclusions. It also highlights repeated words that may be wasting advertising spend.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code; built for openclaw.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Emit the standard shape from [skill-contract.md §Handoff Summary Format](../../../references/skill-contract.md)..

Part of the aaron-marketing plugin — 120 skills shipped together , and of aaron-marketing

Good fit Use it to create new keywords or ad groups, build a negative-keyword list, and produce an n-gram waste report. An n-gram is a repeated word or phrase found across search queries.

Compare 6 skills from other repositories ↓
About the project

aaron-marketing-skills is a collection of 120 AI-agent skills covering marketing work such as brand narrative, search optimization, social media, email, advertising, influencer campaigns, and launches. Marketers and agent users can install it as a plugin, use its portable skills, or run its described bot team. The catalogue entries are components of this marketing workflow.

aaron-he-zhu/aaron-marketing-skills · 3,024 stars · on GitHub · aaronmarketing.ai

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/aaron-he-zhu/aaron-marketing-skills
agentmods
npx agentmods add skills/aaron-he-zhu/aaron-marketing-skills/search-term-miner

Made for: Claude Code.

Or install aaron-marketing, the plugin that ships this one along with the rest of its 120 skills.

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 search-term-miner

README.md
[![agentmods](https://agentmods.dev/badge/skills/aaron-he-zhu/aaron-marketing-skills/search-term-miner/github.svg)](https://agentmods.dev/skills/aaron-he-zhu/aaron-marketing-skills/search-term-miner)
Your own site
<a href="https://agentmods.dev/skills/aaron-he-zhu/aaron-marketing-skills/search-term-miner"><img src="https://agentmods.dev/badge/skills/aaron-he-zhu/aaron-marketing-skills/search-term-miner/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 search-term-miner

Your own site · 80×15
<a href="https://agentmods.dev/skills/aaron-he-zhu/aaron-marketing-skills/search-term-miner"><img src="https://agentmods.dev/badge/skills/aaron-he-zhu/aaron-marketing-skills/search-term-miner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,057 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 2 Sept 2026
  • Snyk pass 2 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00139 $0.02057
Opus 5.5 $0.00056 $0.00823
Sonnet 5.5 $0.00028 $0.00411
Haiku 4.5 $0.00014 $0.00206

Measured 1mo ago against content hash 6c0d6279ca9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

search-term-miner scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ad/research/search-term-miner/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Search Term Miner

Turns a search-terms report into two standing outputs: new keywords/ad-groups harvested from converting queries, and a negative-keyword + n-gram waste list built from queries that spent without converting. It is the recurring mining loop that campaign-architect used to carry as a mode — that skill now owns account structure only, and this skill owns the search-term harvest and negative hygiene. It scores the ROAS S (Spend-efficiency) lever it works on and hands off; it does not compute the final RQS.

Quick Start

Mine my search terms. Here is my exported search-terms report: [paste/path]. Goal is [DR/prospecting].
Build a negative-keyword list and an n-gram waste report from this search-terms export: [path].
Which converting queries should become new keywords or ad groups? Here is the search-terms + conversions export.

Skill Contract

Expected output: a maintenance diff (add / negate / move), a set of harvested keywords/ad-groups from converting queries, a standing negative-keyword list, an n-gram waste report ranking the tokens draining spend without converting, a ROAS S dimension score with notes, and the standard handoff summary.

  • Reads: the exported search-terms report (query, impressions, clicks, cost, conversions, conv. value), the ROAS profile (direct-response|prospecting|incremental-profit), and the existing ad-group/negative structure from campaign-architect when present.
  • Writes: a user-facing mining diff and reusable summary to memory/ad/search-term-miner/.
  • Promotes: the standing negative-keyword list, harvested keyword themes, the n-gram waste findings, and the S score to memory/hot-cache.md and memory/open-loops.md; propose durable negatives as pending-decision items.
  • Done when: every converting query above the harvest threshold is routed to add / move; every wasted query is negated with a stated match type; the n-gram waste report names its top spend-draining tokens with Measured cost figures; and the ROAS S score is emitted with the typed profile named.
  • Primary next skill: ad-account-auditor to score the full RQS and enforce the veto items.

Read the full file on GitHub · 86 lines

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. 1mo ago Changed 6c0d6279ca9c
  2. 1mo ago First seen · 86 lines · 139 tokens per session scan A 37b2d841f0bf

Subscribe to this mod's changes

search-term-miner is a skill published in the GitHub repository aaron-he-zhu/aaron-marketing-skills (3,024 stars, last pushed today), licensed Apache-2.0. It adds 139 tokens to every session and 2,057 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

geo-visibility-check

One-shot GEO audit: does your brand appear in Claude, ChatGPT, and Gemini answers for the buyer questions that matter? Runs a prompt panel through the engines with citation tracing and reports per-prompt verdicts, who wins instead, and which sources the answers come from.

XPOZpublic/xpoz-clawhub-skills · 60 tokens

geo-optimizer

Audit and fix a website for AI search visibility (Generative Engine Optimization). Use when asked to check whether a site or page can be found and cited by ChatGPT Search, Perplexity, Claude or Google AI Overviews, to score it 0-100 with geo audit, or to fix robots.txt AI crawler rules, llms.txt, JSON-LD schema, meta…

Auriti-Labs/geo-optimizer-skill · 91 tokens

geo-loop

Run one bounded eGEOagents loop iteration over a workspace domain - read the charter and fresh collector data, do ONE unit of work, write substrate artifacts, append one Timeline entry and one LOG line. Use for loop mode, /geo:loop, scheduled GEO runs, or continuous monitoring.

mverab/eGEOagents · 62 tokens

content-scoring

Score content against the 10 GEO criteria with evidence and prioritized fixes. Use when users ask to score, rate, evaluate, or estimate ranking strength.

mverab/eGEOagents · 34 tokens

competitive-analysis

Analyze AI-search competitors for a query and recommend ranking strategy. Use when users ask competitor analysis, who ranks, or competitive landscape.

mverab/eGEOagents · 29 tokens

schema-generator

Generate JSON-LD schema markup for pages and content types with an implementation checklist. Use when users ask for schema, structured data, rich snippets, or markup.

mverab/eGEOagents · 35 tokens