Help us improve
Share bugs, ideas, or general feedback.
From medsci-project
Runs a read-only diagnostic checklist for the MedSci Skills runtime, verifying Python, R, Node, Git, Claude Code, Zotero, and configured MCP servers. Prints a pass/fail table with OS-specific setup doc links for missing components.
npx claudepluginhub aperivue/medsci-skills --plugin medsci-presentationHow this skill is triggered — by the user, by Claude, or both
Slash command
/medsci-project:setup-medsciinheritThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are helping a medical researcher verify that their environment is correctly configured to run MedSci Skills. You **do not install anything** — you only diagnose what's present, what's missing, and where to find the setup doc for any missing component. This skill is intentionally read-only so that a doctor can run it safely without worrying about breaking their system.
This skill should be used when the user asks to "check my setup", "run diagnostics", "doctor", "health check", "verify my installation", "are my plugins working", "check plugin status", "what's broken", "fix my setup", "debug my environment", "check dependencies", "environment check", "troubleshoot setup", or invokes /midnight-expert:doctor. Provides comprehensive health reporting for the midnight-expert ecosystem — plugin installation, MCP servers, external tools, cross-plugin references, and NPM registry.
Runs 11 categories of environment diagnostics to identify misconfigured providers, stale state, broken hooks, and other plugin issues before they surface in workflows.
Validates developer environment: OS, runtime versions, tools, ports, env vars, disk space. Use when switching machines or encountering 'works on my machine' bugs.
Share bugs, ideas, or general feedback.
You are helping a medical researcher verify that their environment is correctly configured to run MedSci Skills. You do not install anything — you only diagnose what's present, what's missing, and where to find the setup doc for any missing component. This skill is intentionally read-only so that a doctor can run it safely without worrying about breaking their system.
docs/setup/ markdown guides in the medsci-skills repo.Run:
uname -s
Darwin → macOS path → recommend docs/setup/mac.mdLinux → Linux path (uses similar tooling to Mac) → recommend docs/setup/mac.mdMINGW*, MSYS*, CYGWIN*, or detection failure on Windows → recommend docs/setup/windows.mdFor each tool, run the command and capture both the version output and the exit code:
| Tool | Command | Required version |
|---|---|---|
| Python | python3 --version (Mac/Linux) or python --version (Windows) | 3.11 or higher |
| R | Rscript --version (writes to stderr) | 4.0 or higher |
| Node.js | node --version | v20 or higher |
| Git | git --version | 2.30 or higher |
| Claude Code CLI | claude --version | any |
| MCP servers | claude mcp list | at least one of: zotero, gdrive, pubmed, filesystem |
Use command -v <tool> first to detect presence without running it (avoids triggering long initialization).
Print a single Markdown table to stdout in this exact format:
## MedSci Skills Setup Diagnostic
OS detected: <macOS | Linux | Windows>
Date: <YYYY-MM-DD>
| Component | Status | Detected | Required | Action |
|---|:---:|---|---|---|
| Python 3.11+ | ✅ / ❌ | 3.11.9 | 3.11+ | OK / See docs/setup/mac.md Step 2 |
| R 4.x | ✅ / ❌ | 4.3.1 | 4.0+ | OK / See docs/setup/mac.md Step 3 |
| Node.js 20+ | ✅ / ❌ | v20.11.1 | v20+ | OK / See docs/setup/mac.md Step 4 |
| Git | ✅ / ❌ | 2.42.0 | 2.30+ | OK / See docs/setup/<os>.md Step 5 |
| Claude Code CLI | ✅ / ❌ | 1.5.x | any | OK / See docs/setup/<os>.md Step 6 |
| MCP: zotero | ✅ / ❌ / ⚠️ | Connected | optional | OK / See docs/setup/mcp-setup.md |
| MCP: gdrive | ✅ / ❌ / ⚠️ | Connected | optional | OK / See docs/setup/mcp-setup.md |
| MCP: filesystem | ✅ / ❌ | Connected | recommended | OK / See docs/setup/mcp-setup.md |
Summary: <X required components passed, Y missing>
Next step: <one-sentence action>
Status legend:
If everything ✅: "Your environment is ready. Try Demo 1 with cd ~/medsci-skills/demo/01_wisconsin_bc && claude '/orchestrate --e2e'."
If anything ❌ in required rows: print the corresponding doc link. Do not offer to install — direct the user to follow the doc step. The doc tells them exactly what to copy-paste.
If only optional MCP rows are ❌: explain that MedSci Skills work without MCP servers but lit-sync, verify-refs, and write-paper are smoother with Zotero MCP. Offer the docs/setup/mcp-setup.md link.
references/setup-checklist.md — verbatim list of every check this skill runs and the corresponding documentation link| Artifact | Filename | Format |
|---|---|---|
| Diagnostic report | stdout (Markdown table) | Markdown |
| Optional log | ~/.medsci-skills/diagnostic-YYYY-MM-DD.md | Markdown |
If the user asks for a copyable report (e.g., for a GitHub issue), write the diagnostic to the optional log path and tell them where it is.
brew install, winget install, pip install, Rscript -e 'install.packages(...)', or any other state-changing command. Read-only diagnostics only.~/.claude.json or any MCP configuration. It only reads claude mcp list output.validate_skills.sh and manage-project status.docs/setup/README.md, docs/setup/mac.md, docs/setup/windows.md, docs/setup/mcp-setup.md, docs/setup/common-issues.md. Do not link to a doc that does not exist in the repo.claude mcp list. A configured-but-disconnected server is ⚠️, not ✅.command -v reports a tool present but the version flag fails, mark the row ❌ and report the failure command — the install is broken, not just outdated.