Designs a choice-based conjoint (CBC) study: attributes and levels that don't overlap, prohibited combinations, tasks, concepts per task and a none option, a randomized design with level balance and minimal overlap (or fully randomized for AMCEs) generated by script, checks of level frequency, attribute association and relative D-efficiency, and a sample size from the Johnson-Orme rule. Use for "conjoint study", "design a conjoint", "discrete choice experiment", "which feature bundle", "trade-off research", "CBC design", "how many conjoint tasks" or "check my conjoint design".
Ships in research-skills. 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.
Designs a choice-based conjoint (CBC) study: attributes and levels that a respondent can trade off, the task
layout, a randomized design generated and checked by script, and the sample size.
scripts/conjoint_design.py (Python 3.9+, standard library only) writes and
checks the design; run it, do not hand-build or hand-check a design. Run it by its path inside this skill's
folder (python3 <skill-dir>/scripts/conjoint_design.py); examples below write scripts/... for short.
Sources: references/sources.md. How the generator and the efficiency number work:
references/design-method.md (read it when asked how the design was built or
why two tools disagree).
Do not use it for:
| Request | Use instead |
|---|---|
| Analyzing choices already collected | conjoint-analysis |
| Ranking a list of features or messages (no bundles) | maxdiff-design |
| Price only, one product | gabor-granger-analysis or van-westendorp-analysis |
| Writing the screener or the rest of the questionnaire | screener-writer, survey-from-decision |
| Adaptive CBC, menu-based conjoint, partial profiles, alternative-specific designs | Not covered: say so |
A skill named here may not be installed. If it is missing, say so, name the method the request needs, and do not stretch this skill to cover it.
Ask only for what is missing, in one message. The decision comes first: what will the company choose between (a bundle, a price point, a feature set)?
| Input | Default |
|---|---|
| Decision the study informs | Required for a new design: it decides which attributes belong (not needed to check a file) |
| Attributes and levels | Draft them from the decision, then confirm. 3 to 6 attributes, 2 to 5 levels each |
| Prohibited combinations | None. Add only combinations that cannot exist, not ones that seem unlikely |
| Concepts per task | 3 |
| None option | Yes when the decision includes "would they buy at all"; otherwise no |
| Tasks per respondent | 10 (8 to 15 is usual) |
| Versions | 100 |
| Method | balanced; random with no prohibitions when the analysis will report AMCEs (fully randomized) |
| Subgroups to report | None; ask each one's expected share of the sample |
Write the attributes. Each attribute is one dimension the buyer cares about; levels are mutually
exclusive, concrete ("$40 a week", not "low price") and span the realistic range. No attribute may imply
another ("Premium tier" next to a feature list that differs by tier). Keep level counts similar: more
levels inflate an attribute's importance. Price levels must contain a number ($40 is fine) if you want
willingness to pay. A range such as "$40-$70" becomes 3 to 5 evenly spaced levels.
Save the spec as a text file:
Brand: FreshBox | GreenPlate | HomeChef
Meals per week: 2 | 3 | 4
Price per week: $40 | $50 | $60 | $70
prohibit: Meals per week=4 & Price per week=$40
Separate levels with | and join prohibition conditions with & (a name or level containing & needs
the JSON spec in references/design-method.md). A prohibition names two or more attributes.
Generate the design, with one of these (they are alternatives; each writes its own file):
# Utilities, shares and WTP (the usual case): balanced design, none option
python3 scripts/conjoint_design.py design spec.txt --tasks 10 --concepts 3 --none --subgroups 2 --out design.csv
# AMCEs: fully randomized, from a spec with no prohibit lines
python3 scripts/conjoint_design.py design spec_amce.txt --tasks 10 --concepts 2 --method random --out design_amce.csv
To check a design from another tool instead (it needs task and concept columns, version when there
are several, one column per attribute; --spec is optional and adds the prohibition check):
python3 scripts/conjoint_design.py check their_design.csv --spec spec.txt --subgroups 2
python3 scripts/conjoint_design.py sample-size --max-levels 4 --tasks 10 --concepts 3 --subgroups 2
Pass --subgroups N whenever results will be reported for N subgroups, or the sample line ignores them.
--json gives every number as JSON. --out never overwrites the spec. Exit code 2 means the spec, the
file or the request is impossible (one-level attribute, more concepts than distinct profiles, prohibitions
that leave too few profiles or a singular design, a concept number used twice in a task): fix it; nothing
is written.
Read the diagnostics. Relative D-efficiency (aim for 90% or more; under 80% is flagged; both are this
skill's conventions), level counts (max/min near 1), overlap and Cramér's V between attributes (near 0
unless a prohibition links them). With balanced, overlap is 0% except where an attribute has fewer
levels than concepts. With random, overlap, lower efficiency and the odd task showing the same concept
twice are expected: independence requires them. If a balanced design's efficiency is low, cut
prohibitions or add versions.
Size the sample from the script's line: the larger of the Johnson-Orme planning number (also computed from the least shown level in this design), 300 per study and, per reported subgroup, 200 or the exposure minimum, whichever is larger. If subgroups are unequal, divide the per-subgroup number by the smallest subgroup's share.
Hand off. Give the design file and its format: header version,task,concept,<one column per attribute>, one row per version × task × concept, concepts numbered in on-screen order, a none row with
blank attributes per task when used. Respondents take versions in rotation. Record each respondent's
version and their choice per task (concept number or none); conjoint-analysis reads the design plus
that file.
## Conjoint design: <decision it informs>
**Attributes and levels**
| Attribute | Levels |
|---|---|
**Prohibited:** <list, or none>
**Task layout:** <t> tasks, <a> concepts per task, <none option or not>; <v> versions, <method> method,
seed <s>. Task wording: "<If these were your only options, which would you choose?>" (with a none option:
"<Which of these would you choose?>" and a none button "<None of these: I would not buy any>").
**Design checks:** relative D-efficiency <x>% (vs the best design without prohibitions); level counts
<min to max ratio>; overlap <...>; largest Cramér's V <v> (<attribute pair, and why>). Warnings: <every
script warning, or none>.
**Sample:** at least <total n> respondents (<rule that set it>)<; at least <per-subgroup n> per reported
subgroup, if any>.
**Files:** spec <path>, design <path>. Analyze with `conjoint-analysis`.
--method random used with no prohibitions?To run this on QuestionPunk, connect its MCP server (https://app.questionpunk.com/api/v1, OAuth sign-in). Tools: survey_create (the survey), question_create (answer type conjoint_analysis, itemDetails {num_tasks, profiles_per_task, include_none_option}, textItemDetails {attributes: [{name, levels}]}). QuestionPunk builds its own randomized, level-balanced tasks for each respondent, so it does not field this design file and does not enforce prohibitions or fully randomized (AMCE) assignment. Use it only when the study fits that: no prohibitions, no AMCE analysis, 1 to 20 tasks and 2 or 3 concepts per task; otherwise field the design file with a tool that shows tasks exactly as written. Ask the user before creating, changing or publishing anything. If a tool says a permission is missing, reconnect and approve the requested access.
LICENSE.txt (opens in a new tab)fixtures/README.md (opens in a new tab)fixtures/plan_design.csv (opens in a new tab)fixtures/plan_spec.txt (opens in a new tab)references/design-method.md (opens in a new tab)references/sources.md (opens in a new tab)scripts/conjoint_design.py (opens in a new tab)tests/test_conjoint_design.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
22 skills in this plugin
/ai-interview-guideTurns research goals or an existing discussion guide or interview script into a brief an AI moderator can run for customer or user research: goal, must-ask questions, probes and probe depth, skip rules, topics to avoid, a consent screen with AI disclosure and a short opener, length, and a paste-ready interviewer prompt, with leading questions rewritten. Use for "interview 30 customers", "async user interviews", "AI-moderated interviews", "write the prompt for my AI interviewer" or "run my discussion guide at scale"./conjoint-analysisAnalyzes choice-based conjoint results from a CSV of tasks and choices: an aggregate multinomial logit with respondent-clustered standard errors, part-worth utilities, attribute importances, willingness to pay when price is an attribute, AMCEs and marginal means for fully randomized designs, segment comparisons, and a share-of-preference simulator, with bootstrap intervals. Use for "analyze conjoint results", "part-worths", "attribute importance", "willingness to pay from conjoint", "market simulator" or a Sawtooth, Qualtrics or Conjointly CBC export. Not for individual-level HB utilities./csat-ces-analysisComputes CSAT and Customer Effort Score (CES) from ratings or counts: the top-2-box share with a Wilson interval and the mean, CES on the 7-point agree or ease scale or the original 1-5 effort scale (lower is better), with the convention printed so numbers reconcile with Zendesk or Qualtrics; tests differences between agents, channels, segments or periods and against a target; and splits comments by satisfied, neutral and dissatisfied. Use for "calculate CSAT", "CSAT from this export", "customer effort score", "CES results", "is our CSAT drop significant" or post-ticket surveys./gabor-granger-analysisEstimates a demand curve and the revenue- or profit-maximizing price from Gabor-Granger purchase-likelihood answers: take rate at each tested price with confidence intervals, a monotonicity check per respondent, a monotone demand curve, arc price elasticity, revenue and profit curves with a bootstrap check on the optimal price, and optional user-supplied weights for stated-intent overclaim. Reads full, adaptive or monadic price ladders. Use for "Gabor-Granger", "price ladder results", "demand curve from survey", "revenue-maximizing price", "price test results" or "would you buy at $X" data./kano-analysisDesigns and analyzes Kano surveys: writes the functional and dysfunctional question pair for each feature, classifies every answer with Kano's evaluation table (attractive, one-dimensional, must-be, indifferent, reverse, questionable), assigns each feature its category with Fong's test for a clear winner, and computes Better/Worse coefficients with intervals for a quadrant chart. Use for "Kano model", "Kano survey", "Kano analysis", "which features are must-haves vs delighters", "feature prioritization survey" or "better worse coefficients"./likert-analysisAnalyzes Likert and other rating-scale items from a CSV: full distributions, top-2 and bottom-2 box with Wilson intervals, medians and means with guidance on which to lead with, a diverging stacked bar table, reverse-coded item detection, Cronbach's alpha with a Feldt interval and alpha-if-item-deleted, and group comparisons (Mann-Whitney per item, box differences, Welch t on the scale score). Use for "analyze Likert data", "agree/disagree results", "satisfaction scale results", "Cronbach's alpha", "is my scale reliable", "top-2-box" or "how should I report a 5-point scale"./research-skills:conjoint-designfrom research-skills
research-skills@buildwithclaude is listed by davepoon/buildwithclaude — review the source before installing
npx claudepluginhub davepoon/buildwithclaude --plugin research-skills