# 🩺 Env Doctor

> Diagnose local setup failures across Node, Python, Go, and Docker without exposing secrets or killing processes blindly. Checks runtimes, dependencies, env key names, service health, and port ownership, then gives PowerShell fixes on Windows or Bash fixes on macOS/Linux.

🩺 Env Doctor is a free AI agent skill on Agensi by JustHandled Labs, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [JustHandled Labs](https://www.agensi.io/creators/justhandled)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Uses: 11
- Version: 1.3
- Last updated: 2026-10-15
- Security: scan passed (2026-10-24); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/env-doctor-1
- Tags: debugging, devops, node-js, python, docker, environment-setup

## About this skill

### What it does

Env Doctor guides a local, read-only diagnosis when an app works on one machine but not another. It checks project type, runtime versions, dependencies, required environment-variable key names, local port ownership, Docker configuration, and service health across Node.js, Python, Go, and Docker projects.

### Why use this skill

Environment failures often look like application bugs. Env Doctor follows a prioritized workflow so you can identify the likely setup issue before changing code. It never asks for secret values, never prints .env contents, and does not kill processes or modify project files blindly. Findings include the evidence checked, the likely cause, and shell-specific next steps.

### Cross-platform fixes

Commands are matched to the user's shell: PowerShell on Windows, or Bash-compatible commands on macOS and Linux. Port checks identify the owning process before any stop action is suggested.

### Supported tools

- **Runtimes:** Node.js, Python, Go, Docker
- **Services:** Postgres, MySQL, Redis
- **Package managers:** npm, pip, go mod
- **System checks:** dependency state, key-only environment validation, port ownership, Docker configuration, and local service health

## Requires

- Python

## Known limitations

- Focuses on Node.js, Python, Go, Docker, and common local services; unusual stacks may need additional checks.
- Environment validation compares key names and present/empty state only; it never verifies secret values.
- Diagnosis is read-only and does not automatically run fixes or stop processes.
- Commands depend on the matching runtime and system tools being installed.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the 🩺 Env Doctor skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Which AI agents and operating systems are compatible with Env Doctor?

Env Doctor is compatible with any AI agent that has file system access and terminal execution capabilities. It works across Windows, macOS, and Linux environments to identify and resolve system-level inconsistencies.

### How does this skill differ from asking a standard AI agent to fix my code?

Unlike generic troubleshooting, this skill uses a structured diagnostic tree to scan specific system ports, check database service statuses, and cross-reference your environment variables against template files like .env.example.

### Do I need to manually tell the skill which programming language I am using?

No manual configuration is needed. Simply run the skill within your project directory, and it will automatically detect your stack—whether it's Node.js, Python, Go, or Docker—to begin the health check.

### Does Env Doctor automatically execute fixes or just identify the problems?

This skill provides a detailed report of detected issues along with the specific, prioritized bash or terminal commands required to fix them, such as clearing port conflicts or installing missing dependencies.

### What is included in the purchase of the Env Doctor skill?

Your purchase includes the full skill set for project diagnostics and 12 months of version updates to ensure compatibility with new package manager versions and database releases.

### Can it help if my project is running inside a Docker container?

Yes, Env Doctor is specifically designed to detect and troubleshoot containerized environments, verifying that Docker daemons are running and that volume mounts are correctly configured.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
