pipeline
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
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, 진단
Claude Code
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill doctor --agent claude-code
Codex
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill doctor -a codex -y
Cursor
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill doctor -a cursor -y
Gemini CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill doctor -a gemini-cli -y
GitHub Copilot
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill doctor -a github-copilot -y
OpenCode
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill doctor -a opencode -y
Windsurf
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill doctor -a windsurf -y
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:**
## 🔥 力荐 · 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
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
Use when the user asks to run a full empirical / causal analysis in Python — by default in the style of an applied economics…
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid +…
Classical end-to-end empirical analysis workflow in the modern tidyverse + econometrics R ecosystem — dplyr + tidyr + haven +…
Systematic writing framework for philosophy and interdisciplinary academic papers from optimized outline to submission-ready…
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…