/synthetic-consumer-research:synthetic-consumer-researchfrom synthetic-consumer-research
Simulates consumer surveys using LLM personas and Semantic Similarity Rating (SSR) to test product concepts, pricing, ads, or features before real research.
Ships in synthetic-consumer-research. 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.
This skill simulates a consumer survey. Each synthetic consumer is an LLM given a persona (age, income, location and so on). It reads a product concept and answers a question in its own words. Those answers are then turned into 1 to 5 ratings with Semantic Similarity Rating (SSR).
Why SSR: when you ask an LLM for a number directly ("rate 1 to 5"), it answers 3 or 4 almost every time, and the spread looks nothing like real people. SSR asks for a sentence instead. It then measures how close that sentence is in meaning to reference sentences for each rating, which gives a probability for every point from 1 to 5. In the paper (57 real product surveys, 9,300 people), SSR reached 90% of the consistency real people have with themselves. Its rating spread matched the real one with a KS similarity of 0.88. Asking for a number directly scored 0.26.
Ask only for what is missing:
concept.md. If the user gives a link or image, write a plain description of it, because text works almost as well as images in the paper.anchors/agreement.json.Write personas.jsonl, one person per line, with realistic and varied demographics that match the target market:
{"id": "p001", "age": 29, "age_band": "25-34", "gender": "female", "income": "lower-middle, careful with money", "region": "Pune, India", "occupation": "school teacher"}
Rules that matter, from the paper:
age_band field so results can be broken down by it.python3 scripts/simulate.py --concept concept.md --personas personas.jsonl --samples 2 --out responses.jsonl
scripts/.claude (Claude Code), codex (Codex) or gemini (Gemini CLI). In Cursor, Antigravity or any other agent, pass a command that reads a prompt on stdin, for example --llm-cmd 'llm -m gpt-4o' or --llm-cmd 'claude -p'. --model passes a model name to the detected CLI.python3 scripts/ssr.py responses.jsonl --anchors anchors/purchase_intent.json --by age_band --out results
OPENAI_API_KEY is set, it uses OpenAI's text-embedding-3-small, as in the paper. Otherwise it uses the local model BAAI/bge-small-en-v1.5 (run pip install sentence-transformers first).--human 12,30,80,150,90 compares the result with a real survey's counts for ratings 1 to 5, and reports the KS similarity. Use it whenever the user has any real data, so you can check the setup before trusting it on new concepts.--first-sentence. Personas state their intent in their first sentence. On long answers, the small local model gets pulled toward the middle of the scale by the details that follow, and firm "no" answers end up near 3. OpenAI embeddings handle whole answers better.--temperature defaults to 1, which is what the paper used. Values below 1 sharpen the distributions and values above 1 flatten them. Only tune it against real data.--selftest checks the maths.Give the user, in plain words:
results/report.md. Top-2-box is the share of people rating 4 or 5.Comparing concepts: run steps 3 and 4 once per concept, with the same personas and question, then compare the means. SSR is best at ranking concepts against each other. Its absolute numbers are less reliable.
These run after step 4 and don't change the steps above.
python3 scripts/compare.py A=results-a B=results-b ranks scored runs and says whether the lead is bigger than 0.2.compare.py A/plain=... A/copy=... B/plain=... B/copy=.... If it warns that the winner changes with the wording, tell the user plainly that the copy, not the idea, may be driving the score.python3 scripts/interview.py results turns the most negative answers into open questions for real customer interviews, saved to results/interview-questions.md. Offer it at the end of a run, because checking the objections with real people is the next step.anchors/ are written for this skill, following the paper's rules. The paper's own sentences are not published. Results move a little with the reference sentences, which is why six sets are averaged.Source: Maier, Aslak, Fiaschi et al. (2025), LLMs Reproduce Human Purchase Intent via Semantic Similarity Elicitation of Likert Ratings, arXiv:2510.08338. Reference code: github.com/pymc-labs/semantic-similarity-rating
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub aryamansi17/synthetic-consumer-research --plugin synthetic-consumer-researchOther plugins' skills for the same job