lambenthan/empiricalwiki/empirical-ingest
Claude Code and agent skill by lambenthan/empiricalwiki
- community
Checking that the SKILL.md file is still in the repository.
将一篇经管实证论文摄取为实证研究 wiki:论文卡片 + 变量 + 数据 + 模型 + 机制 + 识别 + 稳健性 + 异质性 + 表格线索
Install
npx vskill@latest install lambenthan/empiricalwiki/empirical-ingestSKILL.md
/empirical-ingest
把一篇实证论文拆成可复用的研究设计资产。它不是普通摘要工具;优先抽取变量、数据、模型、机制、识别和稳健性,再写通用概念。
Inputs
source: 本地.pdf、.tex,或/init预处理后的raw/tmp/...路径。--topic可选:当前项目主题,如“耐心资本与 ESG”。
Outputs
wiki/papers/{slug}.md- 按需新建或更新:
wiki/variables/*.mdwiki/datasets/*.mdwiki/models/*.mdwiki/mechanisms/*.mdwiki/hypotheses/*.mdwiki/identification/*.mdwiki/robustness/*.mdwiki/heterogeneity/*.mdwiki/tables/*.mdwiki/index.md、wiki/log.mdwiki/graph/edges.jsonl
Workflow
Step 1: Resolve Source
确认工作目录是项目根目录,包含 wiki/、raw/、tools/。
优先使用 .venv:
如果输入是 PDF,先人工读取第一页标题。中文 PDF 可以用 PyMuPDF 快速抽取:
然后运行:
把返回的 prepared_path 作为正文读取入口。若标题不确定,不传 --title。
Step 2: Extract Empirical Facts
从论文中抽取以下字段。没有明确证据时写“未报告”,不要猜:
- 研究问题
- 理论机制
- 研究假设
- 样本区间、样本范围、样本筛选规则
- 数据来源和数据库表
- 被解释变量、核心解释变量、中介变量、调节变量、控制变量、工具变量
- 变量测算公式、分组规则、缩尾规则
- 主模型、固定效应、标准误聚类方式
- 内生性处理
- 机制检验、异质性检验、稳健性检验
- 关键表格及结论
- 可复现线索:变量名、数据库、Stata 处理步骤
Step 3: Write Pages
打开 docs/runtime-page-templates.zh.md,按模板写页面。
写 papers/{slug}.md 时,正文必须包含:
对每个核心变量、数据源、模型、机制和检验方法,先查重再创建新页面:
已有等价页面时更新,不重复造近义页面。
Step 4: Add Graph Edges
用工具写图谱关系,不手动编辑 wiki/graph/edges.jsonl:
其他边按需使用:tests_mechanism、tests_hypothesis、addresses_endogeneity_with、uses_robustness_check、uses_heterogeneity_split、reports_table。
Step 5: Rebuild and Report
最后报告:
- 新增/更新了哪些页面
- 还缺哪些信息
- 哪些变量或模型可以直接服务当前项目
Constraints
- 不要编造变量口径、模型公式、数据库表名。
- 中文论文没有 arXiv/Semantic Scholar 元数据时,不把这视为失败;以 PDF 正文和项目内文献为准。
- 实证论文优先抽取
variables/、datasets/、models/,不要只写通用concepts/。 raw/papers/是用户输入,不覆盖、不移动。
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingi18n/zh/skills/empirical-ingest/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lambenthan/empiricalwiki/empirical-ingest)