From ds-crew
Use when a data question is fuzzy or high-stakes — clarifies scope and writes analysis-spec.md before running a solver
How this skill is triggered — by the user, by Claude, or both
Slash command
/ds-crew:ds-clarifyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A verifier can confirm an answer matches *the question as the agent understood it*. It cannot
A verifier can confirm an answer matches the question as the agent understood it. It cannot
know your true intent. The classic data-science failure — the kind DS-STAR's own paper shows
(the NexPay case, Fig 3) — is a precisely computed answer to the wrong question: a different
metric definition, a different time window, a different null policy than you had in mind. No
amount of downstream verification fixes that. ds-clarify closes the gap up front.
This is the human-in-the-loop direction DS-STAR names as future work (paper §5: "combine the automated capabilities of DS-STAR with the intuition and domain knowledge of a human expert"). It is modelled on the relentless decision-tree interrogation of grilling skills, specialized to the ambiguities that actually move data-science numbers.
Use it before ds-star / ds-star-plus when the request is high-stakes (a reported figure,
a board number, an irreversible decision), under-specified (vague metric, no format given), or
contested (a previous answer was disputed, or two runs disagreed). Skip it for already-precise,
low-stakes one-liners — clarification has a time cost; spend it where ambiguity is real.
A confidently wrong question is worse than an honest "which did you mean?" Every ambiguous choice you silently resolve is a coin flip on correctness. Surface them, get a decision, write it down. The written spec is the deliverable — not just the conversation.
Run the analyzer (../ds-star/scripts/analyze_file.py or ../ds-star-plus/scripts/analyze_file.py)
on the referenced files first, so your questions are grounded in the real schema, not guesses.
Knowing the columns/values lets you ask "is card_scheme = NexPay the intended filter?" instead of
"what is NexPay?". An informed question is answerable in one reply; an uninformed one wastes a round.
Work through references/clarify_checklist.md. For each item that is genuinely ambiguous for this
question, ask the user — batching related questions. Do not ask about items the question already
pins down, and do not invent ambiguity that isn't there. Prefer concrete either/or choices grounded
in the data ("include refunds (negative amounts) or exclude them? I see 1,204 negative rows") over
open prompts. One pass is usually enough; a second only if answers open new forks.
Fill references/spec_template.md into a file the analysis run will read — default
data/analysis-spec.md (confirm the path). Every resolved choice becomes a line. Anything the user
explicitly left to your judgement is recorded as a stated assumption, not a silent one.
State: "Spec written to <path>. Running ds-star-plus against it." The downstream verifier now
checks the answer against the spec's concrete criteria (units, scope, format) — i.e. the spec
is the per-task rubric for the six failure modes in ../ds-star-plus/references/rubric.md. For a
long run, optionally re-surface any consequential new assumption at a router backtrack before
spending more rounds.
Metric definition · population/scope · time window + timezone · filters & category values ·
null / missing / sentinel handling · duplicate & dedup keys · outlier policy · units & scale ·
rounding/precision · tie-breaking & ordering · exact output format (string template, JSON shape,
CSV column order, file name/path, chart title/labels) · acceptance check. Full tree with prompts:
references/clarify_checklist.md.
A written analysis-spec.md (template: references/spec_template.md) plus a one-line summary of
the consequential decisions, e.g. "active = ≥1 login in trailing 28 days (Europe/Warsaw); refunds
excluded; revenue net of discount; answer as a 1-dp percentage." That sentence is the contract the
rest of the pipeline — and the user — can hold you to.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
npx claudepluginhub adamkrysztopa/ds-crew --plugin ds-crew