用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/flonat/claude-research --skill data-analysis命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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 | data-analysis |
| description | Use when you need an end-to-end analysis pipeline: EDA, estimation, or publication output. |
| allowed-tools | Bash(uv*, Rscript*, R*, stata*, julia*, mkdir*, ls*, cp*), Read, Write, Edit, Glob, Grep, AskUserQuestion, Skill |
| argument-hint | [data-path or project-path] [--mode eda|estimation|full] |
Generate, execute, and verify analysis scripts across R, Python, Stata, and Julia.
| Mode | What it does | Phases |
|---|---|---|
| EDA | Exploratory data analysis only | 1–2 |
| Estimation | Estimation + publication output (requires locked design) | 1, 3–4 |
| Full | Complete pipeline | 1–5 |
Default: Full. Detect mode from user request or ask if ambiguous.
/experiment-design/synthetic-data/causal-design/proofread, /latexshared/method-probing-questions.md — ask before running any analysisshared/validation-tiers.md — declare tier before examining resultsshared/escalation-protocol.md — escalate when methodology answers are vagueshared/distribution-diagnostics.md — mandatory DV checks before model selectionshared/engagement-stratified-sampling.md — stratify by engagement tiers for social media datashared/intercoder-reliability.md — per-category reliability for content analysis and LLM annotationCLAUDE.md, check for data/, code/, paper/ directories.shared/multi-language-conventions.md for the chosen language's conventions.data/raw/ or data/processed/. Never modify data/raw/ (per data-sensitivity rule). For social-media datasets, follow shared/engagement-stratified-sampling.md when constructing analysis samples.shared/validation-tiers.md. Tier dictates claim-strength language allowed in Phase 4 outputs and how strict the locked-design gate (step 5) is enforced.log/plans/, .context/project-recap.md, or MEMORY.md estimand registry. If running Estimation or Full mode and no design exists, stop and warn: "No locked research design found. Run /experiment-design or /causal-design first, or confirm the specification before proceeding." Use shared/method-probing-questions.md to probe gaps if the user pushes back on the gate.Generate and execute an EDA script that produces:
distribution_diagnostics() from shared/distribution-diagnostics.md on every DV and key IVs. Report skewness, zero proportion, overdispersion, and model recommendation. Flag if OLS is inappropriate.Output routing:
output/figures/ (not paper/figures/)output/tables/ as .csvcode/01_eda.R (or .py/.do/.jl)EDA mode stops here.
Gate check: Verify the research design is locked before proceeding. The specification (estimand, identifying assumptions, main model) must be documented. This enforces the design-before-results rule. If the user resists the gate, follow shared/escalation-protocol.md — escalate rather than accommodate. For analyses involving human or LLM coding (content analysis, annotation), require per-category reliability per shared/intercoder-reliability.md before estimation.
Generate estimation script(s) covering:
Read references/estimation-recipes.md for language-specific estimation patterns.
Output:
code/02_estimation.R (or equivalent)output/results/ as .rds/.pkl/.dta for downstream table generationGenerate publication-ready tables and figures. Read shared/publication-output.md for format standards and references/table-formatting.md for language-specific recipes.
.tex to paper/tables/paper/figures/ as PDF\newcommand definitions for key numbers referenced in textCritical rule: All numbers in .tex files must come from generated files via \input{}. Never hard-code results (per no-hardcoded-results rule). Scripts in code/, outputs in paper/ (per overleaf-separation rule).
Output script → code/03_tables_figures.R (or equivalent)
paper/tables/ and paper/figures//code-review on all generated scripts (auto-invoke via Skill tool)/latex, or additional analysesEvery generated script follows this header template:
# ============================================================
# Script: [filename]
# Purpose: [one-line description]
# Inputs: [list of input files]
# Outputs: [list of output files]
# Dependencies: [packages used]
# Author: [from git config]
# Date: [today]
# ============================================================
| Resource | When read |
|---|---|
shared/multi-language-conventions.md | Phase 1 (language setup) |
shared/publication-output.md | Phase 4 (table/figure format) |
references/estimation-recipes.md | Phase 3 (estimation code patterns) |
references/econ-visualisation.md | Phase 2 & 4 (economics figure/table conventions) |
references/table-formatting.md | Phase 4 (language-specific table export) |
references/language-conventions.md | Phase 1 (additional language notes) |
design-before-results rule | Phase 3 gate check |
data-sensitivity rule | Phase 1 (data access) |
no-hardcoded-results rule | Phase 4 (output routing) |
overleaf-separation rule | Phase 4 (file placement) |
/code-review skill | Phase 5 (auto-invoked) |
/experiment-design skill | Suggested if no design exists |
/causal-design skill | Suggested if no design exists |
/econ-plots skill | Economics-specific figures |
/r-econometrics skill | R-specific estimation |
/econ-data skill | Data download from public APIs |