/product-loops:product-research-loop <the product or category, and the decision> e.g. "first modules for a booking tool for small clinics, vs A, B and C"from product-loops
Decides what to build before anyone builds it. Researches the rival products in a category on their public pages, builds a capability sheet (Excel and CSV) with a source link on every cell, searches each rival's own site before calling anything "no rival has it", thinks the product through for its persona (the job, the principle, the flow, the simplicity cut), and ends in a product brief with a ranked module list. Asks every question once at the start, then runs alone. Use when someone asks "what should we build first", "which modules does X need", "benchmark us against A, B and C", "what are rivals doing", "research the competitors", "decide the feature set", or wants a brief to hand to a build. It builds no product.
Ships in product-loops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Read ${CLAUDE_SKILL_DIR}/shared/loop-rules.md first, all of it, and follow it.
In this file:
STATE means: node "${CLAUDE_SKILL_DIR}/shared/scripts/loop-state.mjs"CHECK means: node "${CLAUDE_SKILL_DIR}/scripts/check-research.mjs". Its first word is always the check
name, then the out folder: CHECK research research/<short name> --rivals 3 --kinds "<KINDS>". The default out
folder also starts with research/, so never drop the check name.SHEET means: node "${CLAUDE_SKILL_DIR}/scripts/make-sheet.mjs". It turns the CSV into the Excel file.KINDS is the list of source kinds from need 7, and GROUPS the person's own group words from need 14, each
comma separated, exactly as the brief writes them. Leave --groups out when the person gave no group words.RUN is the run folder that STATE status prints. OUT is the out folder from need 12
(default research/<short name>/ in the working folder). Make OUT/rivals/ and RUN/checks/ at the start
of node 2. When OUT already holds files from an earlier run, add today's date to its name
(research/<short name>-<yyyymmdd>/), so old rival files are never counted. Make OUT/beats/ at the start of
node 3.until [ "$(ls OUT/rivals 2>/dev/null | grep -c '\.md$')" -ge 3 ]; do sleep 10; done. Never use sleep alone,
ScheduleWakeup or ListAgents. When it times out or is moved to the background, check which files are
missing and run the same wait once more.Stop fact: OUT/capability-sheet.xlsx and OUT/capability-sheet.csv exist, every sheet row says what it does,
every yes or partial cell has a link from that rival's own pages, every beat row has a search of every rival's
own site behind it, and OUT/brief.md ends in a ranked module list whose every module cites sheet rows.
intake: reads what is given, collects every need, writes the brief, waits for "go".research: one helper per rival writes that rival's features, each with a source link.matrix: merges the rival files into the capability sheet, searches every rival's site for each beat row, and
makes the Excel file.think: persona, job steps, principle, flow, modules and the simplicity cut.recommend: writes the product brief, ending in the ranked module list.review: a fresh agent checks the files, opens 5 sources, and reads the brief as the buyer.handover: writes handover.md and finishes the run.Some nodes can use a skill the person has installed. Decide from the skill list this session shows, never by searching the disk. When the list has a skill with exactly that name, run it with the Skill tool and use its method, bar and wording. When it does not, follow the built-in reference file.
| Node | Skill, when installed | Built-in |
|---|---|---|
| research | none (helpers use the built-in brief) | references/research.md |
| matrix | product-research | references/matrix.md, references/beat-proof.md |
| think | think | references/think.md |
| recommend | none | references/recommend.md |
| review | none | references/review.md |
Inside this loop, the loop rules win over any skill. A skill that says "answer in chat", "wait for a go" or
"ask first" means: write the output to the node's file, take the default, and run STATE decide. The file
shapes in the built-in references stay the same either way, because CHECK reads them.
The person's taste comes from their installed skills and the working folder's CLAUDE.md, never from this file.
Never publish, post, send or share any file unless the person's answer in node 1 clearly asks for it, with where to. "Go" or "use the defaults" never means publish. Never sign in, sign up or pay on a rival's site.
Run STATE init --loop product-research-loop --nodes intake,research,matrix,think,recommend,review,handover,
then follow the intake rules.
Needs: read ${CLAUDE_SKILL_DIR}/references/needs.md. It lists every need, its default, and where to look
before asking. Ask at most 6 questions, only for what is missing and changes the result. Show every other
need in the brief with its value or default.
Start check: one WebSearch for the category and one WebFetch of a rival's home page, as needs.md says.
Say the result in the same message as the questions.
The brief (RUN/brief.md) holds: the decision, the product, the persona and buyer, the rivals, the market,
every need with its value, OUT, KINDS, GROUPS with the person's examples under each, and the stop fact.
When the person asked for a feature list or a matrix, the brief says the sheet is the main output.
STATE start researchSTATE decide for each one added.${CLAUDE_SKILL_DIR}/references/research.md, filled in, with every source kind, group word and named example
from the brief. Each writes only OUT/rivals/<rival-slug>.md.
Then wait for all the files, as "Waiting for helpers" says.CHECK research OUT --rivals <number of rivals> --kinds "<KINDS>" --write RUN/checks/research.txtSTATE retry research --why "<the FAIL line>" and check again.STATE done research --check "every rival file has source links and 5+ rows read" --proof RUN/checks/research.txtA rival whose site blocks every page and gives fewer than 5 read rows after the retries: write why in its
file, run STATE decide to drop it, and check again with one rival fewer.
STATE start matrixproduct-research if installed. Then build OUT/capability-sheet.csv as
${CLAUDE_SKILL_DIR}/references/matrix.md says, from the rival files only.beat rows, start one helper per rival with the Agent tool, all in one message,
with the task in ${CLAUDE_SKILL_DIR}/references/beat-proof.md, filled in with every beat row: the same full
list for every rival, even a row you think that rival has or lacks. CHECK matrix needs a line per row and
rival. Each writes
OUT/beats/<rival-slug>.md. Wait for all the files, as "Waiting for helpers" says. Then change the cells and
marks as matrix.md § Beat proof says.SHEET OUT, so the Excel file matches the CSV.CHECK matrix OUT --groups "<GROUPS>" --write RUN/checks/matrix.txtSHEET OUT again, STATE retry matrix --why "...", check again.STATE done matrix --check "every row says what it does, every yes cell has its own rival's labelled link, every beat row has a search of every rival's site, xlsx matches" --proof RUN/checks/matrix.txtSTATE start thinkthink if installed. Then write OUT/thinking.md with the sections in
${CLAUDE_SKILL_DIR}/references/think.md, from the brief, the sheet and the rival files.CHECK think OUT --write RUN/checks/think.txtSTATE retry think --why "...", check again.STATE done think --check "every module names the job step it serves" --proof RUN/checks/think.txtSTATE start recommendOUT/brief.md as ${CLAUDE_SKILL_DIR}/references/recommend.md says. When the decision is a capability
matrix, the brief opens with the sheet and its groups; the modules come after.CHECK brief OUT --write RUN/checks/brief.txtSTATE retry recommend --why "...", check again.STATE done recommend --check "ranked list is last, every module has a must have and cites real sheet rows" --proof RUN/checks/brief.txtSTATE start review${CLAUDE_SKILL_DIR}/references/review.md,
filled in. It writes RUN/review.md. Wait for that file, as "Waiting for helpers" says.RUN/review.md. On FAIL: fix what it names (in the node that made it), STATE retry review --why "...",
and start a new review agent. For each WRONG BEAT line: add that page to the rival's file, change the cell,
label the link in sources, change the mark unless every rival is still clearly weak, run SHEET OUT, and
take the beat out of the brief everywhere it is used (bottom line, ## Where we beat them, the module's
"How we beat or match"). Run STATE decide for each one.STATE done review --check "fresh agent says PASS" --proof RUN/review.md. When the retries run out, a wrong
beat that is still in the sheet goes under ## Not sure yet in the brief before STATE left review.Follow the hand-over rules in loop-rules.md. Take the decision count from STATE status --json (its
decisions field), never from memory, and link decisions.md only when it exists. In
STATE finish --stop-fact, write the real out folder, not OUT.
Before you write handover.md: when the person asked for a Google Sheet or a link to the sheet (need 15), upload
OUT/capability-sheet.xlsx with the Google Drive tool this session has. When there is no such tool, or it asks
for a sign-in, run STATE hold --step "Put the sheet in Google Drive" --kind sign-in --why "<what stopped it>".
In handover.md also put:
OUT/capability-sheet.xlsx (and the Google Sheet link, when it was made), its row count and
its tabs. Call each file and link what it is. Never give a web page or another kind of link as the sheet.OUT/brief.md, OUT/capability-sheet.csv, OUT/thinking.md, each rival file and each beat proof file.gap, with the page that showed the rival has it.KINDS that gave no rows for a rival, with the "why none" from its file.## Questions for the build from the brief.unverified rows.OUT/brief.md (for example /product-build-loop OUT/brief.md, when that
loop is installed).references/beat-proof.md (opens in a new tab)references/matrix.md (opens in a new tab)references/needs.md (opens in a new tab)references/recommend.md (opens in a new tab)references/research.md (opens in a new tab)references/review.md (opens in a new tab)references/think.md (opens in a new tab)scripts/check-research.mjs (opens in a new tab)scripts/make-sheet.mjs (opens in a new tab)shared/hooks/count-person-replies.mjs (opens in a new tab)shared/hooks/finish-every-node.mjs (opens in a new tab)shared/hooks/no-questions-after-intake.mjs (opens in a new tab)shared/loop-rules.md (opens in a new tab)shared/scripts/loop-state.mjs (opens in a new tab)shared/scripts/run-files.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/product-build-loopBuilds a clickable web prototype of a new product, or adds a feature or module to a prototype that already exists, in one unattended run. It asks every question once at the start, gives a local link before it builds, builds and reviews every module on the list, checks every click in a real browser, makes a link per state for a demo, and hands over. Use when someone types /product-build-loop, or asks to "build a prototype of", "make a clickable demo of", "start a new product", "add a module to my prototype", or "build this end to end". For changes to how existing screens look, or a list of screenshot notes, use a design loop instead./product-deck-loopMakes a deck, one-pager, brochure or simple web page for a meeting with a company, end to end. Researches the company, its industry and the people in the meeting with a source link on every fact, writes a story with one idea per slide, builds it (keeping named slides of a start deck when one is given), checks every claim and word, and makes an HTML deck, an editable 16:9 PowerPoint in real text and shapes, and a PDF. Asks every question once at the start, then runs alone. Use when someone asks for "a deck for my meeting with X", "slides for a first meeting", "an outside-in point of view on a company", "add 3 slides to this deck for X", "a one-pager or brochure for a prospect", or "turn this into an editable PowerPoint".Other plugins' skills for the same job
npx claudepluginhub unify-apps/product-loops --plugin product-loops