Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Cfe Mechanism

ASecurity

Use when designing or writing mechanism analyses for a Journal-of-Finance-and-Economics empirical manuscript. Mechanism tests are near-mandatory for empirical submissions.

1,052 stars
0 votes
0 copies
0 views
Added 6/5/2026
ai-agents

Security Analysis

A100/100

Scanned 6/5/2026

Install to Claude Code

$npx -y skills add brycewang-stanford/Awesome-Journal-Skills --skill cfe-mechanism --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cfe Mechanism?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Cfe Mechanism
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/brycewang-stanford-cfe-mechanism/badge)](https://www.skillsdirectory.com/skills/brycewang-stanford-cfe-mechanism)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: cfe-mechanism
description: Use when designing or writing mechanism analyses for a Journal-of-Finance-and-Economics empirical manuscript. Mechanism tests are near-mandatory for empirical submissions.
---

# 机制分析(cfe-mechanism)

## 触发时机

- 主回归结果已稳健,但缺机制分析
- 机制只有"我们认为可能是因为..."的口头说明
- 审稿人问"为什么会有这个效应?"
- 中介效应只跑了 Sobel 检验

## 三种主流路径

### 路径 A:中介效应 / 调节效应

- 经典 Baron & Kenny 三步法已被弱化 → 推荐 Bootstrap 间接效应 + 因果中介(Imai-Keele-Yamamoto)
- 不要只跑 Sobel 检验
- 推荐报告:直接效应、间接效应、效应占比
- 调节效应用交互项,并对调节变量做分组验证

### 路径 B:替换被解释变量为机制变量

- 主回归:处理 D → 结果 Y
- 机制:处理 D → 机制变量 M(如融资约束、信息透明度、税负、要素配置效率)
- 然后讨论 M → Y 的合理性(理论 / 已有文献)

这是《财经研究》最常见、最稳妥的机制写法。

### 路径 C:跨子样本对比

- 在"机制成立"和"机制不成立"的子样本中分别估计
- 如果系数有显著差异 → 构成机制证据
- 需要 Chow 检验或交互项确认系数差异显著

## 机制写作三段式

```
本文进一步从[机制名]角度提供证据。
首先,从理论上看,[机制变量 M] 应通过[路径]影响[因变量 Y]……
其次,实证上,本文采用[路径 A/B/C]:……,估计结果如表 X 所示。
最后,结合[已有文献],本文认为该机制……。
```

## 机制设计三原则

1. **理论指引**:机制变量必须能挂上理论 / 已有文献,不是凭空想
2. **时间一致**:机制变量 M 的测量时点要在处理 D 之后、结果 Y 之前,不使用未来信息
3. **可证伪**:能写出"如果机制成立 → 应观察到 X;如果不成立 → 应观察到 Y"

## 财经研究常见机制变量举例(按方向)

- 公司财务:融资约束、代理成本、信息不对称、投资效率、现金持有
- 公共财政:税负、财政激励、地方政府行为、转移支付依赖
- 产业 / 贸易:要素错配、市场进入、出口质量、全要素生产率
- 金融:信贷可得性、风险承担、市场流动性

(举例供启发,具体机制须由本文理论框架推导,并非套用。)

## 必查清单

- [ ] 至少 1 个机制(理想 2–3 个互补机制)
- [ ] 机制变量来源于理论 / 已有文献
- [ ] 机制变量构造时间逻辑正确(不使用未来信息)
- [ ] 机制部分至少 1 张独立的回归表
- [ ] 机制结果与主回归一致(不能机制证伪了主结论)

## 反模式

- 用"我们认为可能是因为..." 一句话代替机制分析
- 中介效应只跑 Sobel 检验
- 机制变量与处理变量构造时使用了未来信息
- 机制结果反向(机制变量与主效应方向相反)但不解释
- 把控制变量随手当机制变量,无理论支撑

## 输出格式

```
【机制数】X 个
【机制路径】A 中介/调节 / B 替换 Y / C 子样本
【理论引用】[文献]
【时间一致性】通过 / 待修
【下一步】cfe-heterogeneity
```

Attribution

brycewang-stanfordbrycewang-stanford
View sourceMore from brycewang-stanford →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1066601 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

693161 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

651 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →