/devenv-doctor:environment-doctorfrom devenv-doctor
Checks the health of a Claude Code or Codex dev environment including git, Node.js, CLIs, VS Code, Docker, claude-mem, and plugins. Provides OS-specific fix commands for broken installations.
Ships in devenv-doctor. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
environment-check, dev-setup, troubleshooting, claude-code, codex
npx claudepluginhub killernay/cc-devenv-doctor --plugin devenv-doctorThis skill runs inside either Claude Code or Codex. Every check below is
read-only. In Claude Code they are pre-approved in allowed-tools, so run them
without stopping to ask. Never assume a result — always run the real command.
If a check fails with "Operation not permitted", "permission denied", or a Docker socket connect error while you are running inside Codex, that is Codex's sandbox, not the machine: rerun that one command with escalated permissions before reporting it as broken.
git --versionnode --version (needs ≥ 20 — claude-mem requires it; current LTS recommended)code --versiondocker --version and docker info (confirms the engine is actually running, not just installed)claude --versionclaude doctor — read-only install diagnostics; reports sign-in state, auto-update state, settings-file errors, each with a suggested fixclaude plugin list and claude plugin marketplace listcodex --versioncodex doctor --summary --no-color — read-only; reports auth (no Codex credentials = not logged in), sandbox, connectivity, available updatescodex plugin list and codex plugin marketplace listtest -d ~/.claude-mem (installed at all), claude-mem --version (the hook launcher is on PATH), bun --version (its hooks and worker run on Bun)code --list-extensions and check for: anthropic.claude-code (if Claude Code is used), openai.chatgpt (if Codex is used), ms-azuretools.vscode-containers (Docker support; the older ms-azuretools.vscode-docker is now just a pack that pulls it in — either counts)At least one agent CLI must be present. Only report the other one as missing if the user says they use it.
Summarize the results as a ✅/❌ table before suggesting any fixes.
Windows (PowerShell):
winget install --id Git.Git -ewinget install --id OpenJS.NodeJS.LTS -ewinget install --id Microsoft.VisualStudioCode -ewinget install --id Docker.DockerDesktop -e, then note it needs a restart + first manual launch (and wsl --install --no-distribution first if WSL2 isn't set up yet)irm https://claude.ai/install.ps1 | iexirm https://chatgpt.com/codex/install.ps1 | iexmacOS (via Homebrew):
brew install git / brew install nodebrew install --cask visual-studio-codebrew install --cask docker-desktop, then note it needs to be opened manually oncecurl -fsSL https://claude.ai/install.sh | bashcurl -fsSL https://chatgpt.com/codex/install.sh | shBoth OSes:
~/.local/bin.claude doctor says not signed in / codex doctor says no credentials) → run claude or codex once and finish the browser sign-in.claude update / rerun the Codex installer command above (brew upgrade --cask codex if it was installed with Homebrew, npm install -g @openai/codex if with npm).claude-mem launcher is missing → npx claude-mem install. It detects Claude Code and Codex, installs Bun and uv itself, and puts the launcher on PATH; reopen the terminal afterwards. With Claude Code it needs ≥ 2.1.139.code --install-extension <id> --forceA plugin that "installed fine" but does nothing is nearly always one of these:
/reload-plugins or a new session. Codex: quit and start codex again.--scope project writes .claude/settings.json into the folder it was run from, so the plugin only loads inside that folder. If they ran the bootstrap script from a downloads folder, that's the bug. Check claude plugin list, then reinstall with --scope user.<name>@<marketplace> only resolves if that marketplace is registered — check the marketplace list output.
claude plugin install devenv-doctor --marketplace killernay/cc-devenv-doctor adds the marketplace and installs in one step (Claude Code 2.1.275+; on older versions run claude plugin marketplace add killernay/cc-devenv-doctor first, then claude plugin install devenv-doctor@ngernthongdee).codex plugin marketplace add killernay/cc-devenv-doctor, then codex plugin add devenv-doctor@ngernthongdee.codex plugin add, not install. There is no scope flag; the enabled state lives in ~/.codex/config.toml under [plugins."<name>@<marketplace>"] — enabled = false there switches it off.One summary line: "You're ready ✅" or, if not fully passing, how many checks remain and the right order to fix them in (runtimes first, then agent CLIs and login, then VS Code extensions, then Docker last since it's the slowest / may need a restart).
Don't teach git/Docker theory in this skill — stay focused on "what's broken, how to fix it," not concepts.
Other plugins' skills for the same job