search-term-miner
Skill1 starsChanged 13 days agoApache-2.0View on GitHub
Mines a Google Ads search terms report for wasted spend using n-grams judged against the account's own target CPA (not fixed money cut-offs), protects brand, service, competitor and location words, and drafts negative keywords with match type and level for a human to approve. Use when someone asks for a search terms review, negative keywords, wasted spend, "what should I exclude", the weekly search terms check, or attaches a search terms report. Not for writing ads (use rsa-asset-writer) or explaining a performance change (use change-detective).
3 other projects use a version of this.
Adopted by
Most recently taken up by
- KryIZX/Skill-Mastertheir own version, first seen Nov 29, 2026
- riz1k9/claude-ad-skillstheir own version, first seen Aug 13, 2026
- kelpi-ai/google-ads-skillstheir own version, first seen Jul 13, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- kelpi-ai/google-ads-skills★ 2same name
- KryIZX/Skill-Master★ 1same name
- riz1k9/claude-ad-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository31 other files it gives its agents.
- budget-pacerSkill
- change-detectiveSkill
- channel-expansion-plannerSkill
- competitor-messaging-analysisSkill
- conversion-lag-checkSkill
- demand-ceiling-analyzerSkill
- google-ads-audit-sales-presentationSkill
- google-ads-script-creatorSkill
- google-ads-skill-builderSkill
- gpt-to-skillSkill
- landing-page-designSkill
- landing-page-quick-auditSkill
- negative-keyword-analyzerSkill
- new-client-onboardingSkill
- pmax-health-checkSkill
- postclick-buyer-objectionsSkill
- postclick-copy-rewriteSkill
- postclick-experiment-briefSkill
- postclick-fix-firstSkill
- postclick-message-matchSkill
- ppc-account-health-checkSkill
- ppc-business-profilerSkill
- ppc-change-analyzerSkill
- ppc-experiment-finderSkill
- ppc-report-narratorSkill
- ppc-strategic-auditSkill
- rsa-asset-writerSkill
- rsa-headline-generatorSkill
- sales-intelligenceSkill
- weekly-client-reportSkill
- weekly-pulseSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 11 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Read references/account-profile.md when no profile is in the chat or project.
- Distinctive: line 27
Search terms report: Insights and reports > Search terms (or Keywords > Search terms).
- Distinctive: line 28
Search terms). Date range: 30 to 90 days, ending a few days ago so recent conversions have arrived.
- Distinctive: line 36
If something is missing:
- Distinctive: line 37
No target CPA: ask. Never guess it.
- Distinctive: line 54
Read references/field-notes.md, then read every candidate's queries.
- Very specific: line 59
Write negatives.txt in the syntax you would type in Google Ads (word broad, "phrase", [exact]), with campaign=<text> | or list=<name> | in …
- Distinctive: line 65
Ask for the keywords export (Keywords > Search keywords > download) if the user has not given it.
- Distinctive: line 75
Run the self-check, then answer with the output template, using the simulator's TOTAL line for waste.
- Distinctive: line 81
Never hand over a negative list the simulator has not passed.
- Distinctive: line 84
Never propose a negative that contains a protected word or would block a query with conversions.
- Distinctive: line 89
No negatives in brand campaigns without asking.
- Very specific: line 108
Avoid: implants as a negative (the service), or a row without numbers.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Search term miner
A bad negative keyword is worse than wasted spend: it blocks good searches silently and nobody notices for weeks. So this skill is strict about two things. Waste is measured against your own target CPA, not a generic "$10 with no conversions" rule. And brand, service, competitor and location words you care about can never end up in a negative.
Step 0: account profile
Read references/account-profile.md when no profile is in the chat or project. Fields needed: currency, targets (per campaign if they differ), brand terms, competitor names you bid on, services you sell and do not sell, target locations per campaign, never negate list, who approves. Ask for missing targets and locations before running; every flag depends on them.
Inputs
Search terms report: Insights and reports > Search terms (or Keywords > Search terms). Date range: 30 to 90 days, ending a few days ago so recent conversions have arrived. Columns: Search term, Match type, Campaign, Ad group, Impr., Clicks, Cost, Conversions, Conv. value. Download as CSV.
Keywords report (strongly advised): Keywords > Search keywords, all campaigns, with Keyword, Match type, Campaign and Status. The simulator uses it to catch a negative that blocks one of the account's own keywords.
If something is missing:
- No target CPA: ask. Never guess it.
- Under 30 days of data: say so and only flag terms at 2x target or more.
- Conversions column missing: stop; waste cannot be judged without it.
Workflow
- From the profile, write three small files:
protect.txt: brand terms and misspellings, competitor names you bid on, never-negate words. A negative containing one is never proposed.services.txt: what you sell. Never negated on its own; negate the modifier instead ("course", not "implant").locations.txt: one line per campaign,campaign text: town, town.
- Find candidates:
python scripts/st_miner.py <csv> --target-cpa <CPA> [--campaign-target "Implants=90"] --protect protect.txt --services services.txt --locations locations.txt --exclude-campaign "<brand pattern>" --low-spend <half the target>For ecommerce use--target-roas 4instead; it works out the implied target CPA and lists converting n-grams under half the target ROAS. Each theme is listed once with its queries; fragments covered by a bigger theme are folded in. - Read references/field-notes.md, then read every candidate's queries. Keep it only if it is wrong for this business in every query. Wrong-location searches (a town another campaign targets) go to that campaign only. Read the "converting words that look like waste" block out loud in the answer: those words stay.
- Write
negatives.txtin the syntax you would type in Google Ads (wordbroad,"phrase",[exact]), withcampaign=<text> |orlist=<name> |in front. Choose match type and level with references/negatives-rules.md. - Prove it:
python scripts/simulate_negatives.py <csv> negatives.txt --protect protect.txt --exclude-campaign "<brand pattern>" --keywords <keywords.csv>Ask for the keywords export (Keywords > Search keywords > download) if the user has not given it. With it, a negative that blocks one of their own enabled keywords is a STOP. Without it, say this was not checked. It applies Google's matching rules and reports, per negative, exactly which searches it blocks. Fix every STOP (blocks conversions or contains a protected term) and every NOT BLOCKED variant you want gone, then run it again until "Checks: PASS". Why: Google negatives do not match plurals, so "course" leaves "courses" running; and a broad negative can block converting searches you never looked at. - Run the self-check, then answer with the output template, using the simulator's TOTAL line for waste.
Guardrails
- Draft only; a named person adds negatives. Why: a wrong negative costs invisible lost leads.
- Never hand over a negative list the simulator has not passed. Why: in testing, negating "dental" would have blocked 44 conversions and "emergency" 100; nobody spots that by reading n-grams.
- Never propose a negative that contains a protected word or would block a query with conversions.
- Zero-conversion searches under the target line go on the watch list, not the negative list, unless they are plainly unrelated (a vet, a job); those are marked low confidence.
- No negatives in brand campaigns without asking. Why: misspelled brand searches look wasteful but protect brand traffic.
- Label anything under the low-spend line as low confidence.
Output template
Search terms review: [account], [date range] Analysed: [currency][cost], [clicks] clicks, [conv] conversions (brand excluded). Waste these negatives block: [currency][simulator TOTAL] ([x]% of analysed spend), 0 conversions.
Negatives to approve:
[negative in match syntax]| [level] | [cost, clicks, conversions, x target] | [example queries] | [confidence]
Kept on purpose (they convert): [words and their conversions]. Watch list: [searches under the target line]. Needs a human call: [item | why] Paste-ready lists: [simulator output, grouped by list and campaign].
Good row: "turkey" | Implants campaign | £437.05, 102 clicks, 0 conv, 4.9x target |
dental implants turkey; ... | High
Avoid: implants as a negative (the service), or a row without numbers.
Self-check (run before answering)
- Totals match the export minus brand.
- Simulator says "Checks: PASS"; waste taken from its TOTAL (each query once).
- Plural/variant misses handled (added or explained).
- No negative contains a protected word or blocks a converting query.
- No negative blocks an enabled keyword, or the answer says the keywords export was not given.
- Every row has numbers and a confidence label.
- Date range stated; lag respected (export ends a few days ago).
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
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.

