Free niche and directory idea research, run like a one on one consult. Interviews the person about their interests and how they want to make money, drills down layer by layer (shopping -> secondhand -> estate sales -> estate sale companies by city) using free demand signals (Google autocomplete, Wikipedia pageviews, Reddit members, activity and mentions), mines Reddit for questions people keep asking ("what is my Griswold skillet worth", "is this glaze food safe", "is a sugar glider legal in ...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Niche Miner?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/freyships-niche-miner)
---
name: niche-miner
description: Free niche and directory idea research, run like a one on one consult. Interviews the person about their interests and how they want to make money, drills down layer by layer (shopping -> secondhand -> estate sales -> estate sale companies by city) using free demand signals (Google autocomplete, Wikipedia pageviews, Reddit members, activity and mentions), mines Reddit for questions people keep asking ("what is my Griswold skillet worth", "is this glaze food safe", "is a sugar glider legal in Texas"), and checks Google plus free Ahrefs Domain Rating to see if small sites can win. Use when someone wants directory ideas, niche site ideas, affiliate or display ad site ideas, "what should I build", "is there a directory in X", or wants to mine Reddit for SEO opportunities. No paid tools required.
---
# Niche Miner
Scripts live in `~/.claude/skills/niche-miner/scripts/` (adjust the path if you installed the pack somewhere else). Run them from your own work folder; outputs land there.
Turns Reddit questions into vetted site ideas. The core idea: **a question that gets asked over and over, about many different models, with a product at the end, is a lookup site.** A tire size lookup is the template: one question ("what tire fits my car"), thousands of cars, a buy link on every page.
Two ways in, same finish:
```
A. "I have interests / a vague space" -> interview -> drill down layer by layer (human picks each branch) -> leaf
B. "Just find me something" -> interview -> mine hundreds of subreddits wide -> families
-> competition check (Google + free DR) -> money -> report
```
Default to A whenever the person mentions any interest at all. Their reactions at each layer are the point:
the data shows which roads exist, the person chooses which one is theirs.
The mining pipeline (path B, and the deep dig at the end of path A):
```
Onboard -> find subreddits -> pull posts -> detect lookup questions -> read them into "families"
-> prove the question repeats (autocomplete) -> check Google (Serper) + DR (free Ahrefs) -> money -> report
```
Everything runs from `scripts/` with Python 3.9+ and no installs. Run scripts from a working folder of the
user's choice; outputs go to `runs/<run-name>/` inside it. Keys and caches live in `~/.niche-miner/`.
---
## Step 0. Setup check (do this first, every time)
Run `python3 ~/.claude/skills/niche-miner/scripts/setup.py --check`. It prints which keys work.
- **Ahrefs Free key (required).** Free forever, no card. Gives Domain Rating for any site, 1,000 per call, 0 units.
1. Sign up at https://ahrefs.com/free
2. Open https://app.ahrefs.com/account/api-keys and create a key
3. Run `python3 ~/.claude/skills/niche-miner/scripts/setup.py` and paste it (it tests the key on ahrefs.com and saves it)
- **Serper key (strongly recommended).** Real Google top 10, autocomplete and shopping prices.
2,500 free searches at https://serper.dev (one time, no card). One full run uses about 150 to 400.
- **No Serper key?** Use the fallback in `references/no-serper.md` (Claude's own web search). It works,
but positions are less exact, so say so in the report.
Never print, log or commit key values. Keys only live in `~/.niche-miner/.env`.
## Step 1. Interview (like a one on one consult)
Read `references/interview.md` and follow it. Short rounds of 2 or 3 questions, never a wall of questions:
1. Brain dump of interests, life, things they buy, places they go (or "browse for me").
2. Money model, with the trade offs explained plainly: lead gen (sales, slower, highest ceiling), display ads
(passive, needs broad traffic), affiliate (price floor: prefer $150+ products), featured listings.
3. Constraints and unfair advantages (time, local or national, access to data, things they refuse to do).
4. Confirm a 5 line brief before researching.
Also ask depth: quick (one drill down, about 30 minutes) or deep (several branches plus wide mining, an hour or more).
## Step 1b. Drill down (path A)
Read `references/drill-down.md`. At each layer: generate 6 to 12 children (autocomplete, subreddit search and
neighbors, recurring nouns in posts, your own knowledge), then measure them side by side for free:
```
python3 ~/.claude/skills/niche-miner/scripts/demand.py "estate sale" "flea market" "antique mall" --subs Flipping ThriftStoreHauls
```
It prints, per child: Google suggestion breadth, **place%** (share of suggestions naming a city, state or
"near me": high = directory shape), Wikipedia monthly views, the biggest matching subreddit (members, posts per
month, 3 month trend), and mentions per 1,000 recent posts in the parent subs. These are proxies, not search
volume: compare siblings, never quote them as traffic. Show a short table plus your pick, let the person choose,
go one layer deeper. Stop at a leaf (enumerable listings + place or item modifier + a data source), then
`reddit.py dig` its small subs for the questions that become directory fields, and jump to Step 6.
## Step 2. Find the right subreddits
Read `references/finding-subreddits.md` before this step. Use at least two of these methods:
| Method | Command | Finds |
|---|---|---|
| Name search | `python3 ~/.claude/skills/niche-miner/scripts/reddit.py search jeep tacoma rav4` | Subs whose names start with a word |
| Neighbors | `python3 ~/.claude/skills/niche-miner/scripts/reddit.py neighbors GoRVing` | Where a sub's posters also post. Surfaces the hidden niche subs nobody would guess |
| Seed list | `data/seed_subs.md` | Subs already measured as lookup rich |
| Your own knowledge | then `python3 ~/.claude/skills/niche-miner/scripts/reddit.py info SUB ...` to confirm size | Ownership subs: one per vehicle, appliance line, gear brand |
| Wikis | `python3 ~/.claude/skills/niche-miner/scripts/reddit.py wikis SUB` | FAQ and compatibility pages. A hand made compatibility table in a wiki is proof of a lookup need |
**Go wide before going deep.** A deep run should cover 300+ subreddits across 15+ unrelated categories
(collecting, thrifting, foraging, crafts, pets, food, home systems, trades, rules and paperwork, music gear,
hobbies), not 150 subs that all orbit vehicles and gear. Variety is where the weird ideas come from.
Never build the sub list only around the user's example ideas: examples anchor you, and you will return
near copies of them.
Rules of thumb: prefer ownership subs (r/Tacoma, r/GoRVing, r/espresso) over general ones; 20K+ members;
skip subs where posts are mostly photos. Small subs can still be gold if the question is narrow.
## Step 3. Pull posts and detect lookup questions
```
python3 ~/.claude/skills/niche-miner/scripts/reddit.py harvest RUN SUB1 SUB2 ... # ~600 posts per sub over 12 months, cached
python3 ~/.claude/skills/niche-miner/scripts/reddit.py signals RUN # tags fit / capacity / spec / list questions
python3 ~/.claude/skills/niche-miner/scripts/reddit.py dig RUN SUB --years 3 # small subs: every post plus comments (answers live in comments)
```
Arctic Shift has every public subreddit (even 100 member ones) back to Reddit's start, posts and comments,
updated within the hour. Limits: 100 rows per call (the scripts page through time), calls must be spaced a few
seconds apart, and word search needs a subreddit or author.
`signals` tags 14 question kinds: matching (fit, capacity, spec, only counted when a model or size is named),
and thing lookups (worth, identify, date, safe, legal, substitute, howlong, cost, where, settings, "is there a list").
It ranks subs by **lookup density** and writes packets to `runs/RUN/packets/`, capped per sub and spread across
kinds so photo ID posts cannot crowd out everything else. Density above 5% is rich; ID subs (r/whatsthisplant)
run 20 to 30% but most posts are one offs, so only keep an identify family when the subject list is enumerable
(makers, marks, species, patterns, serials).
## Step 4. Read the packets into families
Read `references/reader-brief.md` and follow it. For more than 3 packets, split them across parallel
subagents, each given the brief and its packet files. Each reader returns families as JSON.
A **family** = one repeating question x many subjects x a way to earn (affiliate, display or lead).
Shapes: matching, worth and identity, safety, rules by place, longevity, settings, cost, specs. The brief has
examples from unrelated areas on purpose. Give readers an "already tested" list including cousin bans, so a
second run never returns near copies of the first.
Every family needs verbatim Reddit evidence (quote + URL). Merge duplicates across readers.
Then cut hard: keep families with a buyable product, a subject list in the hundreds or more, and an
answer that can be filled from data (manuals, spec sheets, manufacturer guides, user reports).
## Step 5. Prove the question repeats, and collect real searches
For each surviving family, run the question stems through autocomplete:
```
python3 ~/.claude/skills/niche-miner/scripts/expand.py "can you flat tow a" "base plate for"
```
Many model level suggestions = the question repeats across the long tail. Then write
`runs/RUN/families.json` (format in `references/families-format.md`) with, per family:
10 real model level searches copied from autocomplete or Reddit, 2 head terms, and 1 shopping query.
**Pick the 10 queries by hand.** Autocomplete is noisy ("kayak for 300 lb hot press watercolor paper",
"max hp kingdom hearts"). Use it to see which models people actually type, then write clean searches with a real
model, year or size in each, spread across brands. Never feed raw autocomplete into serp.py.
Write spec intent searches ("can you flat tow a 2023 jeep grand cherokee"), not buy intent ones
("buy base plate"): stores own buy intent, information sites can own spec intent.
## Step 6. Check Google and Domain Rating
```
python3 ~/.claude/skills/niche-miner/scripts/serp.py runs/RUN/families.json
```
For every search it tags the top 5 as forum, video/social, manual, store, brand or info site, and gets
free Ahrefs DR for all of them. Read `references/reading-serps.md`. The scores:
- **weak**: share of top 5 spots held by forums, video, manuals or sites at DR 30 or below. Higher is better.
- **store**: share held by stores. **Must be low.** A page full of big e-commerce results means Google thinks
people want to buy, and an info site will struggle.
- **small sites ranking**: info sites at DR 30 or below already showing up. With 100+ pages = proven
(the model works). Two or more DR 20 or below sites with 1,000+ pages = crowded (a race already started).
- **Benchmark**: car part fitment lookups score weak 0.22, store 0.54. Strong ideas beat that by a lot.
Verdicts: strong (weak >= 0.55 and store <= 0.20), worth a look (weak >= 0.40 and store <= 0.35), hard, crowded.
## Step 7. Money
`serp.py` adds a median product price from Google Shopping. Then, for each strong family, search the web for
"[brand or product] affiliate program commission" and record the rate **only if a source confirms it**.
Money per sale = price x rate. Mark anything unconfirmed as an estimate. Read `references/money.md`.
Traffic and search volume are not part of the free run. Read `references/traffic-check.md`: point the person
to the free Ahrefs Traffic Checker and SEO Toolbar for a quick look at the two or three best competitors. If
they have a paid Ahrefs API key, `scripts/traffic.py` adds real traffic and volume for the shortlist (it
prints the cost first and only spends units with `--yes`, after the person says yes).
## Step 7b. Can I win it? (the shared check, every run)
Turn each top idea into the Google search a real person would type ("flat tow 2023 grand cherokee", "rockhounding sites in oregon"). One search per idea, 10 to 40
ideas. Save them one per line to `runs/RUN/queries.txt` and run:
```
python3 ~/.claude/skills/niche-miner/scripts/wincheck.py --file runs/RUN/queries.txt --json runs/RUN/wincheck.json
```
Each search gets one verdict: **proven** (a small directory, DR 30 or less, already ranks), **open** (forums and
Reddit fill the top, no directory), **crowded** (several tiny directories), **local** (Google wants Maps and local
business pages), **locked** (big brands, stores, government) or **mixed**. Rows whose type ends in `?` are guesses:
read their title and URL and fix the type before you state the verdict (`python3 ~/.claude/skills/niche-miner/scripts/wincheck.py --help`).
Put the verdict, its one line reason and the smallest directory (domain, DR, position) next to each idea in the
report. Low DR alone is not the signal; who the low DR site is matters more. Domain Rating by Ahrefs.
## Step 8. Report
```
python3 ~/.claude/skills/niche-miner/scripts/report.py runs/RUN
```
Writes `runs/RUN/report.html`: one card per family with the real searches, the Reddit quotes, the Google top 5
with DR, weak and store shares against the benchmark, small sites already ranking, and money per sale.
The report must show "Domain Rating by Ahrefs" with a link to ahrefs.com (license requirement).
Then tell the user, briefly: the top 3 to 5 families, why each is beatable, money per sale, and the caveat that
traffic is unknown without paid data.
## Honesty rules
- Never invent Reddit quotes, rates, or numbers. Quotes are verbatim with their URL.
- Say what was not checked (traffic, exact volume, unconfirmed commission rates).
- If nothing passes, say so and suggest other subreddits rather than padding the list.