원클릭으로
causal-design
Use when you need to design or audit an identification strategy for an observational study.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when you need to design or audit an identification strategy for an observational study.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when you need to compare a project .bib against a Paperpile project/topic folder to find uncited papers or unfiled entries.
Use when you need to extract citations from a PDF and generate a validated .bib file. Reads the PDF, identifies all referenced works, constructs BibTeX entries with metadata verification, then runs bib-validate.
Use when you need to check a LaTeX submission against a PDF assessment brief.
Use when you need to replicate a quantitative analysis in a second language (R↔Python↔Stata↔Julia) to verify correctness. Level 1 of the verification hierarchy.
Use when you need to challenge research assumptions or stress-test arguments.
Review user-facing documentation for accuracy, consistency, and completeness across private, public, nested repos, and the user manual. Use when docs feel stale, after major changes, or before sharing. (Replaces `repo-doc-audit`)
| 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] |
| agent-dependencies | ["domain-reviewer"] |
| skill-dependencies | ["data-analysis","experiment-design","literature","proofread"] |
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-designdata-analysisliteratureproofread, 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 fresh-context sub-agent mechanism:
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) |