/devils-analyst:hybrid-researchfrom devils-analyst
Runs market research with AI in the loop: decides when synthetic respondents are acceptable, drafts surveys, builds personas, runs backward pilots, and scores recovery against human benchmarks.
Ships in devils-analyst. 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.
An LLM can draft the survey, play the respondents, probe itself and code the themes in an afternoon. It cannot tell you the right question, and its answers look right on the mean while being wrong on the spread and on how answers hang together. This skill runs the hybrid: the LLM proposes, the checks attack, the human disposes.
| The user wants to... | Go to | Data you need |
|---|---|---|
| decide whether synthetic respondents are OK for a question | 2 | research brief, the decision it feeds |
| draft or review a survey or discussion guide | 3 | brief, target population, any draft |
| build personas and prompts, generate synthetic answers | 4, 5 | final instrument, sample spec or human sample demographics |
| pilot an instrument before fielding ("backward" research) | 6 | instrument, synthetic panel |
| judge whether a synthetic panel matches reality | 7 | human data on the same items (respondent x item) |
| run or judge AI interviews, extract themes | 5, 8 | guide, transcripts |
| write up findings | 9 | all of the above |
If no research brief exists (business objective, research question, target population, intended use), stop and ask for it. That stage is human-owned.
Walk it top to bottom. The first "stop" wins.
| # | Question | If yes | If no |
|---|---|---|---|
| 1 | Is the research question and design (exploratory, descriptive, causal) set by a human? | next | stop: ask for the brief |
| 2 | Is the topic new to the world (a product, behaviour or trend the model cannot have seen)? | stop: human respondents only; LLM for drafting and analysis | next |
| 3 | Culturally sensitive topic, or a population the model is likely to stereotype (non-Western, in-group language)? | human respondents for those segments; synthetic for the rest at most | next |
| 4 | Vulnerable groups, children, health, politics? | human judgement on what may be asked; no synthetic stand-ins | next |
| 5 | Would personal data (PII) have to go into prompts? | stop: anonymise or do not send | next |
| 6 | Is the decision high-stakes (launch, pricing, large budget)? | synthetic only to preview and refine the instrument; field to humans for the evidence | synthetic may suffice, after it passes section 7 on a historical benchmark |
| 7 | Hard-to-reach population (B2B buyers, specialists) with a tiny human sample? | synthetic as a prior and supplement; report agreement and divergence with the humans | as above |
Configuration by available context (quant):
| You have | Use | Expect |
|---|---|---|
| nothing beyond personas | zero-shot (LLM1) | direction right, extremes too strong, low variance, correlations near 0 |
| prior answers of the same respondent | few-shot with response history (LLM2) | variance and correlations improve; mean bias unchanged |
| relevant past qual research or reports | few-shot + RAG (LLM3), K = 3-5 chunks | best correlation recovery; mean bias unchanged |
Response history is non-negotiable for any survey run. Qual: start with Hybrid 3 (human guide and sample, LLM respondent and moderator); see references/qual-interviews.md.
The LLM drafts screeners, concept descriptions, Likert items, behaviour bins, demographics and skip logic. The human refines and signs off. Before sign-off run every item through this table:
| Item check | Fails when | Fix |
|---|---|---|
| Double-barrelled | two attributes joined ("fast and easy", "visually or for the brand") | split into two items |
| Leading or loaded | wording presumes the answer ("our new improved", "how much did you enjoy") | neutral wording, balanced scale |
| Scale | binary yes/no on an attitude; unbalanced or unanchored scale | 5- or 7-point Likert, labelled ends |
| Rank order | "rank these 5" | rate each item separately |
| Open text for a structured variable | "gender: ____" | fixed options |
| Expected spread | 90%+ will answer the same way | rewrite or drop |
| Construct | item does not measure what the brief needs (face validity) | rewrite or add the missing item |
| Flow (A/B surveys) | anything between stimulus and outcome items; outcome items differ by arm | warm-up, stimulus, outcomes, characteristics, demographics; identical outcomes |
Item rules, the A/B flow and outcome items: references/instrument.md.
Quant personas are a vector of discrete variables, not a story. Qual personas add biography, quirks and conflicting attitudes.
| Layer | Contents |
|---|---|
| Core demographics | age, gender, ethnicity, location, urbanicity, education, income, employment, marital status, household size |
| Category qualifiers | ownership, usage frequency, purchase role, brand awareness (must satisfy the screener) |
| Attitudinal priors | category attitudes, price sensitivity, lifestyle (add when demographics are too thin, which is usual) |
Matrix checks:
Prompt = context + system role (persona) + user role (question and format). Never skip the context. Templates: references/quant-synthetic.md.
Generation loop per persona, per question:
Report: retry rate and unresolved failures per question.
Analyse the synthetic panel as if it were real, then use it to fix the instrument, not to answer the business question.
| Synthetic result | Read it as | Action |
|---|---|---|
| an item with (near) zero variance | wording problem or too obvious, or variance compression | rewrite or drop; confirm on humans |
| a needed dimension has no item | gap | add the item |
| one concept dominates by a wide margin | the human survey may only confirm it | human decides whether to field; never "launch on synthetic" |
| item SD for power | a floor, because synthetic variance runs low | n per arm = 16 x sigma^2 / delta^2 with sigma^2 = synthetic variance / variance ratio from past studies (section 7); if none, show n as a minimum and give the range |
Compute on the same items, the same scale, and a demographically matched sample. Formulas and code: references/recovery-metrics.md.
| Metric | Formula | Pass |
|---|---|---|
| Mean bias (MAE) | mean over items of abs(mean_human - mean_LLM) | < 0.5 on a 5-point scale |
| Variance ratio | var_LLM / var_human, per item | 0.7 to 1.3 on every key item |
| Correlation MAE | mean over item pairs of abs(r_human - r_LLM) | < 0.2 |
| Distribution | chi-square on binned answer counts, per item | p > .05 |
| Winner | top concept, synthetic vs human | same |
| Rank order | Spearman rho of item or concept rankings | >= .80 |
Read the metrics in this order: variance ratio and correlation MAE first, mean second. A matching mean with a variance ratio below 0.7 is a failed panel: segment cuts, drivers, correlations and sample sizes from it are wrong. Typical zero-shot pattern: direction right, about 0.5-0.7 points too extreme on 5 points, variance low, correlations near zero. Context fixes structure (variance, correlation), not level (mean). Correct a mean only with a bias measured on past studies in the same category.
No human benchmark: say the panel is unvalidated, run a historical replication (old survey, its demographics) before trusting it, and log every study in a validation repository.
Detail: references/qual-interviews.md.
Verdict: [synthetic OK for X / preview only / not acceptable]: [one line]
Deciding number: [e.g. "variance ratio 0.31 on 7 of 8 items; correlation MAE 0.46"]
Source label: every number tagged human, synthetic, or both
Naive read and why it is wrong: [one line]
Action: [fix instrument / add segment / field N humans per arm / proceed]
How to verify: [human wave, historical replication, A/B test]
Human-owned: [the question, the design, the decision; open questions for the user]
Never write "customers say" or "the market wants" about synthetic answers. Write "synthetic respondents (n=, model, configuration) answered". Do not present a p-value from a synthetic panel as evidence: the analyst chose n, so more personas always make it "significant". Do not pool synthetic and human counts into one ranking; report each source, then the overlap. Commercial synthetic panels get the same checks (sections 4, 5, 7).
| Move | Adversary asks | Check that settles it | If it fails |
|---|---|---|---|
| Accept the brief | "Who set this question, and what decision rides on it?" | brief has objective, question, population, use | ask the human; do not draft |
| Choose synthetic | "Is this new to the world, sensitive, PII, or high-stakes?" | walk section 2 | humans for the evidence; synthetic as preview only |
| Sign off the instrument | "Could one answer mean two things, or does the wording push it?" | every item through the section 3 table | split, neutralise, rescale |
| Build the matrix | "Who that the decision targets is not in here?" | coverage vs brief and decision; distribution table | add the segment, regenerate |
| Generate | "Would these answers parse, and did any get filled in silently?" | validation log, retry and missing counts | fix the format prompt, re-run |
| Pilot backward | "Is this zero variance the item or the model?" | compare with a human pilot or past variance ratio | rewrite item; treat SD as a floor |
| Claim a match | "Does the spread and the correlation match, not only the mean?" | variance ratio and correlation MAE computed | panel fails; add history, priors, RAG |
| Merge themes | "Which themes did a human ever say?" | source tag per theme | LLM-only themes become hypotheses |
| Recommend | "What does it cost if the synthetic read is wrong, and what would the CFO ask?" | downside stated; a human wave or test named with its n | shrink the bet or field first |
Score and probe before handing over. First the gate: every check in the table above passed; if one did not, fix it before scoring. Then score the draft 0-100 on clarity (unambiguous), relevance (answers the question asked, for this reader), depth (explains why with numbers) and insightfulness (says something new and what to do). If any is below 80, write the probe question that would raise it, answer it from the data, revise, and score again (two loops at most). The question, the research design and the decision belong to the person asking: when either is unclear, ask instead of assuming.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub c-kapsalis/devils-analyst --plugin devils-analyst16 skills in this plugin
/auditUse this skill when someone wants a whole marketing setup or account checked, not one report: "audit our Google Ads account", "audit my GA4 setup", "audit our tracking", "health check our email program", "what's broken in our setup", "where are we wasting money", "we just took over this account, what should we fix first", "is our Meta / Performance Max set up right", "check our UTMs", "audit our Search Console", "audit our CRM or lifecycle program", "check our Power BI model", "review this TMDL / semantic model", or an account, settings or model export with "what's wrong with it". It maps the setup, runs the checks for each area present (paid search, Performance Max, Meta, GA4 and UTMs, Search Console, email, CRM, revenue, experiments, attribution, dashboards, Power BI), estimates the money at stake, ranks findings Must fix, Should fix, Nice to have and ends "Fix N first". One report or deck: use review. Whether a single channel pays: use channel-audit./brand-healthUse this skill when the question is about the brand rather than one campaign: "is our brand getting stronger or weaker", "is our brand healthy", awareness, consideration or preference from a tracker or survey, brand search volume, direct traffic as a brand signal, share of voice or share of search, social mentions and sentiment, "are promotions hurting the brand", baseline sales, price premium or "can we raise prices", "should we cut brand ads and put it into performance", a flat brand score, NPS up but repeat purchase down, "should we launch [product] under our brand", line or category extension, sub-brand, repositioning, rebrand, "milk or kill this brand", brand valuation, and whether content is on-brand. It measures brand health from the data, separates short-term sales from long-term equity, checks per segment, and turns the result into a decision with a way to verify it./channel-auditUse this skill when a marketer asks whether a digital channel or tactic pays and what to change in it: "should we raise our Google Ads bids or budget", "we're losing impression share", "what's the most we can pay per click", "is our Quality Score hurting us", "is display worth it, the CTR is terrible", "which audience or day did the ad work for", "should we cap frequency", "are our influencers worth it", "should we work with bigger creators", "TikTok or Instagram", "do discount codes help", "which keywords should we target for SEO", "why don't we rank", "our pages compete with each other", "are our backlinks good", "why aren't we in the local map pack", "how do we get cited by ChatGPT or AI Overviews", "which attribution model should we use", "data-driven and last click show the same", "where do people drop out of checkout", "is our bounce or cart abandonment bad". It works per campaign, creator tier, keyword or segment with break-even maths on margin, and labels what attribution can and cannot prove./diagnoseTurn a marketing number that moved into a diagnosis a consultant would sign, covering the likely cause, the evidence for and against it, the next action and how to verify it. Uses the Cohortica funnel diagnostic (acquisition, activation, revenue, retention, each declining, flat or inefficient), the brand strategy diagnostic, and 59 practitioner playbooks across email, paid search, Performance Max, SEO, GA4, paid and organic social, customer analytics, attribution, GEO and product. Use after a dashboard or the whats- changed skill finds a real movement, or when the user asks why performance is down, what to do next, or for recommendations./evidence-checkUse this skill before you say that something worked, won, caused, or should be scaled, cut or repeated: A/B and subject-line test results, "did B win", "should we roll it out", before/after a change (new ads, faster pages, a redesign), a promotion or sale, a holdout or lift study, a brand-search pause, ROAS that looks great, "which channel contributes least" or budget cuts across channels, "what makes our posts perform", "which landing page converts better", and any traffic drop someone wants blamed on SEO or a team. It checks the evidence (sample ratio, significance and power, novelty, control groups, seasonality, regression to the mean, Simpson's paradox, confounders, incrementality, pull-forward, category-wide shifts, attribution model) and says what the data can and cannot support./marketing-dashboardUse this skill before analysing or reporting on ANY marketing data, even when the task looks simple: CSV or spreadsheet exports, or connector data, from email platforms (Klaviyo, Mailchimp, Brevo, HubSpot email), ad platforms (Google Ads, Meta, LinkedIn, TikTok), GA4, Search Console, HubSpot or another CRM, Shopify or a warehouse. Triggers include performance reports, dashboards, "how did X do this month", campaign or channel reviews, client reports, CAC, ROAS, CTR, conversion, SEO or pipeline questions, and any use of Claude Dashboards on marketing data. It sets which questions to answer, which definitions and comparisons are correct, how to explain what changed, and how to end with what to do.