Install
openclaw skills install @adecimall/psych-questionnaire-cleanerClean, score, and audit psychology questionnaire or survey datasets with reproducible rules, participant-level quality flags, privacy protection, Chinese-language outputs, and traceable reports. Use for 心理学问卷、量表、调查数据的缺失值、异常编码、重复记录、作答质量、反向计分和分量表清洗;do not use to diagnose participants or invent an inst
openclaw skills install @adecimall/psych-questionnaire-cleanerClean questionnaire data reproducibly while preserving the distinction between raw observations, mechanical corrections, quality flags, exclusions, and scale scores.
Use the least destructive mode that satisfies the request:
If the user does not choose a mode, use Audit + non-destructive Clean. Do not score until an item dictionary or authoritative scoring key is available.
Look for a protocol, preregistration, codebook, questionnaire manual, item dictionary, or an existing cleaning configuration. When no plan exists, read references/cleaning-plan-template.md and create a draft plan from evidence in the supplied files.
Clearly separate:
The following user-approved rules are exceptions to the ordinary flag-only default:
M. Exclude a record from the analytical dataset when duration < M / 3 or duration > 3M; both bounds are inclusive. Do not calculate a replacement median after exclusions. If no valid duration or no declared duration field exists, record the rule as not executable and do not infer one from incompatible timestamps.Read references/quality-indicators.md for the exact calculation, output fields, and the definition of regular-response flags.
Ask only for missing information that would materially change values or exclusions. Continue with an audit when scoring or exclusion details are unavailable.
Record enough provenance to reproduce the run:
Do not expose raw participant responses in the narrative report. Use aggregate summaries and pseudonymous row keys.
Perform only documented transformations and log each one:
Read references/quality-indicators.md when the request includes careless responding, low-quality responses, bots, speeders, straightlining, or participant exclusion.
Create one column per indicator and retain its underlying numeric value. Do not collapse unlike indicators into a single opaque judgment. Apply the approved response-time and attention-check exclusions above; use preregistered or user-approved cutoffs for any other exclusion, otherwise present sensitivity summaries and label cutoffs as proposals.
Flag regular response patterns, including declared longstrings, repeating cycles, and strictly monotonic runs, using the definition in references/quality-indicators.md. These are descriptive flags only and must not trigger exclusion unless the user later approves a separate rule. Do not run pattern detection across unrelated sections, different response ranges, attention checks, or free-text columns.
Never treat a long identical-response run, low within-person variability, multivariate outlier status, or a regular-response flag alone as proof of invalid responding. If a combined exclusion rule is approved, state its Boolean logic exactly and preserve all component flags.
Before scoring, confirm for every scale:
For a reverse-keyed item with confirmed bounds min and max, compute:
reversed = min + max - observed
Do not apply this formula to out-of-range or unresolved values. Name derived columns so they cannot be confused with raw items. Compute scores only when the confirmed completeness rule is met, and emit a score-status or score-missing-reason column.
Do not use internal consistency, factor loadings, correlations, or outcome associations to delete participants unless the user explicitly requests a documented psychometric analysis. Keep reliability and construct validation separate from routine data cleaning.
Follow references/output-contract.md. At minimum, deliver:
Validate that row counts reconcile, identifiers remain traceable, raw values can be recovered, score formulas match the plan, and repeated runs with the same inputs and plan produce the same outputs.
Lead with what changed and what did not. Report the number of records flagged and excluded separately. Distinguish data errors from plausible but unusual responses, and distinguish rule-based exclusions from exploratory sensitivity analyses. Warn when conclusions depend materially on an unapproved cutoff or missing scoring information.