Agent Windows Doctor — AI skill for Claude Code
What Claude Code, Codex CLI, Gemini CLI, GitHub Copilot CLI and Cursor each get on Windows and why: the shell they give the model and how they chose it, every agent program and which one runs first, w.
How to install Agent Windows Doctor
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open nrzz/agent-windows-doctor and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Windows Doctor does
What Claude Code, Codex CLI, Gemini CLI, GitHub Copilot CLI and Cursor each get on Windows and why: the shell they give the model and how they chose it, every agent program and which one runs first, what runs their hooks, Codex's sandbox, and the setup problems behind the common Windows issues. Proves it with the real binaries. Zero tokens.
Alternatives in AI
- CLI Continues — resume any AI coding session in another tool — Claude Code, Copilot, Gemini, Codex, Cursor 1.5k ★
- Snip — CLI proxy that reduces LLM token usage by 60-90% 425 ★
- AI Toolkit — Professional-grade AI coding toolkit: 94 skills, 44 agents, multi-platform (Claude, Cursor, Windsurf, Copilot 167 ★
README
agent-windows-doctor
On Windows, each coding agent picks a shell for the model by itself, and none of them says which one or why. Windows is where their trackers hurt. On 18 October 2026, at about 07:05 IST, GitHub's search showed 5,253 open issues with "windows" in the title among the 23,221 open issues of openai/codex (171 say "powershell", 8 "git bash", 316 "wsl"); 894 of the 15,184 of anthropics/claude-code (69, 47 and 57); 95 of the 2,213 of github/copilot-cli (20, 2 and 15); and 7 of the 740 of google-gemini/gemini-cli, whose tracker is pruned (1, 0 and 1). Cursor has no public tracker, only a forum. The threads are about the shell. Codex CLI runs the model's commands in PowerShell, and the issue that asks for a setting to change that (#16579, 54 reactions) says so; the key it proposes, `windows.shell_path`, is not a key of the release tested here. Copilot CLI lists PowerShell 6 or newer as a prerequisite and a stock Windows has 5.1: #411 and #2355 are its PowerShell tool failing for want of `pwsh.exe` (the tests below found 1.0.98 falling back to Windows PowerShell 5.1). Gemini CLI runs its shell tool in PowerShell even under Git Bash (#12678, #21340) and fails in Constrained Language Mode (#12519). The launcher of the Cursor CLI hardcodes Windows PowerShell 5.1 and drops quotes (forum thread 168416). `claude doctor` and `codex doctor` check the install and the settings of one agent each, and neither says which shell the model gets or why.
agent-windows-doctor says it, for Claude Code, Codex CLI, Gemini CLI, GitHub Copilot CLI and Cursor together. It is a read-only command line tool: it lists every binary, launcher and shim of each agent with its version and which one a terminal runs first; says which shell each agent gives the model and how it chose it; says which shell runs each agent's hooks and whether your hook commands are bash lines for a PowerShell; reads the machine behind it (the PowerShell editions, the execution policy, Git for Windows, long p
Related Skills
Ramify
See and control every AI coding agent on your machine: Claude Code, Codex, Gemini, Copilot, Cursor and 35 more
Tokenade npm
CLI that cuts the tokens AI coding agents send to the model — Claude Code, Cursor, Codex, Copilot, Kilo, Winds
Codeledger
Local-first context control for AI coding agents. Give Claude Code, Codex, Cursor & Copilot the right repo fil
Cplt
Sandbox for AI coding agents. Runs Copilot CLI, Claude Code, OpenCode, Gemini CLI, Antigravity, Pi, goose or a
AI Shadow Vault
AI Shadow Vault is a shell-first CLI that keeps AI adapter files out of Git. Use CLAUDE.md, AGENTS.md, and GEM
Graph Mind
Shared memory for every AI agent in your terminal: Claude Code, Codex, Cursor, Gemini CLI, Copilot CLI, OpenCo
Related Agents
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode
Consult Agent
Execute cross-tool AI consultations via Task spawning. Use when agents or workflows need a second opinion from
Model Runner
Deterministic wrapper that runs a prompt on a non-Claude model (OpenAI via Codex, Cursor's composer/grok/glm,