Windows Claude Code Doctor

    by Ilia Malkin

    2

    Diagnose and fix Windows-specific AI coding agent failures across shells, paths, WSL, locks, ports, and CRLF diffs.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Write Files
    Environment Variables
    Read Files

    File Scopes

    SKILL.md
    scripts/**
    references/**
    agents/**
    Listed6 months ago
    Updated1 month ago

    What's inside

    Creator

    Ilia Malkin

    Ilia Malkin

    Frequently Asked Questions

    This skill provides AI agents with a specialized triage framework and PowerShell-based diagnostic playbooks to identify and resolve Windows-specific issues like CRLF line ending conflicts, file locks (EBUSY), and shell syntax errors that typically derail automated coding loops.

    Yes, it is specifically designed to handle the friction between environments, addressing path translation issues, runtime confusion, and cross-platform command leaking between native Windows and the Linux subsystem.

    It is compatible with any AI coding agent that supports the SKILL.md format or custom instructions, including Claude Code, Cursor, Codex CLI, OpenClaw, and VS Code-based agents.

    The package includes a comprehensive SKILL.md integration file, seven targeted troubleshooting playbooks, a library of reusable PowerShell diagnostic snippets, and a reference guide for common Windows-agent failure modes.

    Setup is immediate; you simply point your agent to the provided skill files or include them in your project's custom instructions directory to give the AI instant access to the diagnostic workflows.

    No, the skill is designed to work with your agent's existing permissions to run diagnostics and fix code, using standard PowerShell and Windows commands without requiring third-party software.

    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.