- Home
- Skills
- Agents & Orchestration
- windows-claude-code-doctor
Windows Claude Code Doctor
by Ilia Malkin
Diagnose and fix Windows-specific AI coding agent failures across shells, paths, WSL, locks, ports, and CRLF diffs.
$5
windows-claude-code-doctor
Example session with this skill installed
My AI coding agent is running on Windows PowerShell and keeps failing commands like rm -rf node_modules && npm install. It also says port 3000 is already in use. Diagnose the environment and give me the safest fix.
- Read your context and instructions
- Compiled the windows-claude-code-doctor
Environment: Windows-native PowerShell
Failure class: Linux command leakage + port conflict
Evidence
- diagnose-shell.ps1 detected PowerShell, not Bash.
- The command uses Bash-style rm -rf and shell chaining assumptions.
- find-port-holder.ps1 -Port 3000 identified the owning PID and process name.
Fix
- Replace rm -rf node_modules with:
Remove-Item -LiteralPath .\node_modules -Recurse -Force - Run npm install only after the delete succeeds.
- Stop the identified dev server process gracefully before restarting.
Verification
- Re-run find-port-holder.ps1 -Port 3000.
- Re-run the install through:
invoke-native.ps1 -- npm install
Connects securely to your tools. The creator never sees your data.
About this skill
Windows Claude Code Doctor helps AI coding agents recover from the Windows-specific failures that break real development loops: Bash commands leaking into PowerShell, broken Windows/WSL/Git Bash path translation, WSL vs native runtime confusion, lost PowerShell exit codes, CRLF diff explosions, SQLite lock loops, busy ports, and EBUSY/EPERM file locks.
It is built for Claude Code, Codex CLI, Cursor, OpenClaw, VS Code agents, Gemini CLI, and other SKILL.md-compatible coding agents. The skill gives agents a practical triage workflow, seven focused troubleshooting playbooks, reusable PowerShell diagnostics, and reference notes for the most common Windows agent failure modes.
Buy this if you run AI coding agents on Windows or WSL and want them to stop guessing, stop retrying broken Linux commands, and produce evidence-backed fixes with clear verification steps.
Designed for Windows, WSL, Git Bash/MSYS2, PowerShell, and cmd.exe workflows. The bundled diagnostics are PowerShell scripts, so non-Windows agents should use the conceptual playbooks unless they can call powershell.exe. Exact file-handle ownership requires Sysinternals handle.exe; without it, the skill reports likely locking processes instead. It does not automatically kill processes, change Git global config, edit Defender settings, or make machine-wide policy changes.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 month ago
- Software
Git
Permissions
File Scopes
What's inside
Creator
Ilia Malkin
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.