用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/flonat/claude-research --skill causal-design命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use when you need to audit a research project against the init-project-research template.
Use when you need to validate a paper's bibliography — cross-references \cite{} keys against .bib files or embedded \bibitem entries, finds missing/unused/typo'd keys, and checks every key against the Paperpile library via the local resolver. Deep verification mode spawns parallel agents for DOI/metadata validation at scale. Fix mode rekeys drifted keys to canonical and stages missing entries for Paperpile.
Use when you need to bootstrap a full research project with directory scaffold and Overleaf symlink.
基于 SOC 职业分类
正在显示 SKILL.md
| name | causal-design |
| description | Use when you need to design or audit an identification strategy for an observational study. |
| allowed-tools | Read, Write, Edit, Glob, Grep, AskUserQuestion, Task |
| argument-hint | [project-path or tex-file] [--mode design|audit] |
Design and audit identification strategies for observational causal inference.
Per rules/review-artefact-routing.md (auto-loads in research projects (path-scoped to paper-*/ and paper/)):
causal-designreviews/<scope>/causal-design/<YYYY-MM-DD-HHMM>.md inside the project, where <scope> is the paper slug (e.g. paper-philtech) for paper-level audits or _project for project-level reviews. Path is relative to the research project root, not the Task-Management repo../CRITIC-REPORT.md-style filenames are forbidden — pre-rule layout).{date}-HHMM-revision.md, {date}-HHMM-r2.md, {date}-HHMM-pre-submission.md) — never overwrite.reviews/INDEX.md exists, write a one-line entry under "Latest per source" pointing at the new file. Otherwise /review-recap will rebuild the index next time it runs.| Mode | What it does | Entry point |
|---|---|---|
| Design | Interview-driven strategy selection and memo production | "Design my causal strategy" / "What identification can I use?" |
| Audit | 4-phase causal inference check on existing paper/scripts | "Check my identification" / "Audit my econometrics" |
Default: Design. If the user points to an existing paper or estimation script, auto-select Audit mode.
/experiment-design/data-analysis/literature/proofread, /latexshared/method-probing-questions.md — ask before running any analysis (DiD, IV, RDD sections)shared/validation-tiers.md — declare tier before designing strategyshared/escalation-protocol.md — escalate when identification is vague or unsoundBefore opening the interview, confirm the project's validation tier per shared/validation-tiers.md — Exploratory designs warrant lighter identification stress-testing than Publication-ready ones. Use shared/method-probing-questions.md as the interview backbone; the prompts below adapt those probes to causal identification specifically.
Conduct a structured interview to understand the research setting. Ask these questions (adapt to what the user has already shared):
Do not proceed until the causal question and data structure are clear.
Read references/design-decision-tree.md and walk through the decision tree with the user's answers:
Write a strategy memo using references/strategy-memo-template.md. Save to docs/causal-strategy.md (or project-appropriate location).
The memo must specify:
This memo is what /data-analysis Phase 3 checks for before allowing estimation. It locks the research design per the design-before-results rule.
The reviewer follows shared/escalation-protocol.md — when identification is vague or assumptions are hand-waved, the reviewer escalates rather than accommodating.
Delegate an adversarial review to the domain-reviewer agent. Read references/causal-audit-prompt.md and pass it as the prompt to the Task tool:
Launch the domain-reviewer agent with this prompt:
"You are reviewing a causal identification strategy memo. [Insert contents of causal-audit-prompt.md, customised with the specific strategy chosen]. The memo is at [path]. Focus exclusively on identification credibility."
The agent will produce a report at reviews/<scope>/domain-reviewer/<YYYY-MM-DD-HHMM>.md in the project, where <scope> is the paper slug or _project.
Present the domain-reviewer's findings to the user. For each issue flagged:
Read the paper (.tex files) and/or estimation scripts to extract every causal claim:
Produce a numbered list of claims with their locations (file:line).
For each causal claim, determine:
| Claim | Estimand | Strategy | Key Assumption | Stated? | Defended? |
|---|---|---|---|---|---|
| ... | ... | ... | ... | Yes/No | Yes/No |
Flag any claim where:
For each identification strategy found, check whether the required diagnostics are present and passing:
DiD / Event Study:
IV:
RDD:
Synthetic Control:
Event Study:
If estimation code exists, verify it implements the claimed design:
Produce an audit report at reviews/<scope>/causal-design/<YYYY-MM-DD-HHMM>.md (where <scope> is the paper slug or _project) with:
# Causal Audit Report
**Document:** [filename]
**Date:** YYYY-MM-DD
**Mode:** Audit
## Claims Inventory
[Numbered list of causal claims with locations]
## Estimand-Identification Map
[Table from Phase 2]
## Diagnostics Assessment
| Strategy | Diagnostic | Present? | Passing? | Notes |
|----------|-----------|----------|----------|-------|
| ... | ... | ... | ... | ... |
## Code-Design Alignment
[Phase 4 findings, or "N/A -- no code found"]
## Critical Issues
[List of issues that threaten identification credibility]
## Recommendations
[Ordered list of fixes, from most to least important]
| Resource | When read |
|---|---|
references/design-decision-tree.md | Design Phase 2 (strategy selection) |
references/strategy-memo-template.md | Design Phase 3 (memo output) |
references/causal-audit-prompt.md | Design Phase 4 (agent delegation prompt) |
design-before-results rule | Both modes enforce this |
domain-reviewer agent | Design Phase 4 (adversarial review) |
/data-analysis skill | Consumes the strategy memo |
/experiment-design skill | For experimental (not observational) designs |
experiment-design/references/identification-strategies.md | Quick-reference for strategies (shared knowledge) |