Foreign-CF-Study
根据研究者提供的**研究计划书(Research Proposal)**执行基于**外国(美国/欧盟/英国/日本/跨国)制度环境**的公司金融类实证研究全流程。**启动后第一件事:根据计划书的主题、识别策略、贡献边际与样本范围,从外国 CF 顶刊池(AER/QJE/JPE/JF/JFE/RFS/JFQA/JAR/JAE/MS/JCF/JBF 等 25+ 期刊)中推荐 5 本最匹配的目标期刊([J1]–[J5]),等待研究者明确选定一本;该期刊决定 main.tex 的 bibliographystyle、Section 骨架、Introduction 风格与表注规范**。然后用 Python…
Install / Use
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill Foreign-CF-studyInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Education & ResearchSupported Platforms
Our assessment of Foreign-CF-Study
Foreign-CF-Study scores 86/100 on our quality scale, 267th of 421 Education & Research skills we index.
Its SKILL.md is 49 KB long, well organised into 57 sections with 25 code examples: long enough that it reads more like full documentation than a focused instruction file, which agents can find harder to follow.
With 4,360 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so Foreign-CF-Study is actively maintained.
- Our last check on 2026-11-03 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-29. Automated pattern scan on 2026-09-29. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
Foreign-CF-Study compared with similar skills
All 4 of these similar skills score higher than Foreign-CF-Study; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| Foreign-CF-Study (this skill)by brycewang-stanford | 86 | 4.4k | 54d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 112.3k | 9d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.8k | today | CLAUDE.md |
| last30days-skillby mvanhorn | 100 | 68.0k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 103.6k | 2d ago | MCP Server |
Frequently asked questions
- How do I install Foreign-CF-Study?
- Run
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill Foreign-CF-Study. The install tabs above show the steps for each supported agent. - Which AI agents does Foreign-CF-Study work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is Foreign-CF-Study safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is Foreign-CF-Study still maintained?
- The repository was last updated about 2 months ago, so Foreign-CF-Study is actively maintained.
Skill content
View source on GitHubname: Foreign-CF-Study description: 根据研究者提供的研究计划书(Research Proposal)执行基于外国(美国/欧盟/英国/日本/跨国)制度环境的公司金融类实证研究全流程。启动后第一件事:根据计划书的主题、识别策略、贡献边际与样本范围,从外国 CF 顶刊池(AER/QJE/JPE/JF/JFE/RFS/JFQA/JAR/JAE/MS/JCF/JBF 等 25+ 期刊)中推荐 5 本最匹配的目标期刊([J1]–[J5]),等待研究者明确选定一本;该期刊决定 main.tex 的 bibliographystyle、Section 骨架、Introduction 风格与表注规范。然后用 Python 完成数据清洗、描述性统计、基准回归、内生性检验(IV/2SLS、DML)、平行趋势、异质性、机制、稳健性检验与图表绘制。LaTeX 表格和图像严格遵循 template/ 示例格式,研究逻辑与排版严格遵循 rule/ 下的《通用实证研究逻辑与规范总结》与《回归表写作规范总结》。数据集与政策集从 asset/ 中按计划书中的关键词检索(WRDS / NBER/Fed releases / FRED / 全球宏观库)。当计划书预期的实证结果无法实现时(系数不显著、平行趋势不通过、IV 弱工具、机制不成立等),skill 自动切换备选方案直至完成研究项目。最终交付物:Python 代码 + LaTeX 表格 + 图像(.pdf/.png)。触发条件:研究者提交研究计划书(含 X→Y 假设、识别策略、样本、政策冲击等)。
Foreign Corporate Finance Empirical Study (foreign-cf-study)
1. 定位与适用范围
本 skill 指导基于外国(非中国)制度环境的公司金融类实证研究的完整流程。主要覆盖:
- 美国样本(主力):CRSP / Compustat / IBES / Thomson-Reuters / BoardEx / ExecuComp / 13F / Dealscan / SDC Platinum 等 WRDS 数据库
- 国际样本:Compustat Global、Worldscope、Orbis/BvD、Amadeus、Osiris(欧洲/跨国)、Nikkei NEEDS(日本)、SDC M&A(全球)
- 识别策略:DID(含 staggered / Callaway-Sant'Anna / Sun-Abraham / Stacked DID)、Panel FE + IV/2SLS、PSM-DID / Entropy Balancing、DML / DML-IV、合成控制(Synthetic Control / Synthetic DID)、RDD(含 Geographic RDD、Regression Kink)、SEO / IPO 事件研究、高频身份识别(高频 FOMC shocks、FedFund 利率冲击等)
- 研究主题:投融资、资本结构、股利政策、并购、IPO/SEO、公司治理(董事会、CEO 补偿)、机构投资者(13F、mutual funds)、分析师、ESG / CSR、银行信贷(Dealscan)、破产(Chapter 11)、税收(TCJA / state corporate tax)、监管(SOX、Dodd-Frank、JOBS Act、MiFID II、GDPR)、贸易(China Shock、Trade War、Brexit)、创新(USPTO patents、NBER patent database)
- 代码语言:Python(pandas / numpy / statsmodels / linearmodels / pyfixest / econml / doubleml / scikit-learn / matplotlib / wrds-py)
- 表格输出:LaTeX(严格遵循 template/ 格式与 rule/ 规范)
本 skill 不替代研究者的研究设计判断,而是把每一环节的标准流程、代码骨架、表格/图像模板提供给研究者,保证产出质量达到国际公司金融顶刊(JF、JFE、RFS、JFQA、RCFS、RAPS;JAR、JAE、TAR、RAST 会计类;AER、QJE、JPE、REStud 综合类)的写作与方法论要求。
2. 工作目录结构(项目根即 working directory)
Foreign-CF-study/ ← working directory
├── asset/ ← **优先**的数据源索引(非唯一来源,详见 §7)
│ ├── nber_releases_list.csv # NBER / 美联储(Fed)/ BLS / BEA 定期发布清单
│ ├── wrds_research_data_overview.pdf # WRDS 数据库概览(CRSP、Compustat、IBES、BoardEx、13F…)
│ ├── macrodatas_list.csv # 全球宏观数据索引(含 IMF / WB / OECD / FRED 条目)
│ ├── ppmandata_trade_list.csv # 贸易 / 关税 / 供应链层面扩展数据索引
│ └── MCP.docx # 登记的 MCP 服务器清单(IMF / World Bank / Supply Chain / OECD),
│ # 作为 asset/ 本地清单缺失时的补充来源;安装方式见各 URL
├── rule/ ← 强制性写作与方法论规范(AI 必须逐项遵循)
│ ├── 通用实证研究逻辑与规范总结.docx
│ └── 回归表写作规范总结.docx
├── template/ ← LaTeX 表格与图片模板(格式模仿对象)
│ ├── sum_stat.tex # 描述性统计
│ ├── variables.tex # 变量定义
│ ├── baseline.tex # 基准回归(渐进式加控制 + 渐进式加 FE)
│ ├── addctr.tex # 加入附加控制变量
│ ├── measures.tex # 替换因变量度量
│ ├── specification.tex # 高维交互固定效应
│ ├── iv.tex # 2SLS 工具变量
│ ├── psm_ddml.tex # PSM + DML(Panel A / Panel B)
│ ├── bunching-did.tex # Bunching-DID
│ ├── channel1.tex, channel2.tex, channel3.tex # 机制分析(按渠道分组)
│ ├── heterogeneity1.tex, heterogeneity2.tex, heterogeneity3.tex # 异质性(bdiff)
│ ├── sampling.tex # 样本筛选稳健性
│ ├── further.tex # 进一步分析
│ ├── main.tex # 论文正文骨架
│ ├── parallel.pdf # 平行趋势图
│ ├── csdid-figure.pdf # Callaway-Sant'Anna DID 动态效应
│ ├── estimator.pdf # 不同 DID 估计量对比
│ ├── psm-pre-post.pdf # PSM 平衡检验前后
│ └── specurve.pdf # 规格曲线(specification curve)
└── 研究项目输出/ ← 每个实证项目的产出目录(按本 skill 建议结构创建)
└── {项目名}/
├── data/{raw,cleaned}/
├── code/ # Python 脚本
├── results/ # 表格 (.tex) 与图像 (.pdf/.png) 统一存放,不再区分 tables/ 与 figures/
├── ref.bib # 参考文献数据库
└── main.tex # 论文正文(**位于项目根,不放入 paper/ 子目录**)
# 头部样式与 \bibliography / \appendix 结构严格照搬 template/main.tex
# 通过 \input{results/xxx} 引入表格;通过 \includegraphics{results/xxx.pdf} 引入图像
3. 触发条件与启动流程
3.1 唯一触发条件:研究者提交研究计划书
本 skill 只在研究者提供**研究计划书(Research Proposal)**时触发。计划书以下述任一形式提交均可:
- 一段纯文本描述
.docx / .pdf / .md / .tex文件路径- 对话中分点罗列
3.2 计划书应包含的字段(缺项时自动追问,一次补齐)
CONTRACT — 研究计划书最小字段清单
────────────────────────────────────────────────────────
(1) 研究题目 (Title)
(2) X → Y 因果假设 (Hypothesis):主假设 H1 + 最多 2 条子假设
(3) 预期结果 (Expected Findings):X 对 Y 的预期符号与显著性、预期机制
渠道、预期异质性方向(此项至关重要——是后续"备选方案"的触发判据)
(4) 识别策略 (Identification):DID / Staggered DID / Panel FE + IV /
PSM-DID / RDD / Synthetic Control / Synthetic DID / DML / Event Study 中择一
(5) 样本范围 (Sample):国家/地区、层级(公司-年/公司-季度/交易-日/state-年)、
时间窗、交易所(NYSE/NASDAQ/AMEX)、是否剔除 ADR/Dual class、排除条款
(6) 政策冲击 (Shock):【DID/RDD 必填】政策名称(e.g., SOX 2002, Dodd-Frank 2010,
JOBS Act 2012, TCJA 2017, MiFID II 2018, Brexit 2016, China Shock,
state corporate tax changes, state-level minimum wage...)、公布/实施年份/月份、
处理组定义(e.g., pre-SOX accelerated filers, post-JOBS Act EGCs...)
(7) 数据需求 (Data):asset/ 中需检索的关键词清单(WRDS 库名 + 政策集)
(8) 机制假说 (Mechanism):预期作用渠道 M1 / M2 / M3
(9) 异质性维度 (Heterogeneity):预期分组维度(公司规模、融资约束、KZ/WW index、
董事会独立性、机构持股、行业集中度 HHI、所处州等)+ 预期组间差异方向
3.3 启动后 skill 立即执行以下动作
- 解析计划书 → 抽取 CONTRACT 九字段,对缺项统一一次性追问补齐。
- 🆕 推荐 5 个最合适的目标期刊(详见 §3.4):基于计划书的研究主题(Topic)、识别策略(Method)、贡献边际(Novelty)与样本范围(Sample)四维度,从外国 CF 顶刊池(§3.4.1)中按加权得分(§3.4.2)选出 top 5,以
[J1]–[J5]编号 + 4 维星级评分 + "Why it fits" 一两句话 + "Editorial preference" + bib style 呈现(输出格式见 §3.4.3)。呈现完毕后停下,显式询问研究者选定哪一本(也允许用户提出列表外的期刊)。在收到选择前不进入第 3 步。 - 固化为
00_proposal.md:写入项目根{项目名}/00_proposal.md,顶部以 YAML 块追加target_journal/bibliography_style/writing_preferences三组字段(见 §3.4.3 末尾示例),作为后续所有判断与main.tex渲染的基准文件。 - 生成研究项目骨架:按第 9 节目录结构建立
{项目名}/下所有子目录与占位脚本;main.tex头部按 §3.4.4 表把\bibliographystyle{}与 Section 骨架替换为目标期刊的版本。 - 逐环节推进:严格按第 4 节顺序执行,每一环节完成即与计划书中 (3) 预期结果逐项比对。
3.4 期刊定位(Journal Targeting)— 启动后第二步的依据
3.4.1 候选期刊池(外国 CF 常见投稿池)
| Tier | 期刊 | 全名 | 偏好特征 | bib style | |---|---|---|---|---| | T1 综合 | AER | American Economic Review | 因果识别极强 + 广泛经济意义;CF 必须能讲"超出 finance 的故事" | aer | | T1 综合 | QJE | Quarterly Journal of Economics | 自然实验 + 深远政策含义;CF 罕见但有先例 | qje | | T1 综合 | JPE | Journal of Political Economy | 偏理论结构估计;CF 多见于治理与契约 | jpe | | T1 综合 | RES | Review of Economic Studies | 偏结构 + 方法创新 | restud | | T1 金融 | JF | Journal of Finance | 故事完整 + 机制深 + 大样本;偏好"新现象 / 新机制" | jf | | T1 金融 | JFE | Journal of Financial Economics | 识别严谨 + CF/资产定价;表格规范最严 | jfe | | T1 金融 | RFS | Review of Financial Studies | 理论嵌入 + 实证联动 | rfs | | T2 金融 | JFQA | Journal of Financial and Quantitative Analysis | 严谨实证;适合识别清晰的中等贡献 | jfqa | | T2 金融 | RCFS | Review of Corporate Finance Studies | CF 专门 OA 刊 | rcfs | | T2 金融 | RAPS | Review of Asset Pricing Studies | 资产定价为主 | raps | | T2 金融 | JCF | Journal of Corporate Finance | CF 中下游主流刊 | elsarticle-num | | T2 金融 | JBF | Journal of Banking and Finance | 银行 / 跨国 / 监管类 | elsarticle-num | | T2 金融 | JFI | Journal of Financial Intermediation | 银行 / 信贷 / 中介 | jfi | | T2 金融 | JFM | Journal of Financial Markets | 微观结构 / 流动性 | elsarticle-num | | T2 金融 | FM | Financial Management | CF 应用导向 | apa | | T1 会计 | JAR | Journal of Accounting Research | 信息披露 / 分析师与 CF 交叉 | jar | | T1 会计 | JAE | Journal of Accounting and Economics | 会计选择经济后果;契约 / 治理 | jae | | T1 会计 | TAR | The Accounting Review | 涵盖最广,识别要求高 | tar | | T2 会计 | RAST | Review of Accounting Studies | 信息环境 / 估值 / 披露 | rast | | T2 会计 | CAR | Contemporary Accounting Research | 与 TAR 平台相近 | car | | 管理 | MS | Management Science | 跨学科创新 / 数据科学 / 因果 | informs | | 管理 | SMJ | Strategic Management Journal | 治理 / 并购 / 公司战略 | smj | | 管理 | OS | Organization Science | 组织 + CF 交叉(董事会、CEO) | orsc | | 国际 | JIBS | Journal of International Business Studies | 跨国 / 制度差异 / 跨境 M&A | jibs | | 公共 | JPubE | Journal of Public Economics | 税收 / 监管的 CF 后果 | elsarticle-num | | 劳动 | ILR | Industrial and Labor Relations Review | 劳动 × CF 交叉 | sage | | 环境 | JEEM | Journal of Environmental Economics and Management | ESG / 气候政策 × CF | elsarticle-num |
若研究者指名列表外的期刊(如 Journal of Accounting and Public Policy、Financial Review、European Financial Management、Pacific-Basin Finance Journal、Journal of Banking & Finance Letters 等),照单选定即可,并比照同档期刊套用 bib style 与 Section 骨架。
3.4.2 匹配评分(skill 内部)
对每本候选按 4 维 1–5 打分:
T = topic_fit # CF 主题与期刊偏好对齐
M = method_fit # 识别策略与期刊门槛对齐
N = novelty_fit # 贡献边际能否打动该刊编辑
S = sample_fit # 样本与期刊地理偏好
score = 0.35 T + 0.30 M + 0.25 N + 0.10 S
匹配示例(仅作 skill 内部参考;不输出给研究者):
- "SOX × 投资效率(美国 staggered DID)" → JFE / JF / JAR / RFS / JFQA
- "TCJA 2017 × 资本支出" → JFE / JPubE / JAE / JF / AER
- "Brexit × 跨境投融资" → JFE / JIBS / JF / MS / JFQA
- "美国创新政策 × 公司投资外溢" → JFE / AER / RFS / MS / JF
- "MiFID II × 分析师覆盖与公司信息环境" → JAR / JAE / RFS / JFE / TAR
- "Dodd-Frank × 银行信贷供给" → JFE / RFS / JF / JFI / JBF
3.4.3 推荐输出格式(必须按此格式呈现 5 本)
[J1] JFE — Journal of Financial Economics
Topic ★★★★★ Method ★★★★★ Novelty ★★★★☆ Sample ★★★★★ Score 4.70
Why it fits: {2 句话——对齐研究主题与识别方法;指本刊近 3 年发表的相近政策/主题论文(举 1 篇)}
Editorial preference: 偏好识别透明 + 表格规范严 + 控制变量逐项展示
Bibliography style: jfe
[J2] JF — Journal of Finance
...
呈现完 5 本后,必须显式停下并询问(不要自动选定):
请从 [J1]–[J5] 中选定一本作为目标期刊;若不满意,请直接告知任一外国 CF 顶刊名。 您的选择将决定
main.tex的\bibliographystyle{}、Section 骨架、Introduction 风格与表注最低长度。
研究者选定后,在 00_proposal.md 顶部追加(示例为 JFE):
---
target_journal: JFE
bibliography_style: jfe
writing_preferences:
identification_emphasis: high
table_format_strict: yes
introduction_style: "5 paragraphs, identification details surface early"
notes_paragraph_length: ">= 6 lines"
section_skeleton:
- Introduction
- Background
- Data
- Empirical Strategy
- Results
- Robustness
- Conclusion
---
3.4.4 不同期刊触发的写作差异
| 期刊 | bib style | Section 骨架 | Intro 风格 | 表注最低 | 特别要求 | |---|---|---|---|---|---| | JF | jf | Intro / Setting / Hypotheses / Data and Methodology / Results / Mechanism / Conclusion | 5–6 段,puzzle 驱动 | ≥ 8 行 | 偏好简洁列头;附录不超过正文 30% | | JFE | jfe | Intro / Background / Data / Empirical Strategy / Results / Robustness / Conclusion | 5 段,识别细节早出现 | ≥ 6 行 | 表格规范最严;要求逐一展示控制变量;标准误层级写清楚 | | RFS | rfs | Intro / Theoretical Motivation / Data / Identification / Empirical Findings / Conclusion | 4–5 段,理论 motivation 醒目 | ≥ 6 行 | 偏好理论嵌入;正文 25–30 页 | | JFQA | jfqa | 类 JFE | 类 JFE | ≥ 5 行 | 表格规范严;偏好新现象的清晰识别 | | JAR / JAE | jar / jae | Intro / Hypothesis / Sample and Data / Research Design / Results / Conclusion | 6 段,hypothesis 在 §2 独立 | ≥ 6 行 | 预测式假设;hypothesis section 必须独立 | | TAR | tar | 类 JAR | 类 JAR | ≥ 5 行 | 类 JAR;偏好新 measure | | AER | aer | Intro / Background / Data / Empirical Strategy / Results / Mechanism / External Validity / Conclusion | 4 段,影响广泛 | ≥ 5 行 | 必须有外部有效性讨论;broad economic implication | | QJE / JPE / RES | qje / jpe / restud | 类 AER(结构更紧凑) | 4 段,puzzle + economic significance | ≥ 5 行 | 跨子学科可读性;要求显著的方法/概念创新 | | MS | informs | Intro / Background / Hypotheses / Data and Methods / Results / Discussion / Conclusion | 4–5 段,跨学科 motivation | ≥ 5 行 | 必含 managerial implication | | JCF / JBF / JPubE / JEEM | elsarticle-num | 类 JFE | 4 段 | ≥ 5 行 | 较灵活;可接受较窄主题 | | JIBS | jibs | Intro / Theory and Hypotheses / Methods / Results / Discussion / Conclusion | 5 段,跨国比较视角 | ≥ 5 行 | 必含 international business 贡献 |
render_main_tex() 在生成 main.tex 时读取 00_proposal.md 的 target_journal / bibliography_style / section_skeleton,自动替换 \bibliographystyle{} 与 Section 命名;同时把目标期刊的 notes_paragraph_length 阈值传入各 render_*_tex() 函数,确保表注长度达到目标刊门槛。
3.A
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
112.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
79.8kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
last30days-skill
68.0kAI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
Scrapling
103.6k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
