pipeline
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest +…
System diagnostics and health checks for Diverga plugin. OpenClaw-style Check-Report-Fix pattern with 5-layer diagnostics. Triggers: /diverga:doctor, diverga doctor, system check, diagnose, 진단
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill doctor --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/doctorContext preview
The summary Claude sees to decide when to auto-load this skill.
System diagnostics and health checks for Diverga plugin. OpenClaw-style Check-Report-Fix pattern with 5-layer diagnostics. Triggers: /diverga:doctor, diverga doctor, system check, diagnose, 진단
name: doctor description: | System diagnostics and health checks for Diverga plugin. OpenClaw-style Check-Report-Fix pattern with 5-layer diagnostics. Triggers: /diverga:doctor, diverga doctor, system check, diagnose, 진단 version: "12.0.1"
**Version**: 11.1.0 **Trigger**: `/diverga:doctor`
System diagnostics for the Diverga plugin. Checks plugin health, skill sync, hook enforcement, configuration validity, API keys, and project state. Reports issues with actionable fix commands.
Follows OpenClaw Check-Report-Fix pattern: every detected issue includes a fix recommendation.
When user invokes `/diverga:doctor`, execute all 7 diagnostic layers sequentially and display results.
**Check plugin registration:**
**Check config JSON validity:**
**Report format:**
PLUGIN HEALTH Registration: [PASS - diverga@diverga v11.1.0 | FAIL - not found in installed_plugins.json] Config file: [PASS - valid JSON | FAIL - missing or invalid] Config fields: [PASS - all required fields present | WARN - missing: field1, field2]
**Fix if FAIL:**
**Check skill counts match between plugin and local cache:**
**Check for missing skills in local cache:**
**Report format:**
SKILL SYNC Plugin skills: [count] skills in plugin directory Local skills: [count] skills in local cache Sync status: [PASS - all synced | WARN - X skills missing locally] Missing: [list of missing skill names, if any]
**Fix if WARN:**
**Check that the plugin cache matches the installed version:**
**Report format:**
PLUGIN CACHE Installed version: [11.1.0 | FAIL - plugin.json missing] Cached version: [11.1.0 | WARN - stale cache: 8.0.1 | FAIL - no cache found] Cache has hooks: [PASS - hooks.json present | FAIL - hooks missing from cache] Cache has agents: [PASS - agents/ present | WARN - agents/ missing]
**Fix if WARN/FAIL:**
REPO="/Volumes/External SSD/Projects/Diverga/Diverga-core"
CACHE="$HOME/.claude/plugins/cache/diverga/diverga/11.1.0"
rm -rf "$HOME/.claude/plugins/cache/diverga/diverga/8.0.1"
mkdir -p "$CACHE"
cp -R "$REPO"/{skills,agents,config,hooks,mcp,CLAUDE.md,AGENTS.md,README.md} "$CACHE/"
cp "$REPO/.claude-plugin/plugin.json" "$CACHE/"**Check hook configuration:**
**Report format:**
HOOK ENFORCEMENT Plugin hooks.json: [PASS - exists with Agent+Skill matchers | FAIL - missing or wrong matchers] Global hooks: [PASS - configured in settings.json | WARN - not in settings.json (relies on plugin)] Hook executable: [PASS - returns valid JSON | FAIL - execution error] Matcher check: [PASS - uses "Agent" | FAIL - uses stale "Task" matcher]
**Fix if issues found:**
**Deep validation of diverga-config.json:**
**Report format:**
CONFIG VALIDITY Version field: [PASS - 11.1.0 | WARN - version mismatch: found X.Y.Z] Checkpoints: [PASS - configured | FAIL - missing or malformed] Language: [PASS - "en" | WARN - unexpected value: "XX"] Model routing: [PASS - configured | SKIP - not set (using defaults)]
**Fix if issues found:**
📌 文档结构(2026-07-22 起): 本文件是中文默认入口 —— banner + badges + 信任面 + 9 阶段流水线速览 + 76 行合集总表。 每个合集的完整描述、按用途分组、精确数字、验证方法在 docs/CONTENT_ZH.md(扩展正文,总表行内的 → 直接跳转到对应锚点)。 English version: README-en.md · 中文扩展正文:docs/CONTENT_ZH.md · README-zh-CN.md 已弃用(重定向占位) 🌐 语言: English |
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest +…
Use when the user asks to run a full empirical / causal analysis in Python — by default in the style of an applied economics paper (AER / QJE / JPE / ReStud /…
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest +…
Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid + did_imputation +…
Classical end-to-end empirical analysis workflow in the modern tidyverse + econometrics R ecosystem — dplyr + tidyr + haven + fixest + sandwich + lmtest +…
Systematic writing framework for philosophy and interdisciplinary academic papers from optimized outline to submission-ready manuscript. Use when users want…