Auto-Empirical-Research-Skills
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Check it deeper on your machine
It has changed since its scan on 11 Nov 2026. Its scripts were only partly scanned.
As a Claude Code plugin, install it and then ask Claude Code:
/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills with scanskillsafety
Or from a terminal, clone it and run it:
git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills'
It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.
Badge for your README
Markdown
[](/listings/brycewang-stanford--auto-empirical-research-skills)HTML
<a href="/listings/brycewang-stanford--auto-empirical-research-skills"><img src="/api/listings/brycewang-stanford--auto-empirical-research-skills/badge.svg" alt="findsafeskills safety rating" /></a>Install
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
.claude-plugin/marketplace.json · Manifest · 77 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.
- {
- "$schema": "https://json.schemastore.org/claude-code-marketplace.json",
- "name": "auto-empirical-research-skills",
- "version": "1.1.0",
- "description": "First-party, install-ready Claude Code plugins from the Auto-Empirical-Research-Skills collection (Stanford REAP x CoPaper.AI). Add this marketplace to one-command-install the empirical-research skill stacks (AER manuscript pipeline + explicit Python / Stata / R analysis pipelines); the wider catalog of 50+ third-party skills is browsable in the repo and consumed via copy-into-.claude/skills or --plugin-dir.",
- "owner": {
- "name": "Bryce Wang",
- "email": "brycew6m@stanford.edu",
- "url": "https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills"
- },
- "plugins": [
- {
- "name": "aer-skills",
- "source": "./skills/50-brycewang-aer-skills",
- "version": "1.0.0",
- "description": "Nine-skill stack for top-5 economics manuscripts (AER / AER: Insights / AEJ): topic selection, modern causal identification (DiD / IV / RDD / SCM / Bartik), referee-anticipating robustness, Keith-Head-style introductions, AER booktabs tables, AEA Data and Code Availability deposits (openICPSR-ready), submission preflight, and R&R rebuttal letters. Ships Stata / R / Python templates and classic-AER-paper exemplars.",
- "author": { "name": "Bryce Wang", "email": "brycew6m@stanford.edu" },
- "license": "MIT",
- "homepage": "https://github.com/brycewang-stanford/AER-skills",
- "repository": "https://github.com/brycewang-stanford/AER-skills",
- "category": "academic",
- "keywords": [
- "economics", "aer", "american-economic-review", "aej", "causal-inference",
- "difference-in-differences", "instrumental-variables", "regression-discontinuity",
- "synthetic-control", "replication", "academic-writing", "empirical-research"
- ]
- },
- {
- "name": "empirical-analysis-python",
- "source": "./plugins/empirical-analysis-python",
- "version": "1.0.0",
- "description": "Explicit 8-step empirical-analysis pipeline in the traditional Python econometrics stack (pandas + statsmodels + linearmodels + pyfixest + rdrobust + econml + causalml): cleaning -> variable construction -> Table 1 -> diagnostics -> estimation (OLS/IV/DID/RDD/PSM/SCM/DML/Causal Forest) -> robustness -> mechanism/heterogeneity/mediation -> publication-ready tables & figures. Includes epidemiology and ML-causal modes.",
- "author": { "name": "Bryce Wang", "email": "brycew6m@stanford.edu" },
- "license": "CC-BY-SA-4.0",
- "homepage": "https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills",
- "repository": "https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills",
- "category": "academic",
- "keywords": [
- "econometrics", "causal-inference", "python", "difference-in-differences",
- "instrumental-variables", "regression-discontinuity", "double-machine-learning",
- "empirical-research", "replication"
- ]
- },
- {
- "name": "empirical-analysis-stata",
- "source": "./plugins/empirical-analysis-stata",
- "version": "1.0.0",
- "description": "Explicit 8-step empirical-analysis pipeline in the traditional Stata ecosystem (reghdfe + ivreg2 + csdid + did_imputation + sdid + rdrobust + synth + psmatch2 + teffects + esttab + coefplot): from use/import to .tex/.rtf tables and .pdf figures, with the full modern DID toolkit (bacondecomp + honestdid + rwolf + ritest). Includes epidemiology and ML-causal modes. The first choice for referee-level Stata replication packs.",
- "author": { "name": "Bryce Wang", "email": "brycew6m@stanford.edu" },
- "license": "CC-BY-SA-4.0",
- "homepage": "https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills",
- "repository": "https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills",
- "category": "academic",
- "keywords": [
- "econometrics", "causal-inference", "stata", "reghdfe", "difference-in-differences",
- "instrumental-variables", "regression-discontinuity", "synthetic-control",
- "empirical-research", "replication"
- ]
- },
- {
- "name": "empirical-analysis-r",
- "source": "./plugins/empirical-analysis-r",
- "version": "1.0.0",
- "description": "Explicit 8-step empirical-analysis pipeline in the modern tidyverse + econometrics R stack (dplyr + haven + fixest + did + synthdid + rdrobust + MatchIt + WeightIt + grf + DoubleML + mediation + marginaleffects + modelsummary). All eight steps fit in a single .qmd; `quarto render` produces a unified PDF/HTML/Word reproducibility report. Includes epidemiology and ML-causal modes.",
- "author": { "name": "Bryce Wang", "email": "brycew6m@stanford.edu" },
- "license": "CC-BY-SA-4.0",
- "homepage": "https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills",
- "repository": "https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills",
- "category": "academic",
- "keywords": [
- "econometrics", "causal-inference", "r", "tidyverse", "fixest",
- "difference-in-differences", "regression-discontinuity", "quarto",
- "empirical-research", "reproducible-research"
- ]
- }
- ]
- }
README.md · README · 404 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.
- [](https://awesome.re)
- [](https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills)
- [](https://creativecommons.org/licenses/by-sa/4.0/)
- [](CONTRIBUTING.md)
- [](https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills/actions/workflows/validate-catalog.yml)
- [](https://scorecard.dev/viewer/?uri=github.com/brycewang-stanford/Auto-Empirical-Research-Skills)
- [](SECURITY-SCAN-REPORT.md)
- [](docs/RIGOR_COVERAGE.md)
- [](https://github.com/brycewang-stanford/StatsPAI)
- # Auto-Empirical Research Skills (AERS)
- > ## 🔥 力荐 · [StatsPAI](https://github.com/brycewang-stanford/StatsPAI) — Stata 与 R 的 Python 平替,为 AI Agent 而生
- >
- > - 🔁 **Stata / R 平替**:`reghdfe`、`csdid`、`rdrobust`、`synth`、`fixest`、`did` 等常用命令在 Python 中一站式替代,一个 `import statspai as sp` 搞定 DID / RD / IV / SCM / DML / matching
- > - 🤖 **面向 Agent 设计**:结构化结果对象 + 内置 MCP Server,Claude / Codex 等智能体可直接调用、诊断、审计与出表
- > - ⚡ **运行速度更快**:无需启动 Stata / R 会话,免许可证,纯 Python 流水线端到端提速
- > - 🏛️ **同一团队维护**:StatsPAI 与 AERS 由同一团队(Stanford REAP)开发和持续维护,两者深度集成、同步迭代
- >
- > **[github.com/brycewang-stanford/StatsPAI](https://github.com/brycewang-stanford/StatsPAI)** · `pip install statspai` · MIT 开源 · 欢迎 ⭐ Star
- <div align="center">
- **🌐 语言: [English](README-en.md) | 简体中文(默认) | [繁體中文](README-zh-TW.md) | [日本語](README-ja.md) | [한국어](README-ko.md)**
- <br/>
- <table>
- <tr>
- <td align="center">
- <a href="https://github.com/brycewang-stanford/StatsPAI"><img src="images/statspai-logo.png" alt="StatsPAI" width="360" /></a>
- </td>
- <td width="72"></td>
- <td align="center">
- <img src="images/stanford-reap-logo.png" alt="Stanford REAP - Center on China's Economy & Institutions" width="440" />
- </td>
- </tr>
- </table>
- <br/>
- <strong>Stanford REAP × StatsPAI</strong> · 实证研究 AI 工具的学术工业级产品<br/>
- <sub>由斯坦福实证研究方法论团队打造,覆盖从数据清洗到顶刊投稿的完整工作流</sub>
- <br/>
- <br/>
- <img src="images/aers-readme-cover-cn.png" alt="实证研究智能体技能大全封面图" width="100%" />
- <br/>
- </div>
- > ### 🚀 New here? Open the **[Skill Search →](docs/search.html)** to filter all 1,151 skills by method, stage, language, and license. The 5-minute tour (`make quickstart`) prints the same picture in your terminal.
- >
- > ### 🇨🇳 **中文用户从本文件开始**(流水线速览 + 78 行总表),每个合集的完整描述见 [`docs/CONTENT_ZH.md`](docs/CONTENT_ZH.md)。📖 **English readers:** see [`README-en.md`](README-en.md).
- ---
- ### 信任面 · Trust surface (rigor stats)
- | Rigor lane | Count | Where |
- |---|---|---|
- | Numeric **benchmark tasks** — gold values recomputed from real data each run | **19** | [`benchmark/`](benchmark/) |
- | Behavioral **eval scenarios / rubric items** | **42 / 217** | [`eval-harness/`](eval-harness/) |
- | 其中**已证明能区分对错**的场景(pass/fail 双 fixture 自检) | **9**(全部 6 个 critical 场景在内) | [`eval-harness/fixtures/`](eval-harness/fixtures/) |
- > Full trust overview: [`docs/TRUST.md`](docs/TRUST.md) · [`docs/RIGOR_COVERAGE.md`](docs/RIGOR_COVERAGE.md)
- >
- > 🏁 **带上你自己的 agent 来考同一份卷子**:`pip install -e .` 后用 [`aers-score`](aers_score/README.md) 给自己打分,成绩发布在 [`docs/EXTERNAL_SCOREBOARD.md`](docs/EXTERNAL_SCOREBOARD.md)(规则见 [`docs/SCOREBOARD_RULES.md`](docs/SCOREBOARD_RULES.md))。榜上的数字是**我们用同一套评分器重算**出来的,不是提交者自报的。
- ---
- ## ⚡ 安装与使用(30 秒上手)
- ### 最省事的一招:把 URL 丢给 Agent
- **把项目 URL 地址 `https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills` 丢给 Claude Code / Codex,并指定是目录 / 项目 / 全局安装** —— 剩下的让它自己做。例如:
- ```text
- 帮我安装 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills
- 装到「全局」(~/.claude/skills/),我想在所有项目里都能用
- ```
- 把最后一行换成你要的作用域即可:
- | 作用域 | 说给 Agent 的话 | 落到哪里 |
- |:--|:--|:--|
- | **目录**(当前会话临时用) | "只在当前目录用,不要全局安装" | 当前工作目录下的 `.claude/skills/` |
- | **项目**(团队共享,可提交进 git) | "装到本项目" | 项目根目录 `.claude/skills/` |
- | **全局**(所有项目可用) | "装到全局" | `~/.claude/skills/`(Codex 为 `~/.agents/skills/`,老版本 `~/.codex/skills/`) |
- **已经 clone / 下载到本地?** 把 `Auto-Empirical-Research-Skills` 文件夹的本地路径复制给 Agent,让它读 [`INSTALL.md`](INSTALL.md) 自己装:
- ```text
- 帮我安装这个本地 skills 包:/Users/你的用户名/Downloads/Auto-Empirical-Research-Skills
- 我用的是 Codex(或 Claude Code / WorkBuddy),装到全局,所有项目都能用。
- 请先读这个文件夹里的 INSTALL.md,按我这个软件的方式装好;装完告诉我装到了哪个目录、怎么确认已经生效。
- ```
- > 复制路径:macOS 在访达选中文件夹按 `Option + Command + C`;Windows 按住 `Shift` 右键 →「复制为路径」;或者直接把文件夹拖进 Agent 输入框。详细步骤见 [`INSTALL.md`](INSTALL.md) 方法 0。
- ### 手动安装(两种,任选其一)
- **A. 插件市场(Claude Code v2.1+,推荐,可升级)**
- ```bash
- claude plugin marketplace add brycewang-stanford/Auto-Empirical-Research-Skills
- claude plugin install aer-skills@auto-empirical-research-skills # 顶刊投稿全流程(9 skills)
- claude plugin install empirical-analysis-python@auto-empirical-research-skills # Python 计量流水线
- claude plugin install empirical-analysis-stata@auto-empirical-research-skills # Stata 计量流水线
- claude plugin install empirical-analysis-r@auto-empirical-research-skills # R + Quarto 流水线
- ```
- **B. 只要某一个 skill —— 直接拷文件夹**
- ```bash
- git clone --recurse-submodules https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.git
- cd Auto-Empirical-Research-Skills
- cp -R skills/00.1-Full-empirical-analysis-skill_Python .claude/skills/ # 项目级
- cp -R skills/00.1-Full-empirical-analysis-skill_Python ~/.claude/skills/ # 全局
- ```
- 拷进去的文件夹必须自带 `SKILL.md`(部分合集的 `SKILL.md` 在下一层,拷那一层)。
- ### 怎么用
- 新开一个会话,**直接用自然语言说要做什么**,Agent 会按 `description` 自动挑 skill;说不动就点名方法或 skill:
- ```text
- 用面板数据跑一个 Callaway–Sant'Anna 事件研究,并出 HonestDiD 稳健性和期刊级表格
- ```
- > 完整安装说明(Codex 安装见方法 2C、Codex / CodeBuddy 整库导入、`--plugin-dir` 单次加载、常见故障排查)见 [`INSTALL.md`](INSTALL.md)。
- ---
- ## 中文文档结构
- 中文内容分两级维护,各司其职:
- - **本文件(README.md,GitHub 默认入口)**:banner、badges、信任面、9 阶段流水线速览、78 行合集总表。
- - **[`docs/CONTENT_ZH.md`](docs/CONTENT_ZH.md)(扩展正文)**:每个合集的完整描述(`#skill-NN` 锚点)、按用途分组、精确数字、2 分钟验证、三层信任、旗舰流水线详解、贡献与引用。总表行内的 `→` 直接跳到对应锚点。
- - **其他语言**:[`README-en.md`](README-en.md) · [`README-zh-TW.md`](README-zh-TW.md) · [`README-ja.md`](README-ja.md) · [`README-ko.md`](README-ko.md)
- > [!NOTE]
- > **维护规则:** 改合集总表 → 本文件与 CONTENT_ZH.md 的锚点表**两处同步**;改合集详情 / 分组 / 数字 → 只改 [`docs/CONTENT_ZH.md`](docs/CONTENT_ZH.md)。统计数字(合集数 / skill 数)以 [`catalog/skills.json`](catalog/skills.json) 为准,由 `make validate` 的 readme-stats 检查器守护。
- >
- > **贡献者(Contributors):** 提交前请在本地跑通完整门禁 `make check`(catalog 校验 + 链接 + 单元测试 + eval-harness + benchmark)。详见 [`CONTRIBUTING.md`](CONTRIBUTING.md)。
- >
- > **旧版归档:** [`README-zh-CN.md`](README-zh-CN.md) 已弃用,仅作向后兼容的重定向占位。
- ---
- ## 🚀 从一个 idea 到一篇论文:社科实证研究 · 端到端流水线(全自动、可介入)
- > **AERS 不只是 78 个散装 skill —— 它能陪你走完一篇论文。** 从模糊 idea → 选题精炼 → 文献综述 → 数据获取 → 识别策略 → 估计建模 → 稳健性审计 → 出版级表格 / 图形 → 写作与同行评审 → 降 AIGC → 投稿。**端到端、全自动、每一步都可被人介入**(中间任何一步你都可以接过去手工改方法、补变量、加稳健性,再让流水线自动接上跑)。
- ### 9 阶段流水线 · 每一步都覆盖到具体 skill
- | # | 阶段 | 关键 skills(点合集名进目录,`→` 进完整说明) |
- |:--:|:--|:--|
- | 1️⃣ | **选题精炼** — Agent 把模糊想法收紧成"可证伪 + 可执行"的研究问题 | · [25 Diverga](skills/25-HosungYou-Diverga/) · [33 claude-scholar](skills/33-Galaxy-Dawn-claude-scholar/) · [05 research-superpower](skills/05-kthorn-research-superpower/) · [11 compound-science](skills/11-James-Traina-compound-science/) |
- | 2️⃣ | **文献综述** — 检索 · 筛选 · PRISMA 流程 · 批判性阅读 · 主题分析 | · [36 literature-review-skill](skills/36-taoyunudt-literature-review-skill/) · [24 academic-research-skills](skills/24-Imbad0202-academic-research-skills/) · [59 openalex-skill](skills/59-shiquda-openalex-skill/) · [68 research-productivity-skills](skills/68-research-productivity-skills/) · [53 thematic-analysis](skills/53-keemanxp-thematic-analysis-skill/) |
- | 3️⃣ | **数据获取** — 公开数据库 · API · 网页抓取 · 数据清洗 | · [33 claude-scholar](skills/33-Galaxy-Dawn-claude-scholar/) · [68 research-productivity-skills](skills/68-research-productivity-skills/) · [32 stata-skill](skills/32-dylantmoore-stata-skill/) · [57 edgartools](skills/57-dgunning-edgartools/) |
- | 4️⃣ | **识别策略** — DiD / RD / IV / SCM / DML / matching 全覆盖 | · ⭐ [00 StatsPAI](skills/00-Full-empirical-analysis-skill_StatsPAI/) 🔥 · [10 causal-inference-mixtape](skills/10-Jill0099-causal-inference-mixtape/) · [13 MixtapeTools](skills/13-scunning1975-MixtapeTools/) · [51 CausalPy](skills/51-pymc-labs-CausalPy/) · [63 scientific-agent-skills](skills/63-tondevrel-scientific-agent-skills/) |
- | 5️⃣ | **估计建模** — Python / Stata / R 三栈,900+ 估计器 | · ⭐ [00.1 Full Empirical · Python](skills/00.1-Full-empirical-analysis-skill_Python/) · ⭐ [00.2 Full Empirical · Stata](skills/00.2-Full-empirical-analysis-skill_Stata/) · ⭐ [00.3 Full Empirical · R](skills/00.3-Full-empirical-analysis-skill_R/) · [40 pyfixest](skills/40-py-econometrics-pyfixest/) · [39 marginaleffects](skills/39-vincentarelbundock-marginaleffects/) · [09 awesome-econ-ai](skills/09-meleantonio-awesome-econ-ai-stuff/) · ⭐ [74 SPSS + AMOS 问卷结构方程](skills/74-brycewang-spss-amos-sem/) |
- | 6️⃣ | **稳健性审计** — 复现包检查 · Honest-DiD · R&R 模拟 | · [41 sewage-econometrics-check](skills/41-sticerd-eee-sewage-econometrics-check/) · ⭐ [50 AER-skills](skills/50-brycewang-aer-skills/) · ⭐ [73 p-hacking-skills](skills/73-brycewang-p-hacking-skills/) · [21 AI-research-feedback](skills/21-claesbackman-AI-research-feedback/) |
- | 7️⃣ | **表格 & 图形** — 期刊出版级排版 · LaTeX 嵌入 | · ⭐ [00 StatsPAI](skills/00-Full-empirical-analysis-skill_StatsPAI/) · [07 AI-Research-SKILLs](skills/07-Orchestra-Research-AI-Research-SKILLs/) · [33 claude-scholar](skills/33-Galaxy-Dawn-claude-scholar/) · [08 latex-document-skill](skills/08-ndpvt-web-latex-document-skill/) |
- | 8️⃣ | **写作 & 同行评审** — LaTeX / Quarto · 仿审稿人 · 校对 | · [06 stats-paper-writing](skills/06-fuhaoda-stats-paper-writing/) · [04 scientific-writer](skills/04-K-Dense-AI-claude-scientific-writer/) · [22 christopherkenny-skills](skills/22-christopherkenny-skills/) · [38 academic-proofreader](skills/38-peternka-academic-proofreader/) · [56 econ-writing-skill](skills/56-hanlulong-econ-writing-skill/) · [16 clo-author](skills/16-hsantanna88-clo-author/) |
- | 9️⃣ | **降 AIGC & 去水印 & 投稿** — 知网 / 万方 / Turnitin / 英 30 + 中 28 类 AI 痕迹模式 / 数字与引用保真核对 / 隐藏字符 · 形近字 · C2PA · docx 元数据清理 | · ⭐ [48 de-AIGC-skills](skills/48-de-AIGC-skills/) 🇨🇳🇬🇧 · [44 humanizer_academic](skills/44-matsuikentaro1-humanizer_academic/) · [45 deslop](skills/45-stephenturner-skill-deslop/) · [46 stop-slop](skills/46-hardikpandya-stop-slop/) · [47 avoid-ai-writing](skills/47-conorbronsdon-avoid-ai-writing/) · [49 humanize-chinese](skills/49-voidborne-d-humanize-chinese/) |
- ### 🎼 元编排:⭐ [69 Paper-WorkFlow](skills/69-Paper-WorkFlow/) —— 一键串起来
- [`Paper-WorkFlow`](skills/69-Paper-WorkFlow/) 是 AERS 的"指挥棒",它把上面 9 个阶段的 skill 串成 **一条按键即运行的端到端流水线**。
- 你在 IDE 入口给它一句自然语言:
- > *"开一个新论文项目:空气污染与中国劳动力市场,CS 设计 + 省级面板"*
- 它会自动按顺序调:
- 1. ⭐ [00 StatsPAI](skills/00-Full-empirical-analysis-skill_StatsPAI/) → `sp.csdid(...)` 给出 CS-DID 估计草案 + 写出估计方程与识别假设
- 2. [33 claude-scholar](skills/33-Galaxy-Dawn-claude-scholar/) → 抓变量定义 / 数据源候选 / 相关文献
- 3. ⭐ [00 StatsPAI](skills/00-Full-empirical-analysis-skill_StatsPAI/) → 真跑 `sp.feols(...)` + `sp.honest_did(...)`
- 4. [41 sewage-econometrics-check](skills/41-sticerd-eee-sewage-econometrics-check/) → 10 项复现包审计 + 稳健性体检
- 5. ⭐ [00 StatsPAI](skills/00-Full-empirical-analysis-skill_StatsPAI/) + [07 AI-Research-SKILLs](skills/07-Orchestra-Research-AI-Research-SKILLs/) → 出 Table 1–5 + 期刊级图
- 6. [38 academic-proofreader](skills/38-peternka-academic-proofreader/) → 通读 + §comment 标"审稿人会挑刺的位置"
- 7. [56 econ-writing-skill](skills/56-hanlulong-econ-writing-skill/) 起草初稿 + ⭐ [48 de-AIGC-skills](skills/48-de-AIGC-skills/) 🇨🇳🇬🇧 + [45 deslop](skills/45-stephenturner-skill-deslop/) 过知网 / Turnitin
- **任何阶段你都可以手动介入** —— 上一阶段的产物全部落盘(产物-幂等 pipeline),你接过去改方法、补控制、加稳健性,再让流水线自动接下去跑。这就是"全自动 + 可介入"。
- ### 🏆 7 个 Stanford REAP × StatsPAI 自研 skill —— 是整个流水线的主干
- | ⭐ Skill | 在流水线里的角色 |
- |:--|:--|
- | [00 StatsPAI](skills/00-Full-empirical-analysis-skill_StatsPAI/) 🔥 | **因果引擎**:900+ 函数,`sp.causal(...)` 一行跑闭环(DID / RD / IV / SCM / DML / matching) |
- | [00.1 Full Empirical · Python](skills/00.1-Full-empirical-analysis-skill_Python/) 📘 | 显式 Python 栈(pandas / statsmodels / linearmodels / pyfixest) |
- | [00.2 Full Empirical · Stata](skills/00.2-Full-empirical-analysis-skill_Stata/) 📊 | 显式 Stata 栈(reghdfe / ivreg2 / csdid / sdid / rdrobust) |
- | [00.3 Full Empirical · R](skills/00.3-Full-empirical-analysis-skill_R/) 📗 | 显式 R 栈(tidyverse / fixest / did / HonestDiD)+ Quarto 渲染 |
- | [48 de-AIGC-skills](skills/48-de-AIGC-skills/) 🇨🇳🇬🇧 | 中英双语学术降 AIGC + 去水印层(Turnitin AI / GPTZero / 知网 / 万方 · 隐藏字符 / C2PA / docx 元数据);2026-10 对照 GitHub 星数前十的去 AI 味 skill 升级:英 30 + 中 28 类模式、只诊断 / 编辑 / 作者重述三种模式、`aigc_audit.py` 保真闸门 |
- | [50 AER-skills](skills/50-brycewang-aer-skills/) 📕 | Top-5 经济学投稿套件:识别 → 稳健性 → R&R |
- | [69 Paper-WorkFlow](skills/69-Paper-WorkFlow/) 🧭 | 元编排器,把上面 9 个阶段串成一键流水线 |
- **为什么挑这 7 个?因为它们的行为都被基准钉死了** —— 不是营销口径,是对着已知答案反复跑过验证过的([17 项数值 benchmark + 37 项行为评测 ↗](docs/CONTENT_ZH.md#你究竟得到什么精确数字))。
- ### 看到这里 —— 完整 78 行合集目录
- [↴ 直跳到下方 78 行总表(每个合集带 `#skill-NN` 锚点)](#-78-个核心-skills-合集一览00--74编号连续无空缺)。如果你更关心"这些 skill **怎么用**"而不是"有哪些 skill",看 [📘 中文唯一权威正文](docs/CONTENT_ZH.md) 里的「按用途分组」与「旗舰流水线」两节。
- ---
- ## 🧰 78 个核心 Skills 合集一览(`00 → 74`,编号连续无空缺)
- > **打开仓库 → 看见整座库。** 全部 **78 个合集 · 1,151 个 skill**,每一个都已 vendor 进本仓库,由 [`catalog/skills.json`](catalog/skills.json) 跟踪。**⭐ = Stanford REAP × StatsPAI 团队自研的 skill**;其余为精选、经安全审计的社区作品。
- >
- > **主题图例 —** 🚀 全流程与编排器 · 🎯 因果推断与计量经济学 · 📚 文献与研究设计 · ✍️ 写作 / 编辑 / 去 AIGC · 📑 引用 / 复现 / 同行评审 · 🛠️ 数据 / 工具 / 基础设施
- >
- > **点击【→】** 跳转到 [`docs/CONTENT_ZH.md`](docs/CONTENT_ZH.md) 中该合集的完整描述;**点击合集名** 直接打开其目录。
- >
- > **🙏 尊重原作者 —** **「来源」列直接链回上游原始仓库**(`owner/repo`)。本仓库里的社区合集都是**上游快照**:请去原仓库点 star、提 issue、看 LICENSE。完整的许可证与来源置信度审计见 [`docs/LICENSE_AUDIT.md`](docs/LICENSE_AUDIT.md),机器可读版本在 [`catalog/provenance.json`](catalog/provenance.json)。
- | # | 合集 | 一句话 | 详情 | 来源 |
- |--:|:--|:--|:--|:--|
- | ⭐ [00](skills/00-Full-empirical-analysis-skill_StatsPAI/) | **StatsPAI** 🔥 | 因果引擎 · Agent-native Python DSL:`sp.causal(...)` 一行跑闭环(DID/RD/IV/SCM/DML,900+ 函数) | [→](docs/CONTENT_ZH.md#skill-00) | [brycewang-stanford/StatsPAI](https://github.com/brycewang-stanford/StatsPAI) |
- | ⭐ [00.1](skills/00.1-Full-empirical-analysis-skill_Python/) | **Full Empirical · Python** 📘 | 显式栈:`pandas` · `statsmodels` · `linearmodels` · `pyfixest` | [→](docs/CONTENT_ZH.md#skill-00-1) | [⭐ 本仓库](https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills) |
- | ⭐ [00.2](skills/00.2-Full-empirical-analysis-skill_Stata/) | **Full Empirical · Stata** 📊 | `reghdfe` · `ivreg2` · `csdid` · `sdid` · `rdrobust` 复现包 | [→](docs/CONTENT_ZH.md#skill-00-2) | [⭐ 本仓库](https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills) |
- | ⭐ [00.3](skills/00.3-Full-empirical-analysis-skill_R/) | **Full Empirical · R** 📗 | tidyverse · `fixest` · `did` · `HonestDiD` + Quarto 渲染 | [→](docs/CONTENT_ZH.md#skill-00-3) | [⭐ 本仓库](https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills) |
- | [01](skills/01-lishix520-academic-paper-skills/) | academic-paper-skills | 大纲 → 手稿写作 + 7 维审稿人模拟 | [→](docs/CONTENT_ZH.md#skill-01) | [lishix520/academic-paper-skills](https://github.com/lishix520/academic-paper-skills) |
- | [02](skills/02-luwill-research-skills/) | research-skills | 医学影像综述、提案、论文转幻灯片 | [→](docs/CONTENT_ZH.md#skill-02) | [luwill/research-skills](https://github.com/luwill/research-skills) |
- | [03](skills/03-K-Dense-AI-claude-scientific-skills/) | scientific-skills | 假设生成 + 28 个科学数据库 | [→](docs/CONTENT_ZH.md#skill-03) | [K-Dense-AI/claude-scientific-skills](https://github.com/K-Dense-AI/claude-scientific-skills) |
- | [04](skills/04-K-Dense-AI-claude-scientific-writer/) | scientific-writer | 引用管理 + 科学写作 | [→](docs/CONTENT_ZH.md#skill-04) | [K-Dense-AI/claude-scientific-writer](https://github.com/K-Dense-AI/claude-scientific-writer) |
- | [05](skills/05-kthorn-research-superpower/) | research-superpower | 系统化检索、筛选与引文溯源 | [→](docs/CONTENT_ZH.md#skill-05) | [kthorn/research-superpower](https://github.com/kthorn/research-superpower) |
- | [06](skills/06-fuhaoda-stats-paper-writing/) | stats-paper-writing | 端到端 LaTeX 统计论文写作 | [→](docs/CONTENT_ZH.md#skill-06) | [fuhaoda/stats-paper-writing-agent-skills](https://github.com/fuhaoda/stats-paper-writing-agent-skills) |
- | [07](skills/07-Orchestra-Research-AI-Research-SKILLs/) | AI-Research-SKILLs | 发表级 ML 图表、LaTeX、引文核验 | [→](docs/CONTENT_ZH.md#skill-07) | [Orchestra-Research/AI-Research-SKILLs](https://github.com/Orchestra-Research/AI-Research-SKILLs) |
- | [08](skills/08-ndpvt-web-latex-document-skill/) | latex-document-skill | 创建 / 编译任意 LaTeX 文档为 PDF | [→](docs/CONTENT_ZH.md#skill-08) | [ndpvt-web/latex-document-skill](https://github.com/ndpvt-web/latex-document-skill) |
- | [09](skills/09-meleantonio-awesome-econ-ai-stuff/) | awesome-econ-ai | Python 面板数据分析(`linearmodels`) | [→](docs/CONTENT_ZH.md#skill-09) | [meleantonio/awesome-econ-ai-stuff](https://github.com/meleantonio/awesome-econ-ai-stuff) |
- | [10](skills/10-Jill0099-causal-inference-mixtape/) | causal-inference-mixtape | DID / IV / RDD / SCM 模板(Cunningham) | [→](docs/CONTENT_ZH.md#skill-10) | [Jill0099/causal-inference-mixtape](https://github.com/Jill0099/causal-inference-mixtape) |
- | [11](skills/11-James-Traina-compound-science/) | compound-science | 面向定量社会科学的贝叶斯估计 | [→](docs/CONTENT_ZH.md#skill-11) | [James-Traina/compound-science](https://github.com/James-Traina/compound-science) |
- | [12](skills/12-pedrohcgs-claude-code-my-workflow/) | claude-code-my-workflow | 提交 → PR → 合并的研究工作流(Emory) | [→](docs/CONTENT_ZH.md#skill-12) | [pedrohcgs/claude-code-my-workflow](https://github.com/pedrohcgs/claude-code-my-workflow) |
- | [13](skills/13-scunning1975-MixtapeTools/) | MixtapeTools | Cunningham 的因果推断工具集与讲义 | [→](docs/CONTENT_ZH.md#skill-13) | [scunning1975/MixtapeTools](https://github.com/scunning1975/MixtapeTools) |
- | [14](skills/14-luischanci-claude-code-research-starter/) | research-starter | R 中的 IV / DiD / RDD,含完整诊断 | [→](docs/CONTENT_ZH.md#skill-14) | [luischanci/claude-code-research-starter](https://github.com/luischanci/claude-code-research-starter) |
- | [15](skills/15-Felpix-Studios-social-science-research/) | social-science-research | R 或 Python 端到端数据分析 | [→](docs/CONTENT_ZH.md#skill-15) | [Felpix-Studios/social-science-research](https://github.com/Felpix-Studios/social-science-research) |
- | [16](skills/16-hsantanna88-clo-author/) | clo-author | 多代理数据分析(R / Stata / Python) | [→](docs/CONTENT_ZH.md#skill-16) | [hsantanna88/clo-author](https://github.com/hsantanna88/clo-author) |
- | [17](skills/17-DAAF-Contribution-Community-daaf/) | DAAF | 安全意识代理框架(32 条 deny rule) | [→](docs/CONTENT_ZH.md#skill-17) | [DAAF-Contribution-Community/daaf](https://github.com/DAAF-Contribution-Community/daaf) |
- | [18](skills/18-jusi-aalto-stata-accounting-research/) | stata-accounting | 来自 126 篇 *JAR* 论文的实测 Stata 范式 | [→](docs/CONTENT_ZH.md#skill-18) | [jusi-aalto/stata-accounting-research](https://github.com/jusi-aalto/stata-accounting-research) |
- | [19](skills/19-CuellarC05-vera-economic-intelligence/) | vera-economic-intelligence | 经济情报 / 政策研究情报工作流 | [→](docs/CONTENT_ZH.md#skill-19) | [CuellarC05/vera-economic-intelligence](https://github.com/CuellarC05/vera-economic-intelligence) |
- | [20](skills/20-wenddymacro-python-econ-skill/) | python-econ-skill | DSGE / HANK 与定量经济计算 | [→](docs/CONTENT_ZH.md#skill-20) | [wenddymacro/python-econ-skill](https://github.com/wenddymacro/python-econ-skill) |
- | [21](skills/21-claesbackman-AI-research-feedback/) | AI-research-feedback | 用 AI 同行评审生成结构化反馈 | [→](docs/CONTENT_ZH.md#skill-21) | [claesbackman/AI-research-feedback](https://github.com/claesbackman/AI-research-feedback) |
- | [22](skills/22-christopherkenny-skills/) | christopherkenny-skills | 面向 Quarto(`.qmd`)的 APSA 风格检查器 | [→](docs/CONTENT_ZH.md#skill-22) | [christopherkenny/skills](https://github.com/christopherkenny/skills) |
- | [23](skills/23-Learning-Bayesian-Statistics-baygent-skills/) | baygent | 带护栏的 PyMC / Arviz 贝叶斯工作流 | [→](docs/CONTENT_ZH.md#skill-23) | [Learning-Bayesian-Statistics/baygent-skills](https://github.com/Learning-Bayesian-Statistics/baygent-skills) |
- | [24](skills/24-Imbad0202-academic-research-skills/) | academic-research-skills | 5 审稿人多视角论文评审 | [→](docs/CONTENT_ZH.md#skill-24) | [Imbad0202/academic-research-skills](https://github.com/Imbad0202/academic-research-skills) |
- | [25](skills/25-HosungYou-Diverga/) | Diverga | 研究问题精炼器(抗模式坍缩) | [→](docs/CONTENT_ZH.md#skill-25) | [HosungYou/Diverga](https://github.com/HosungYou/Diverga) |
- | [26](skills/26-Data-Wise-scholar/) | scholar | 统计算法设计与文档 | [→](docs/CONTENT_ZH.md#skill-26) | [Data-Wise/claude-plugins](https://github.com/Data-Wise/claude-plugins) |
- | [27](skills/27-dariia-m-my_claude_skills/) | my_claude_skills | 经济学摘要写作指南 | [→](docs/CONTENT_ZH.md#skill-27) | [dariia-m/my_claude_skills](https://github.com/dariia-m/my_claude_skills) |
- | [28](skills/28-maxwell2732-paper-replicate-agent-demo/) | paper-replicate-agent | 论文复现代理演示 | [→](docs/CONTENT_ZH.md#skill-28) | [maxwell2732/paper-replicate-agent-demo](https://github.com/maxwell2732/paper-replicate-agent-demo) |
- | [29](skills/29-quarcs-lab-project20XXy/) | project20XXy | 可复现手稿 + notebook 项目 | [→](docs/CONTENT_ZH.md#skill-29) | [quarcs-lab/project20XXy](https://github.com/quarcs-lab/project20XXy) |
- | [30](skills/30-zirui-song-claude-skills/) | zirui-song-claude-skills | Zirui Song 的研究辅助 Claude 技能集 | [→](docs/CONTENT_ZH.md#skill-30) | [zirui-song/claude-skills](https://github.com/zirui-song/claude-skills) |
- | [31](skills/31-thalysandratos-claude-code-skills/) | claude-code-skills | Python 面板数据分析 | [→](docs/CONTENT_ZH.md#skill-31) | [thalysandratos/claude-code-skills](https://github.com/thalysandratos/claude-code-skills) |
- | [32](skills/32-dylantmoore-stata-skill/) | stata-skill | 高性能 Stata C/C++ 插件 | [→](docs/CONTENT_ZH.md#skill-32) | [dylantmoore/stata-skill](https://github.com/dylantmoore/stata-skill) |
- | [33](skills/33-Galaxy-Dawn-claude-scholar/) | claude-scholar | 研究全生命周期:选题 → 综述 → 实验 → 审稿回复 | [→](docs/CONTENT_ZH.md#skill-33) | [Galaxy-Dawn/claude-scholar](https://github.com/Galaxy-Dawn/claude-scholar) |
- | [34](skills/34-andrehuang-research-companion/) | research-companion | 头脑风暴、评估并决策研究方向 | [→](docs/CONTENT_ZH.md#skill-34) | [andrehuang/research-companion](https://github.com/andrehuang/research-companion) |
- | [35](skills/35-bahayonghang-academic-writing-skills/) | academic-writing-skills | 面向投稿场所的工业 AI 文献研究 | [→](docs/CONTENT_ZH.md#skill-35) | [bahayonghang/academic-writing-skills](https://github.com/bahayonghang/academic-writing-skills) |
- | [36](skills/36-taoyunudt-literature-review-skill/) | literature-review-skill | 完整文献综述工作流(中文) | [→](docs/CONTENT_ZH.md#skill-36) | [taoyunudt/literature-review-skill](https://github.com/taoyunudt/literature-review-skill) |
- | [37](skills/37-IlanStrauss-ai-skills/) | IlanStrauss-ai-skills | Ilan Strauss 经济学研究 AI 工作流 | [→](docs/CONTENT_ZH.md#skill-37) | [IlanStrauss/ai-skills](https://github.com/IlanStrauss/ai-skills) |
- | [38](skills/38-peternka-academic-proofreader/) | academic-proofreader | 学术校对 | [→](docs/CONTENT_ZH.md#skill-38) | [peternka/academic_proofreader](https://github.com/peternka/academic_proofreader) |
- | [39](skills/39-vincentarelbundock-marginaleffects/) | marginaleffects | 预测、斜率与比较(R / Python) | [→](docs/CONTENT_ZH.md#skill-39) | [vincentarelbundock/marginaleffects](https://github.com/vincentarelbundock/marginaleffects) |
- | [40](skills/40-py-econometrics-pyfixest/) | pyfixest | Python 中的快速固定效应估计 | [→](docs/CONTENT_ZH.md#skill-40) | [py-econometrics/pyfixest](https://github.com/py-econometrics/pyfixest) |
- | [41](skills/41-sticerd-eee-sewage-econometrics-check/) | sewage-econometrics-check | 10 项复现包审计 | [→](docs/CONTENT_ZH.md#skill-41) | [sticerd-eee/sewage](https://github.com/sticerd-eee/sewage) |
- | [42](skills/42-wanshuiyin-ARIS/) | ARIS | 自主「research-in-sleep」代理,端到端 | [→](docs/CONTENT_ZH.md#skill-42) | [wanshuiyin/Auto-claude-code-research-in-sleep](https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep) |
- | [43](skills/43-wentorai-research-plugins/) | research-plugins | 478 个研究插件:数据可视化、领域、基础设施 | [→](docs/CONTENT_ZH.md#skill-43) | [wentorai/research-plugins](https://github.com/wentorai/research-plugins) |
- | [44](skills/44-matsuikentaro1-humanizer_academic/) | humanizer_academic | 为医学/学术手稿去 AI 味(34 类模式) | [→](docs/CONTENT_ZH.md#skill-44) | [matsuikentaro1/humanizer_academic](https://github.com/matsuikentaro1/humanizer_academic) |
- | [45](skills/45-stephenturner-skill-deslop/) | deslop | 去除 AI 写作痕迹(5 维评分) | [→](docs/CONTENT_ZH.md#skill-45) | [stephenturner/skill-deslop](https://github.com/stephenturner/skill-deslop) |
- | [46](skills/46-hardikpandya-stop-slop/) | stop-slop | 三层 AI 痕迹检测与改写 | [→](docs/CONTENT_ZH.md#skill-46) | [hardikpandya/stop-slop](https://github.com/hardikpandya/stop-slop) |
- | [47](skills/47-conorbronsdon-avoid-ai-writing/) | avoid-ai-writing | 审计 → 改写 → 二次审计 AI 味(留痕) | [→](docs/CONTENT_ZH.md#skill-47) | [conorbronsdon/avoid-ai-writing](https://github.com/conorbronsdon/avoid-ai-writing) |
- | ⭐ [48](skills/48-de-AIGC-skills/) | **de-AIGC-skills** 🇨🇳🇬🇧 | 中英双语学术降 AIGC + 去水印层(Turnitin AI / GPTZero / 知网 / 万方 · 隐藏字符 / C2PA / docx 元数据)· 2026-10 对标星数前十 humanizer 升级 | [→](docs/CONTENT_ZH.md#skill-48) | [⭐ 本仓库](https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills) |
- | [49](skills/49-voidborne-d-humanize-chinese/) | humanize-chinese | 检测并人性化 AI 生成的中文文本 | [→](docs/CONTENT_ZH.md#skill-49) | [swaylq/humanize-chinese](https://github.com/swaylq/humanize-chinese) |
- | ⭐ [50](skills/50-brycewang-aer-skills/) | **AER-skills** 📕 | Top-5 经济学投稿套件:识别 → 稳健性 → R&R | [→](docs/CONTENT_ZH.md#skill-50) | [brycewang-stanford/AER-skills](https://github.com/brycewang-stanford/AER-skills) |
- | [51](skills/51-pymc-labs-CausalPy/) | CausalPy | 贝叶斯准实验(PyMC Labs) | [→](docs/CONTENT_ZH.md#skill-51) | [pymc-labs/CausalPy](https://github.com/pymc-labs/CausalPy) |
- | [52](skills/52-keemanxp-slr-prisma/) | slr-prisma | 系统文献综述,PRISMA 2020 | [→](docs/CONTENT_ZH.md#skill-52) | [keemanxp/slr-prisma](https://github.com/keemanxp/slr-prisma) |
- | [53](skills/53-keemanxp-thematic-analysis-skill/) | thematic-analysis | Braun & Clarke 六阶段定性主题分析 | [→](docs/CONTENT_ZH.md#skill-53) | [keemanxp/thematic-analysis-skill](https://github.com/keemanxp/thematic-analysis-skill) |
- | [54](skills/54-scdenney-open-science-skills/) | open-science-skills | 引用一致性、DOI 与论据支撑审计 | [→](docs/CONTENT_ZH.md#skill-54) | [scdenney/open-science-skills](https://github.com/scdenney/open-science-skills) |
- | [55](skills/55-ab604-claude-code-r-skills/) | r-skills | R 中用 `brms` 做贝叶斯推断 | [→](docs/CONTENT_ZH.md#skill-55) | [ab604/claude-code-r-skills](https://github.com/ab604/claude-code-r-skills) |
- | [56](skills/56-hanlulong-econ-writing-skill/) | econ-writing-skill | 综合 50+ 顶级指南的经济学写作 | [→](docs/CONTENT_ZH.md#skill-56) | [hanlulong/econ-writing-skill](https://github.com/hanlulong/econ-writing-skill) |
- | [57](skills/57-dgunning-edgartools/) | edgartools | 查询与分析 SEC 文件 | [→](docs/CONTENT_ZH.md#skill-57) | [dgunning/edgartools](https://github.com/dgunning/edgartools) |
- | [58](skills/58-charlescoverdale-econstack/) | econstack | 政策简报(UK GES / AU Treasury) | [→](docs/CONTENT_ZH.md#skill-58) | [charlescoverdale/econstack](https://github.com/charlescoverdale/econstack) |
- | [59](skills/59-shiquda-openalex-skill/) | openalex-skill | 通过 OpenAlex 查询 2.4 亿+ 学术作品 | [→](docs/CONTENT_ZH.md#skill-59) | [shiquda/openalex-skill](https://github.com/shiquda/openalex-skill) |
- | [60](skills/60-regisely-superpapers/) | superpapers | 综合性实证研究支持套件 | [→](docs/CONTENT_ZH.md#skill-60) | [regisely/superpapers](https://github.com/regisely/superpapers) |
- | [61](skills/61-phdemotions-research-methods/) | research-methods | 与预注册匹配的验证性检验 | [→](docs/CONTENT_ZH.md#skill-61) | [phdemotions/research-methods](https://github.com/phdemotions/research-methods) |
- | [62](skills/62-PHY041-claude-skill-citation-checker/) | citation-checker | 对照 CrossRef / S2 / OpenAlex 核验引用 | [→](docs/CONTENT_ZH.md#skill-62) | [PHY041/claude-skill-citation-checker](https://github.com/PHY041/claude-skill-citation-checker) |
- | [63](skills/63-tondevrel-scientific-agent-skills/) | scientific-agent-skills | DoWhy 识别–估计–反驳框架 | [→](docs/CONTENT_ZH.md#skill-63) | [tondevrel/scientific-agent-skills](https://github.com/tondevrel/scientific-agent-skills) |
- | [64](skills/64-tmonk-mcp-stata/) | mcp-stata | 20 个 Stata 因果推断与复现 skill | [→](docs/CONTENT_ZH.md#skill-64) | [tmonk/mcp-stata](https://github.com/tmonk/mcp-stata) |
- | [65](skills/65-game-theory-paper-writer/) | game-theory-paper-writer | 生成并压力测试博弈论论文 | [→](docs/CONTENT_ZH.md#skill-65) | [本仓库 PR #17](https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills/pull/17) |
- | [66](skills/66-zheng-siyao-empirical-research-skills/) | empirical-research-skills | 面向大型面板的 R 性能优化 | [→](docs/CONTENT_ZH.md#skill-66) | [SiyaoZheng/ai4ss-skills](https://github.com/SiyaoZheng/ai4ss-skills) |
- | [67](skills/67-econfin-workflow-toolkit/) | econfin-workflow-toolkit | 中国公司金融实证工作流,从提案到论文 | [→](docs/CONTENT_ZH.md#skill-67) | [本仓库 PR #22](https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills/pull/22) |
- | [68](skills/68-research-productivity-skills/) | research-productivity-skills | 论文检索、SSRN、DOI 查询、下载 | [→](docs/CONTENT_ZH.md#skill-68) | [本仓库 PR #21](https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills/pull/21) |
- | ⭐ [69](skills/69-Paper-WorkFlow/) | **Paper-WorkFlow** 🧭 | 元编排器,串起整个社会科学论文流水线 | [→](docs/CONTENT_ZH.md#skill-69) | [brycewang-stanford/Paper-WorkFlow](https://github.com/brycewang-stanford/Paper-WorkFlow) |
- | [70](skills/70-ssci-polish/) | ssci-polish ✍️ | SSCI / SCI 英文论文语言润色(语法、可读性、学术语气) | [→](docs/CONTENT_ZH.md#skill-70) | [⭐ 本仓库](https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills) |
- | ⭐ [71](skills/71-brycewang-lit-review-agent-tools/) | **lit-review-agent-tools** 🔍 | 文献综述工具选型 + 一键安装运行(MinerU / PaperQA2 / ASReview / STORM / MCP 服务器) | [→](docs/CONTENT_ZH.md#skill-71) | [brycewang-stanford/lit-review-agent-tools](https://github.com/brycewang-stanford/lit-review-agent-tools) |
- | ⭐ [72](skills/72-kaggle-research/) | **Kaggle Research** 🧪 | 通过官方 CLI 安全检索 Kaggle 资源、限界下载公开数据并保留审计证据 | [→](docs/CONTENT_ZH.md#skill-72) | [⭐ 本仓库](https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills) |
- | ⭐ [73](skills/73-brycewang-p-hacking-skills/) | **p-hacking-skills** 🔬 | p-hacking 体检室:在真实效应为零的数据上仪表化规格搜索,给出诚实 p 值、p 曲线检测与预注册免疫(教学与审计用) | [→](docs/CONTENT_ZH.md#skill-73) | [brycewang-stanford/p-hacking-skills](https://github.com/brycewang-stanford/p-hacking-skills) |
- | ⭐ [74](skills/74-brycewang-spss-amos-sem/) | **spss-amos-sem** 📋 | 问卷数据结构方程全流程(SPSS + AMOS):清洗、信度、EFA、CFA(CR / AVE / HTMT)、结构模型、bootstrap 中介、多群组、PROCESS;自动生成 SPSS 语法、AMOS 程序与中文三线表 | [→](docs/CONTENT_ZH.md#skill-74) | [⭐ 本仓库](https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills) |
- > **想看更详细的描述(主题分类、字段、统计)?** 见 [`docs/CONTENT_ZH.md`](docs/CONTENT_ZH.md) 中标注 `#skill-NN` 锚点的同一张表 —— 它是每个合集的完整描述所在的扩展正文。
- ## 📈 项目历程
- 自 2026-04 首次发布以来的主干里程碑(完整提交记录见 [Commits](https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills/commits/main) 与 [`CHANGELOG.md`](CHANGELOG.md)):
- ```mermaid
- ---
- config:
- gitGraph:
- rotateCommitLabel: false
- ---
- gitGraph TB:
- commit id: "2026-04 首次发布"
- branch community
- commit id: "2026-05 首个社区 PR"
- checkout main
- merge community
- commit id: "2026-05 更名 AERS"
- commit id: "2026-06 插件市场"
- commit id: "2026-06 全库路由器"
- commit id: "2026-07 首个 tag" tag: "v2026.07"
- branch kaggle
- commit id: "2026-07 Kaggle 集成"
- checkout main
- merge kaggle
- commit id: "2026-08 de-AIGC 双语"
- commit id: "2026-08 来源链接全覆盖"
- branch evidence
- commit id: "2026-08 aers-score CLI"
- commit id: "2026-08 外部成绩单"
- checkout main
- merge evidence
- commit id: "2026-08 结构估计 = 方法族 18"
- commit id: "2026-08 NSW 基准从引用变推导"
- commit id: "2026-09 数据 → Word 全稿路线"
- commit id: "2026-09 de-AIGC 去水印层"
- commit id: "2026-09 分层检索 + 路由评测"
- commit id: "2026-09 StatsPAI 置顶"
- branch phacking
- commit id: "2026-09 p-hacking 体检室(合集 73)"
- checkout main
- merge phacking
- commit id: "2026-10 de-AIGC 对标前十 humanizer"
- ```
- <div align="center">
- <a href="https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills/stargazers">
- <picture>
- <source media="(prefers-color-scheme: dark)" srcset="images/star-history-dark.svg" />
- <source media="(prefers-color-scheme: light)" srcset="images/star-history.svg" />
- <img alt="Star History Chart" src="images/star-history.svg" width="600" />
- </picture>
- </a>
- <sub>Star 增长曲线(非提交数)· 由 <a href="scripts/build-star-history.py"><code>scripts/build-star-history.py</code></a> 从 GitHub API 生成并提交入库</sub>
- </div>
- 如果 AERS 对你的工作有帮助,请**引用它**([CITATION.cff](CITATION.cff))并**点个 Star**,让更多研究者看到。
- ---
- <div align="center">
- **AI 是放大器,不是替代品。它替你做最耗时的"搬砖",你保留最核心的"判断"。**
- <br/>
- <table>
- <tr>
- <td align="center">
- <a href="https://github.com/brycewang-stanford/StatsPAI"><img src="images/statspai-logo.png" alt="StatsPAI" width="260" /></a>
- </td>
- <td width="40"></td>
- <td align="center">
- <img src="images/stanford-reap-logo.png" alt="Stanford REAP" width="320" />
- </td>
- </tr>
- </table>
- <sub><strong>Stanford REAP × StatsPAI</strong> · 实证研究 AI 工具的学术工业级产品</sub>
- <br/>
- <table>
- <tr>
- <td align="center">
- <a href="https://copaper.ai"><img src="images/copaper-qrcode.png" alt="扫码访问 copaper.ai" width="180" /></a><br/>
- <strong>扫码访问 <a href="https://copaper.ai">copaper.ai</a></strong>
- </td>
- <td align="center">
- <img src="images/copaper-wechat.jpg" alt="CoPaper.AI 公众号" width="180" /><br/>
- <strong>关注公众号「CoPaper.AI」</strong>
- </td>
- </tr>
- </table>
- 内置 20 个方法论 skill · 20 分钟完成实证论文 · 自研 <a href="https://github.com/brycewang-stanford/StatsPAI"><strong>StatsPAI</strong></a>(900+ 函数 / MIT 开源)
- </div>
scripts/scan-collections.py · Bundled script · 496 lines · 5 findings marked
- #!/usr/bin/env python3
- """Pattern-scan vendored skill collections for the risks the security report tracks.
- [`SECURITY-SCAN-REPORT.md`](../SECURITY-SCAN-REPORT.md) covers the original
- 52-collection baseline plus a hand-run incremental scan of collections 49-70
- (2026-07-15). Both were one-off efforts written up in prose, which means the
- scan's *coverage* drifted the moment the next collection landed: 71 and 72 were
- vendored afterwards and nothing recorded that they had never been looked at.
- This script turns that into something that cannot drift:
- - it implements the same thirteen risk dimensions as an executable scanner;
- - it records what was scanned in `catalog/security-scan.json`, keyed by
- collection, so coverage is a fact rather than a memory;
- - `--check` fails when a cataloged collection has no scan record, which is what
- `make validate` uses to keep the gap closed.
- What this is **not**: it is a pattern scan, the same class of evidence as the
- 2026-07-15 addendum, and strictly weaker than the baseline's multi-agent content
- read. A clean result here means "no known-bad pattern matched", not "reviewed
- and safe". The report says so and so does the generated record; do not let a
- green check here be read as the stronger claim.
- Findings are triaged, not just counted. A vendored README quoting the upstream
- author's own `curl | sh` install line is a documentation artifact, not an
- executable risk, and the baseline scan reached that conclusion by hand for nine
- hits. Rather than re-litigate those every run, confirmed-benign findings are
- recorded with their reason in `catalog/security-scan.json` and suppressed on
- later runs; anything *new* surfaces.
- Zero third-party dependencies. Wired into `make validate` (`--check`) and
- `make security-scan`.
- """
- from __future__ import annotations
- import argparse
- import base64
- import binascii
- import json
- import re
- import subprocess
- import sys
- from pathlib import Path
- ROOT = Path(__file__).resolve().parents[1]
- SKILLS = ROOT / "skills"
- CATALOG = ROOT / "catalog" / "skills.json"
- RECORD = ROOT / "catalog" / "security-scan.json"
- # Binary and generated content the pattern scan cannot meaningfully read.
- SKIP_SUFFIXES = {
- ".png", ".jpg", ".jpeg", ".gif", ".svg", ".webp", ".ico", ".pdf",
- ".zip", ".gz", ".tar", ".xz", ".7z", ".woff", ".woff2", ".ttf", ".otf",
- ".eot", ".mp4", ".mov", ".mp3", ".wav", ".dta", ".sav", ".rdata", ".rds",
- ".pyc", ".so", ".dylib", ".dll", ".xlsx", ".docx", ".pptx",
- }
- SKIP_DIRS = {".git", "__pycache__", "node_modules", ".venv", ".pytest_cache"}
- MAX_BYTES = 2_000_000 # a file larger than this is data, not code we can read
- # The thirteen risk dimensions of the baseline scan, as executable patterns.
- # Each is (id, severity, description, regex).
- CHECKS: tuple[tuple[str, str, str, re.Pattern], ...] = (
- (
- "pipe-to-shell", "high",
- "Downloads a script and pipes it straight into a shell",
- re.compile(r"(?:curl|wget)\b[^\n|]{0,200}\|\s*(?:sudo\s+)?(?:ba|z|k)?sh\b"),
- ),
- (
- "reverse-shell", "critical",
- "Opens an interactive shell back to a remote host",
- re.compile(
- r"(?:bash\s+-i\s*>&\s*/dev/tcp/)"
- Note: Quoted as data in code: Shows a reverse-shell command template (placeholder or no destination)
- Line 73 on GitHub
- r"|(?:nc\b[^\n]{0,60}-e\s*/bin/(?:ba)?sh)"
- r"|(?:socket\.socket\([^\n]{0,80}\)[^\n]{0,200}subprocess\.(?:call|Popen)\()"
- ),
- ),
- (
- # Decoding a blob is ordinary (images, attachments). Decoding one and
- # *running* it is the risk, so the pattern requires both on one line.
- "decode-then-execute", "critical",
- "Decodes a blob and executes the result",
- re.compile(
- r"(?:\beval\b|\bexec\b)\s*\(\s*(?:base64|codecs|binascii|bytes)\s*\."
- r"|(?:base64|codecs|binascii)\s*\.\s*[a-z0-9_]*(?:decode|unhexlify)\s*\("
- r"[^\n]{0,200}\)[^\n]{0,60}(?:\beval\b|\bexec\b)\s*\("
- ),
- ),
- (
- "long-base64-blob", "low",
- "Long base64-looking literal (usually an embedded image; check it is)",
- re.compile(r"[A-Za-z0-9+/]{400,}={0,2}"),
- ),
- (
- "credential-path", "medium",
- "Reads a well-known credential or key location",
- re.compile(
- r"~/\.(?:ssh/id_[a-z0-9]+|aws/credentials|netrc|npmrc|docker/config\.json)"
- r"|/\.ssh/id_(?:rsa|ed25519|ecdsa)\b"
- r"|\.git-credentials\b"
- ),
- ),
- (
- "env-exfiltration", "high",
- "Sends environment variables or secrets to a remote endpoint",
- re.compile(
- r"(?:os\.environ|process\.env|\$ENV|printenv|env\b)[^\n]{0,120}"
- r"(?:requests\.(?:post|put)|urllib[^\n]{0,40}urlopen|curl\s|fetch\(|axios\.)"
- ),
- ),
- (
- "remote-eval", "critical",
- "Fetches remote content and evaluates it",
- re.compile(
- r"(?:eval|exec)\s*\(\s*(?:requests\.get|urlopen|fetch)\("
- r"|(?:requests\.get|urlopen)\([^\n]{0,200}\)\s*\.\s*(?:text|read\(\))\s*\)?\s*\)"
- r"(?=[^\n]{0,40}(?:eval|exec))"
- ),
- ),
- (
- # `rm -rf ~/.cache/matplotlib` and `rm -rf /var/lib/apt/lists/*` are
- # routine; `rm -rf /` and `rm -rf ~` are not. The lookahead is what
- Note: Quoted as data in code: Runs `rm -rf` against a root or home-directory path
- Line 122 on GitHub
- # separates them — without it the check fires on every Dockerfile and
- # every uninstall doc, and stops being read.
- "destructive-rm", "high",
- "Recursive force-delete of a bare root, home, or wildcard target",
- # Flags are matched loosely and then checked by a post-filter, so
- # `-rf`, `-fr`, `-r -f` and `--recursive --force` all count.
- re.compile(
- r"\brm\s+(?:-[a-zA-Z-]+\s+)+"
- r"(?:/|~|\$HOME|\*|\.)(?=[\"'\s;)&|]|$)"
- ),
- ),
- (
- "cryptominer", "critical",
- "Cryptocurrency mining signature",
- re.compile(
- r"\b(?:xmrig|stratum\+tcp|minergate|cryptonight|nicehash|coinhive)\b",
- re.IGNORECASE,
- ),
- ),
- (
- "input-capture", "critical",
- "Keyboard or clipboard capture",
- re.compile(
- r"\b(?:pynput|keyboard\.Listener|GetAsyncKeyState|CGEventTapCreate)\b"
- r"|\bpyperclip\.paste\b[^\n]{0,120}(?:post|urlopen|send)"
- ),
- ),
- (
- "suspicious-webhook", "medium",
- "Posts to a chat/webhook endpoint",
- re.compile(
- r"https?://(?:hooks\.slack\.com|discord(?:app)?\.com/api/webhooks|"
- r"api\.telegram\.org/bot|webhook\.site|requestbin)",
- re.IGNORECASE,
- ),
- ),
- (
- "prompt-injection-marker", "high",
- "Text aimed at overriding an agent's instructions",
- re.compile(
- r"(?i)\b(?:ignore (?:all )?(?:previous|prior|above) instructions"
- r"|disregard (?:all )?(?:previous|prior) (?:instructions|rules)"
- r"|you are now in developer mode"
- Note: Quoted as data in code: Quotes instruction-override phrasing (in quotes, code, a table or an example): "you are now in developer mode"
- Line 165 on GitHub
- r"|do not (?:tell|inform) the user)\b"
- ),
- ),
- (
- "obfuscated-python", "high",
- "Python written to hide what it does",
- re.compile(
- r"getattr\s*\(\s*__import__\s*\("
- r"|__import__\s*\(\s*(?:['\"]os['\"]|chr\()"
- r"|\bexec\s*\(\s*compile\s*\("
- ),
- ),
- )
- class Finding(dict):
- """A single pattern hit: check id, file, line, and the matched text."""
- def looks_like_real_base64(blob: str) -> bool:
- """Reject long alphanumeric runs that are not actually base64.
- The `+` in base64's alphabet means a Stata line of concatenated variable
- names (``SUBSAustralia+SUBSAmericanSamoa+...``) matches the pattern. Such a
- run does not decode; a real embedded PNG or SVG data-URI does. Checking
- that removes the false positive without loosening the pattern.
- """
- try:
- base64.b64decode(blob, validate=True)
- except (binascii.Error, ValueError):
- return False
- return True
- def is_recursive_force_delete(command: str) -> bool:
- """True when an `rm` invocation carries both a recursive and a force flag.
- Matching the flag cluster with a regex means picking an order; `rm -fr /` is
- Dismissed after review: Runs `rm -rf` against a root or home-directory path
- Line 203 on GitHub
- as dangerous as `rm -rf /` and `rm -r -f /` is the same command again. Pull
- Dismissed after review: Runs `rm -rf` against a root or home-directory path
- Line 204 on GitHub
- the flags out and ask the question directly instead.
- """
- flags = re.findall(r"(?<=\s)-[a-zA-Z-]+", command)
- joined = "".join(flags).lower()
- return "r" in joined and "f" in joined
- # Extra per-check gates applied after a regex matches.
- POST_FILTERS = {
- "long-base64-blob": looks_like_real_base64,
- "destructive-rm": is_recursive_force_delete,
- }
- class ScanError(RuntimeError):
- """The scan cannot be made reproducible in this checkout."""
- def tracked_files() -> set[str]:
- """Every git-tracked path under skills/, submodules included.
- The scan reads the *tracked* tree, not the working tree, and the reason is
- the freshness check: `--check` compares a fresh scan against the committed
- record, so the scan has to be a function of the commit. Walking the
- directory made it a function of whoever happened to run it — a stray
- .DS_Store, a gitignored helper inside the submodule, or a log written by a
- previous run all changed the file counts, which is exactly how this first
- passed locally and failed in CI.
- """
- try:
- proc = subprocess.run(
- ["git", "ls-files", "--recurse-submodules", "-z", "--", "skills"],
- cwd=ROOT,
- capture_output=True,
- text=True,
- )
- except OSError as exc: # pragma: no cover - git missing
- raise ScanError(f"git is required for a reproducible scan: {exc}") from exc
- if proc.returncode != 0:
- raise ScanError(
- "git ls-files failed, so the scan cannot be made reproducible:\n"
- + proc.stderr.strip()
- )
- return {path for path in proc.stdout.split("\0") if path}
- def is_scannable(path: Path) -> bool:
- if path.suffix.lower() in SKIP_SUFFIXES:
- return False
- if any(part in SKIP_DIRS for part in path.parts):
- return False
- try:
- return path.stat().st_size <= MAX_BYTES
- except OSError:
- return False
- def read_text(path: Path) -> str | None:
- try:
- return path.read_text(encoding="utf-8")
- except (UnicodeDecodeError, OSError):
- return None
- def scan_file(path: Path, rel: str) -> list[Finding]:
- text = read_text(path)
- if text is None:
- return []
- findings: list[Finding] = []
- for check_id, severity, description, pattern in CHECKS:
- post_filter = POST_FILTERS.get(check_id)
- for match in pattern.finditer(text):
- if post_filter is not None and not post_filter(match.group(0)):
- continue
- line = text.count("\n", 0, match.start()) + 1
- excerpt = match.group(0)
- if len(excerpt) > 120:
- excerpt = excerpt[:117] + "..."
- findings.append(
- Finding(
- check=check_id,
- severity=severity,
- description=description,
- file=rel,
- line=line,
- excerpt=excerpt.replace("\n", " "),
- )
- )
- return findings
- def collection_dirs() -> list[Path]:
- if not SKILLS.exists():
- return []
- return sorted(
- p for p in SKILLS.iterdir() if p.is_dir() and not p.name.startswith(".")
- )
- def scan_collection(directory: Path, tracked: set[str] | None = None) -> dict:
- if tracked is None:
- tracked = tracked_files()
- prefix = directory.relative_to(ROOT).as_posix() + "/"
- files_seen = 0
- files_scanned = 0
- findings: list[Finding] = []
- for rel in sorted(path for path in tracked if path.startswith(prefix)):
- path = ROOT / rel
- if not path.is_file():
- # Tracked but absent: an un-initialized submodule. Reported by the
- # per-collection counts rather than silently treated as scanned.
- continue
- files_seen += 1
- if not is_scannable(path):
- continue
- findings.extend(scan_file(path, rel))
- files_scanned += 1
- return {
- "collection": directory.name,
- "files_seen": files_seen,
- "files_scanned": files_scanned,
- "findings": findings,
- }
- def load_record() -> dict:
- if not RECORD.exists():
- return {"schema_version": "1.0", "triaged": {}, "collections": {}}
- return json.loads(RECORD.read_text(encoding="utf-8"))
- def finding_key(finding: dict) -> str:
- """Stable identity for a finding, so a triage decision survives re-runs.
- Deliberately excludes the line number: a benign `curl | sh` in a vendored
- README stays benign when the file above it gains a paragraph.
- """
- return f"{finding['check']}|{finding['file']}|{finding['excerpt']}"
- def catalog_collections() -> list[str]:
- if not CATALOG.exists():
- return [d.name for d in collection_dirs()]
- data = json.loads(CATALOG.read_text(encoding="utf-8"))
- collections = data.get("collections")
- if isinstance(collections, list):
- out = []
- for item in collections:
- if isinstance(item, dict) and item.get("id"):
- out.append(item["id"])
- elif isinstance(item, str):
- out.append(item)
- if out:
- return sorted(out)
- return [d.name for d in collection_dirs()]
- def run_scan() -> tuple[dict, list[Finding]]:
- record = load_record()
- triaged = record.get("triaged", {})
- collections: dict[str, dict] = {}
- untriaged: list[Finding] = []
- tracked = tracked_files()
- for directory in collection_dirs():
- result = scan_collection(directory, tracked)
- new_findings = [f for f in result["findings"] if finding_key(f) not in triaged]
- untriaged.extend(new_findings)
- collections[result["collection"]] = {
- "files_seen": result["files_seen"],
- "files_scanned": result["files_scanned"],
- "findings_total": len(result["findings"]),
- "findings_triaged_benign": len(result["findings"]) - len(new_findings),
- "findings_untriaged": len(new_findings),
- }
- record["collections"] = collections
- record["triaged"] = triaged
- return record, untriaged
- def render_untriaged(findings: list[Finding]) -> str:
- order = {"critical": 0, "high": 1, "medium": 2, "low": 3}
- lines = []
- for finding in sorted(findings, key=lambda f: (order.get(f["severity"], 9), f["file"])):
- lines.append(
- f" [{finding['severity']:<8}] {finding['check']:<24} "
- f"{finding['file']}:{finding['line']}"
- )
- lines.append(f" {finding['excerpt']}")
- return "\n".join(lines)
- def main(argv: list[str] | None = None) -> int:
- parser = argparse.ArgumentParser(description=__doc__.splitlines()[0])
- parser.add_argument(
- "--check",
- action="store_true",
- help="fail when a cataloged collection has no scan record, or a finding is untriaged",
- )
- parser.add_argument(
- "--collection", help="scan only this collection (does not update the record)"
- )
- args = parser.parse_args(argv)
- if args.collection:
- directory = SKILLS / args.collection
- if not directory.is_dir():
- print(f"no such collection: {args.collection}", file=sys.stderr)
- return 1
- try:
- result = scan_collection(directory)
- except ScanError as exc:
- print(str(exc), file=sys.stderr)
- return 1
- print(
- f"{result['collection']}: {result['files_scanned']} of "
- f"{result['files_seen']} files scanned, {len(result['findings'])} finding(s)"
- )
- if result["findings"]:
- print(render_untriaged(result["findings"]))
- return 0
- try:
- record, untriaged = run_scan()
- except ScanError as exc:
- print(str(exc), file=sys.stderr)
- return 1
- scanned = set(record["collections"])
- cataloged = set(catalog_collections())
- unscanned = sorted(cataloged - scanned)
- empty = sorted(
- name for name, stats in record["collections"].items() if stats["files_seen"] == 0
- )
- if args.check:
- problems = []
- if empty:
- # Almost always an un-initialized submodule: the directory exists so
- # it looks scanned, but git lists none of its files, so the record
- # would silently claim coverage it does not have.
- problems.append(
- "these collections contributed no tracked files, so nothing was "
- "actually scanned: " + ", ".join(empty)
- + "\n If one is a submodule, run: git submodule update --init --recursive"
- )
- if unscanned:
- problems.append(
- "collections in the catalog with no scan record: " + ", ".join(unscanned)
- )
- committed = load_record()
- if committed.get("collections") != record["collections"]:
- problems.append(
- "catalog/security-scan.json is stale. Regenerate with:\n"
- " python3 scripts/scan-collections.py"
- )
- if untriaged:
- problems.append(
- f"{len(untriaged)} untriaged finding(s):\n" + render_untriaged(untriaged)
- + "\n Review each, then record it under \"triaged\" in "
- "catalog/security-scan.json with a reason."
- )
- if problems:
- for problem in problems:
- print(problem, file=sys.stderr)
- return 1
- total_files = sum(c["files_scanned"] for c in record["collections"].values())
- print(
- f"Pattern scan current: {len(scanned)} collection(s), "
- f"{total_files} file(s), 0 untriaged finding(s)."
- )
- return 0
- RECORD.parent.mkdir(parents=True, exist_ok=True)
- RECORD.write_text(json.dumps(record, indent=2, sort_keys=True) + "\n", encoding="utf-8")
- total_files = sum(c["files_scanned"] for c in record["collections"].values())
- print(
- f"Scanned {len(record['collections'])} collection(s), {total_files} file(s). "
- f"{len(untriaged)} untriaged finding(s)."
- )
- if untriaged:
- print(render_untriaged(untriaged))
- print(
- "\nReview each finding, then record the benign ones under \"triaged\" in "
- f"{RECORD.relative_to(ROOT)} with a reason."
- )
- print(f"Wrote {RECORD.relative_to(ROOT)}")
- return 0
- if __name__ == "__main__":
- raise SystemExit(main())
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.