/data-analytics-skills:survey-analyzerfrom data-analytics-skills
Analyzes survey CSV exports for completion rates, Wilson confidence intervals, segment cross-tabs, and open-text themes. Also vets questionnaires for leading, double-barrelled, or poorly worded questions.
Ships in data-analytics-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.
Two offline tools for survey work. survey_results.py reads the responses CSV you export from Typeform,
Google Forms or similar and reports what the data can and cannot support: counts, completion, rating
distributions with intervals, one segment cross-tab, open-text themes. questionnaire_check.py reads the
questionnaire before you send it and flags wording and answer-option faults. Small n is flagged on every
line it applies to, never hidden.
Run on a flawed export (40 respondents, one region has 4 of them):
python3 scripts/survey_results.py assets/flawed_responses.csv --questions assets/sample_questions.json --segment region
Real output (excerpt, exit 1):
FIX 11 issues
Read assets/flawed_responses.csv: 42 rows, 13 columns, 9 questions (likert 5, numeric 1, single 1, multi 1, open 1); questions from assets/sample_questions.json
Excluded 2 blank rows (no answer to any question), e.g. data row 11
Findings:
3. [low-completion] all required questions: only 18 of 40 respondents (45.0%) answered every required question
rule: internal heuristic: completion below 70.0% suggests drop-off (change with --completion)
fix: Look at value (blank for 15 respondents) and shorten or reorder around it.
10. [small-segment] region: groups below the minimum size: East (n=4), North (n=28), South (n=8)
rule: internal heuristic: fewer than 30 respondents per group gives intervals too wide to compare
fix: Treat these groups as indicative only, or merge them into a larger group before comparing.
...
recommend [likert] "How likely are you to recommend Fernwood Studio to a friend?"
n=28 [SMALL n=28], not applicable=0, mean 3.79; top-2-box (4-5): 75.0% (21/28), 95% CI 56.6% to 87.3%
...
overall top-2-box by region ("Overall, how satisfied are you with Fernwood Studio?")
East: 75.0% (3/4), 95% CI 30.1% to 95.4% [SMALL]
North: 78.6% (22/28), 95% CI 60.5% to 89.8% [SMALL]
South: 50.0% (4/8), 95% CI 21.5% to 78.5% [SMALL]
North vs South: intervals overlap; do not report this as a difference
The questionnaire checker, on a flawed question list (python3 scripts/questionnaire_check.py assets/flawed_questions.json):
1. [leading-question] q1: "Don't you agree that our instructors are amazing?" uses "amazing"
rule: wording that signals the preferred answer biases responses (internal heuristic)
fix: Reword neutrally: "How would you rate our instructors?"
6. [overlapping-ranges] q4: options "18-25" and "25-34" both include 25
fix: Change one boundary so the ranges meet once, e.g. make "18-25" end at 24.
Settle these before running; ask only about the ones that would change the result, otherwise pick a default and say which.
--min-n).If the user wants numbers straight away, run with defaults and state the assumptions at the top.
assets/sample_questions.json is the template). Ids equal the CSV headers.python3 scripts/survey_results.py responses.csv --questions questions.json.--segment <column> for the comparison; only report a gap the tool marks as non-overlapping.--themes my_themes.json after adding words from the "frequent words" line.[SMALL] markers.python3 scripts/questionnaire_check.py questions.json.--segment; read the group sizes line first.--min-n or report them as indicative only.Mistake: "75% satisfied" is quoted from 4 respondents. [PROVEN] Intervals from tiny groups span most of the scale (3 of 4 gives 30.1% to 95.4%).
Instead: Quote n and the interval, and keep the [SMALL] flag on the slide.
Mistake: 78% against 50% sounds large; with n of 28 and 8 the intervals overlap and the data does not separate them. Instead: Report a segment difference only when the tool says the intervals do not overlap, and still do not claim a cause.
Mistake: A question 37% of people skipped is reported as if it described everyone. [RECOMMENDED] It describes the people who answered. Instead: Print the blank rate beside the result, and check why it was skipped (confusing, sensitive, not applicable).
Mistake: "How satisfied are you with the price and quality?" cannot be answered with one number, and no analysis fixes it afterwards.
Instead: Run questionnaire_check.py before fielding; split the question and pilot it.
Mistake: Theme counts match words, so "not expensive" counts under price. [EXPERIMENTAL] Keyword lists are a first pass, not coding. Instead: Read the quoted examples, extend the keyword list, and quote answers rather than percentages when n is small.
Mistake: Blanks and "N/A" answers pushed into the denominator or scored as the bottom of the scale. Instead: Leave them out of n and show their count beside it, as the tool does.
scripts/survey_results.py — responses CSV to counts, completion, intervals, cross-tab, themesscripts/questionnaire_check.py — questions JSON to wording and option findingsscripts/survey_core.py, survey_items.py, survey_segments.py — shared library modules (not commands)references/survey-methods.md — what each number and rule means, thresholds, which are configurablereferences/themes.json — editable starter keyword lists for open textreferences/question-rules.json — editable word lists for the questionnaire checkerassets/ — sample_* (exit 0), flawed_* (exit 1), malformed_* (exit 2) inputs and contract.jsonExit codes (both tools): 0 clean, 1 findings to act on, 2 unusable input (one BLOCKED: line on
stderr). --format json gives the same report as JSON; --help works on both.
In scope: one responses CSV per run, rating, single-choice, multi-select, numeric and open-text questions, one segment column, 95% Wilson intervals, keyword themes, questionnaire wording and option checks.
Out of scope: weighting and non-response adjustment, significance tests between segments (the tool
compares intervals only), multi-select exports with one column per option, conjoint or MaxDiff analysis,
sentiment or meaning from open text, fetching data from any survey platform (no network calls), and
sample-size planning (see statistical-analyst).
Know the limits: thresholds marked "internal heuristic" are rules of thumb. The intervals assume a random sample and do not account for who chose to respond. Platform export formats change; check your tool's current export. The questionnaire checks are word-list based and will miss and over-flag.
README.md (opens in a new tab)assets/contract.json (opens in a new tab)assets/flawed_questions.json (opens in a new tab)assets/flawed_responses.csv (opens in a new tab)assets/malformed_questions.json (opens in a new tab)assets/malformed_responses.csv (opens in a new tab)assets/malformed_themes.json (opens in a new tab)assets/sample_questions.json (opens in a new tab)assets/sample_responses.csv (opens in a new tab)assets/sample_themes.json (opens in a new tab)references/question-rules.json (opens in a new tab)references/survey-methods.md (opens in a new tab)references/themes.json (opens in a new tab)scripts/questionnaire_check.py (opens in a new tab)scripts/survey_core.py (opens in a new tab)scripts/survey_items.py (opens in a new tab)scripts/survey_results.py (opens in a new tab)scripts/survey_segments.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 skills in this plugin
/analytics-engineerAnalytics engineering across data modeling, dbt, transformation, and semantic layers, with tools that check a dbt manifest/catalog (model quality, downstream impact, schema drift, model docs). Use when building dbt models, designing star schemas, writing staging or mart SQL, configuring data tests, optimizing warehouse queries, or before merging a dbt change that may break dashboards.
/business-intelligenceScore KPIs against targets, validate metric definitions, lay out dashboards and review a finished dashboard spec for overload, chart misuse and conflicting definitions. Use when designing, reviewing or automating BI dashboards and KPIs.
/npx claudepluginhub borghei/claude-skills --plugin data-analytics-skillsOther plugins' skills for the same job