hypothesis-testing — скилл для Claude Code: гипотезы и установка
Скилл hypothesis-testing для Claude Code превращает наблюдение в проверяемую гипотезу и план эксперимента. Определяет переменные и критерии опровержения.
MIT 113 установок ★ 139 обновлён 2026-10-23
npx skills add poemswe/co-researcher --skill hypothesis-testing -a claude-codeЧто делает hypothesis-testing
Скилл формулирует исследовательский вопрос, нулевую и альтернативную гипотезы, а также механизм предполагаемого эффекта. Он помогает определить роли переменных и измеримые способы их задать, выбрать экспериментальный или наблюдательный дизайн и описать контроль смешивающих факторов.
Отдельные шаги посвящены проверке механизма и критериям опровержения. Для пилота задаётся минимальный порог наблюдений, а результаты пилотных запусков исключаются из подтверждающей выборки. До фиксации плана нужно проверить парсер или оценщик на реальных ответах и задать правило разрешения неоднозначностей. Если пилот не достигает порога или шаг воздействия не происходит, нулевой результат нельзя считать опровержением гипотезы.
Какие задачи решает
- сформулировать проверяемые H₀ и H₁
- определить измеримые переменные и контрольные факторы
- выбрать экспериментальный или наблюдательный дизайн
- задать результаты, которые опровергнут гипотезу
- проверить оценщик и правило разбора ответов
Примеры запросов агенту
- Сформулируй проверяемую гипотезу по этому наблюдению и укажи, какие данные её опровергнут.
- Предложи экспериментальный дизайн, переменные и контрольные факторы для этого вопроса.
- Проверь план исследования: оцени пилотный порог и критерии фальсификации.
Как установить hypothesis-testing
1Через Skills CLI (Vercel)
npx skills add poemswe/co-researcher --skill hypothesis-testing -a claude-code2Вручную: положить файлы
~/.claude/skills/hypothesis-testing/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/hypothesis-testing/
1Через Skills CLI (Vercel)
npx skills add poemswe/co-researcher --skill hypothesis-testing -a codex2Вручную: положить файлы
.agents/skills/hypothesis-testing/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add poemswe/co-researcher --skill hypothesis-testing -a cursor2Вручную: положить файлы
.cursor/skills/hypothesis-testing/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install poemswe/co-researcher skills/hypothesis-testing2Вручную: положить файлы
.github/skills/hypothesis-testing/SKILL.md1Через Skills CLI (Vercel)
npx skills add poemswe/co-researcher --skill hypothesis-testing -a gemini-cli2Командой платформы
gemini skills install https://github.com/poemswe/co-researcher --path skills/hypothesis-testingВручную: положить файлы
.devin/skills/hypothesis-testing/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add poemswe/co-researcher --skill hypothesis-testing -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о hypothesis-testing
Как установить hypothesis-testing в Claude Code?
Выполните npx skills add poemswe/co-researcher --skill hypothesis-testing -a claude-code. Файл скилла: ~/.claude/skills/hypothesis-testing/SKILL.md.
Что делает hypothesis-testing?
Помогает сформулировать гипотезы, определить переменные и спланировать проверку. В плане также задаются условия, при которых гипотеза будет опровергнута.
Как скилл проверяет, что эксперимент действительно проверяет гипотезу?
Он требует задать измеримый показатель механизма и проверить его на пилоте. Если показатель не достигает порога или нужный шаг воздействия не происходит, нулевой результат не считается опровержением.
Исходный текст
SKILL.md · MIT
--- name: hypothesis-testing description: You must use this when formulating testable hypotheses, designing experimental controls, or defining falsification criteria. tools: - WebSearch - WebFetch - Read - Grep - Glob --- <role> You are a PhD-level specialist in scientific hypothesis development and experimental design. Your goal is to transform initial observations into testable, falsifiable, and rigorously defined hypotheses, accompanied by a robust plan for empirical validation. </role> <principles> - **Falsifiability**: Every hypothesis must be structured such that it can be proven wrong by evidence. - **Logical Rigor**: Ensure internal consistency between the observation, the mechanical "Why", and the resulting "If/Then" statement. - **Operational Precision**: Variables must be defined in measurable, observable, and valid terms. - **Factual Integrity**: Never invent preliminary data or sources to support a hypothesis. - **Uncertainty Calibration**: Clearly state the assumptions and boundary conditions under which the hypothesis holds. </principles> <competencies> ## 1. Hypothesis Formulation - **The "High-Quality" Checklist**: Focused, researchable, complex, and arguable. - **Directional vs. Non-directional**: Specifying effects (H₁: X > Y) vs. differences (H₁: X ≠ Y). - **Causal Mechanisms**: Defining the "Because" that explains the relationship. ## 2. Variable Mapping & Operationalization - **Variable roles**: Independent (IV), Dependent (DV), Control, Confound, Mediator, Moderator. - **Scaling**: Nominal, Ordinal, Interval, Ratio levels of measurement. ## 3. Experimental Design Selection - **RCTs**: The gold standard for causal inference. - **Quasi-experiments**: For cases where random assignment is impossible. - **Observational studies**: Longitudinal vs. Cross-sectional designs. </competencies> <protocol> 1. **Observation Analysis**: Deconstruct the phenomenon or data point of interest. 2. **Question Refinement**: Formulate a specific, complex research question. 3. **Hypothesis Construction**: Build the $H_0$ and $H_1$ statements with a stated mechanism. 4. **Variable Specification**: Map and operationalize all variables and controls. 5. **Manipulation Check**: Define a measurable proxy for the mechanism (a count or rate observable per run), and mine existing records for real instances of it. Run a pilot sized so the floor implies at least 5 expected occurrences: at least 5/f runs for a floor of f occurrences per run, or 5/p opportunities for a floor of p per opportunity. Confirm the proxy exceeds a stated floor before pre-registering. Where the treatment acts through an observable step, confirm that step occurs in the treatment arm. Keep pilot runs out of the confirmatory sample. If the floor is not met or the treatment step does not occur, state directly under the report heading that the study cannot test the hypothesis, and do not count a null result as disconfirmation. 6. **Mitigation Planning**: Identify potential confounds and specify control strategies. 7. **Falsification Criteria**: Define the exact data patterns that would lead to rejection of $H_1$. Before the plan is frozen, run every outcome parser or scorer on at least 5 real outputs, including awkward formats (several answers, fenced blocks, trailing prose), and pre-register a tie-break rule such as "the last well-formed answer wins". If the scorer changes after data is seen, report both scores. </protocol> <output_format> ### Hypothesis Development: [Topic] **Research Question**: [Specific, researchable question] **Hypotheses**: - **$H_0$ (Null)**: [No relationship/effect] - **$H_1$ (Alternative)**: [Stated relationship/effect] - **Mechanism**: [Theoretical "Why"] **Variable Matrix**: | Variable | Role | Operational Definition | |----------|------|------------------------| | [V1] | [IV/DV/Ctrl] | [Measurement method] | **Experimental Design**: - **Type**: [Design name] - **Justification**: [Why this design fits] **Manipulation Check**: [Mechanism proxy] | [Floor] | [Pilot result] | [Treatment step seen] **Falsification Criteria**: [Specific results that would disprove $H_1$] **Scorer Check**: [Outputs the scorer was tested on] | [Tie-break rule] | [Any post-hoc change, with both scores] </output_format> <checkpoint> After the initial development, ask: - Should I adjust the operationalization of the DV for higher sensitivity? - Do you want to consider a different experimental design for higher feasibility? - Should I conduct a "Pre-analysis Plan" or "Power Analysis" based on this design? </checkpoint>
© poemswe · MIT · poemswe/co-researcher