empiricalwiki: Skill for Claude Code

.claude/skills/empirical-design/SKILL.md

empirical-design is a skill for Claude Code from Lambenthan/empiricalwiki. It costs 40 tokens per session (532 once invoked), scanned A, original, MIT.

A Chinese-language workflow for designing an economics or management empirical study from an existing local research library and datasets. It covers the research question, variables, statistical models, identification, mechanisms, differences between groups, and robustness checks.

In plain words
What is it for?
Use it to create and archive a research design covering hypotheses, sample construction, regression models, causal identification, mechanism tests, heterogeneity tests, robustness tests, and expected tables.
Why use it?
It turns collected papers and project data notes into an actionable study plan while listing missing data and specific risks that could make results misleading. It does not write the final paper or invent an idea for the user.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is Lambenthan/empiricalwiki's own configuration. It tells Claude Code how to work on empiricalwiki itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything empiricalwiki configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Lambenthan/empiricalwiki. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Lambenthan/empiricalwiki/main/.claude/skills/empirical-design/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Lambenthan/empiricalwiki

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for empirical-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/lambenthan/empiricalwiki/empirical-design/github.svg)](https://agentmods.dev/skills/lambenthan/empiricalwiki/empirical-design)
Your own site
<a href="https://agentmods.dev/skills/lambenthan/empiricalwiki/empirical-design"><img src="https://agentmods.dev/badge/skills/lambenthan/empiricalwiki/empirical-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for empirical-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/lambenthan/empiricalwiki/empirical-design"><img src="https://agentmods.dev/badge/skills/lambenthan/empiricalwiki/empirical-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 532 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00532
Opus 5 $0.00020 $0.00266
Sonnet 5 $0.00008 $0.00106
Haiku 4.5 $0.00004 $0.00053

Measured 12d ago against content hash b7042ebb493b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

empirical-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/empirical-design/SKILL.md · 69 lines

What it actually says

/empirical-design

从 wiki 知识库生成一份可落地的实证研究方案。它连接文献阅读和数据处理,不负责替用户发明 idea。

Workflow

Step 1: Read Project Context

读取:

  • wiki/graph/context_brief.md
  • wiki/papers/*.md
  • wiki/variables/*.md
  • wiki/datasets/*.md
  • wiki/models/*.md
  • wiki/mechanisms/*.md
  • wiki/identification/*.md
  • wiki/robustness/*.md
  • wiki/heterogeneity/*.md
  • 项目根目录和上级目录中的 README.md
  • raw/notes/research-intent.md(如果存在)

Step 2: Produce the Design

输出结构:

# 实证研究设计

## 1. 研究问题
## 2. 文献定位
## 3. 理论机制
## 4. 研究假设
## 5. 变量设计
## 6. 数据来源与样本构造
## 7. 基准模型
## 8. 识别策略与内生性风险
## 9. 机制检验
## 10. 异质性检验
## 11. 稳健性检验
## 12. 预期表格结构
## 13. 数据缺口清单
## 14. 下一步操作

每个关键判断都要引用 wiki 页面,如 [[耐心资本]][[耐心资本对企业esg表现的影响研究]]

Step 3: Archive

写入:

wiki/outputs/empirical-design-{slug}-{YYYY-MM-DD}.md

追加日志并建议是否继续运行 /stata-plan

Constraints

  • 明确区分“文献已有做法”和“本项目建议做法”。
  • 对内生性风险要具体,不写空泛的“可能存在内生性问题”。
  • 如果本地数据不足,要列出缺口,不要假装可做。
  • 不生成最终论文段落;这里输出的是研究设计和执行方案。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 69 lines · 40 tokens per session scan A b7042ebb493b

Subscribe to this mod's changes

empirical-design is a skill published in the GitHub repository Lambenthan/empiricalwiki (84 stars, last pushed 3mo ago), licensed MIT. It adds 40 tokens to every session and 532 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

review-paper

Comprehensive manuscript review with three modes: single-pass (default), --adversarial critic-fixer loop, and --peer [journal] simulated peer-review pipeline (editor + 2 dispositioned referees + editorial decision, calibrated to a target journal). R&R continuation via --peer --r2/--r3; hostile-editor stress test via…

pedrohcgs/claude-code-my-workflow · 114 tokens

audit-reproducibility

Enforce the replication-protocol.md rule by cross-checking numeric claims in a manuscript against the actual R / Stata / Python outputs. Report PASS/FAIL per claim against tolerance thresholds. Use before submission and before releasing a replication package.

pedrohcgs/claude-code-my-workflow · 54 tokens

capture-environment

Snapshot the computational environment for a replication package — detects the analysis stack (R / Stata / Python) and emits the right lockfiles (renv.lock + sessionInfo.txt, requirements.txt / environment.yml / uv.lock, Stata version + ado package list), records seeds and RNG kind, optionally writes a pinning…

pedrohcgs/claude-code-my-workflow · 139 tokens

grant-proposal

Scaffold a research grant proposal (NSF, NIH, ERC, or foundation) by composing existing primitives — pulls identification strategy from an /interview-me spec, delegates the data-management plan to /data-management-plan and the facilities statement to /capture-environment, and emits a funder-requirements checklist. Use…

pedrohcgs/claude-code-my-workflow · 131 tokens

preregister

Draft a structured preregistration document (OSF, AsPredicted, or AEA RCT Registry style) from a research spec or free-form study description. Output is a Markdown file with hypotheses, design, sampling plan, analysis plan, exclusions, and inference criteria — annotated with MUST / SHOULD / MAY clarity flags. Use when…

pedrohcgs/claude-code-my-workflow · 153 tokens

simulation-study

Scaffold and run a reproducible Monte Carlo simulation study in R — a declared assumption regime, a parameterized DGP, an estimator grid, a seeded replication loop, and a summary of bias, RMSE, empirical SE, coverage, size/power with Monte Carlo standard errors. Use when the user says "run a Monte Carlo simulation"…

pedrohcgs/claude-code-my-workflow · 148 tokens