query-research
Skill0 starsChanged 13 days agoMITView on GitHub
Turns search demand into a short, ranked list of pages to build, fix or skip. It sorts Search Console queries into intent buckets (brand, near-me, town plus service, informational, service), shows where impressions sit without clicks, lists striking-distance queries, mines Google autocomplete for the questions people type, and files each query family into a decision queue of NOW, NEXT, HOLD or DROP with evidence. Use when the user asks "what should we write about", "keyword research", "what are people searching for", "which pages should we build", or "is there demand for X".
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-citationsSkill
- llms-txt-mirrorSkill
- page-auditSkill
- seo-operatorSkill
- serp-copySkill
- site-healthSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Check templates before scale: If a family is "the same page per town or product", it goes through the programmatic gate first (pseo-gate.md …
- Distinctive: line 29
Every NOW item has evidence: Search Console rows (impressions, position) or a typed suggestion plus a reason it fits what the business …
- Distinctive: line 30
No family is built twice. Search the site (and the crawl's page list) for an existing page before you plan a new one.
- Distinctive: line 31
No volume numbers invented from autocomplete.
≈ “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.
Files
Query research
Decide which pages deserve to exist, from demand you can see, before anyone writes a word. Most content plans start from ideas; this one starts from queries that already show impressions or typed suggestions.
Inputs
- The Search Console "Queries" export (CSV, last 3 months if you have it; 28 days works).
- The brand terms, and the towns or areas served (for local businesses).
- Seed topics for autocomplete mining (2 to 5).
- The state folder's
radar.md, if theseo-operatorloop runs (start fromtemplates/radar.md).
Steps
- Bucket the queries.
python3 scripts/query_buckets.py Queries.csv --brand acme --towns "downtown,riverside". Read the share of impressions per bucket and the weighted position. A bucket with a big share and a low CTR is where the work is. - List striking distance. The same output lists non-brand queries at positions 4 to 20 with 50+ impressions (
--min-impr). These are pages that exist and nearly win. They go toseo-operatoras content or title-meta actions before any new page. - Mine autocomplete for gaps.
python3 scripts/suggest.py "cold brew" --mode questions,comparisons. This calls Google's public suggest endpoint only, with a delay between probes; keep--max-probeslow and do not run it in a loop. Suggestions show what people type, not how many: treat them as a list of questions, not as volume. - Group into families. One family is one intent a single page can answer ("cold brew at home": how to make, ratio, steep time, bitter). Do not make one page per phrasing.
- File each family in
radar.mdwith its evidence and a status. Rules for NOW, NEXT, HOLD and DROP:references/decision-queue.md. - Check templates before scale. If a family is "the same page per town or product", it goes through the programmatic gate first (
pseo-gate.mdin theseo-operatorskill), andoverlap.pyinsite-healthonce drafts exist. - Hand off. NOW families with an existing page go to
page-audit, thenserp-copyif the snippet is the gap. NOW families with no page get a one-paragraph brief: the primary query, the questions to answer, the facts needed, the page it links from.
Gates
- Every NOW item has evidence: Search Console rows (impressions, position) or a typed suggestion plus a reason it fits what the business sells.
- No family is built twice. Search the site (and the crawl's page list) for an existing page before you plan a new one.
- No volume numbers invented from autocomplete. If a paid tool's volume is used, name the tool and the date.
- Brand queries are not content opportunities. Leave them out of the plan.
Output
bucket queries impr clicks CTR pos(w) share
informational 4 8450 59 0.7% 9.6 59%
service 2 1370 7 0.5% 9.2 10%
...
Decision queue
NOW cold brew at home 4 queries at positions 7-15, 8,450 impressions, page exists
NEXT coffee subscription 950 impressions at 8.6, money page, snippet gap
HOLD cold brew near me needs a location page per shop; pseo gate first
DROP espresso vs drip informational, no product fitFull bucket output: examples/acme-coffee/query-buckets.txt.
Failure modes
| Trap | What it looks like | Instead |
| One page per phrasing | "cold brew ratio" and "cold brew recipe" as two posts | one family, one page, all the questions |
| Ideas first | a content calendar with no query evidence | every item cites rows or suggestions |
| Volume from autocomplete | "this gets 10k searches" | suggestions are questions, not counts |
| Ignoring what already ranks | a new post for a query the site holds at position 8 | improve the existing page first |
| Chasing traffic with no fit | high-volume questions the business cannot serve | DROP with the reason |
| Hammering the suggest endpoint | thousands of probes in a loop | a few seeds, a delay, cache the results |
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.

