Agent skill

Env Doctor Free

by aiskillstore in aiskillstore/marketplace

Diagnose local project environment issues that prevent apps from starting or running.

MITAuto-check: notesDevelopment

Install Env Doctor Free

skills CLI
$ npx skills add aiskillstore/marketplace --skill env-doctor-free -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace env-doctor-free --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/justhandledlabs/env-doctor-free .claude/skills/env-doctor-free && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
env-doctor-free
GitHub stars
433
Token cost
~1.5k tokens
SKILL.md length
637 words
Files
4 (incl. references)
Skills in repo
1,044
Repo updated
First seen
Licence
MIT

At a glance

Diagnose local project environment issues that prevent apps from starting or running.

  • Works in 7 steps: Detect project type from files → Check runtime availability and versions → Check dependencies → …
  • The user says why wont this run
  • SKILL.md covers Workflow, Reference Loading, Output Shape and Required Quality Cases
  • Calls npm, go and docker

What it does

Env Doctor Free is an agent skill from aiskillstore/marketplace. Diagnose local project environment issues that prevent apps from starting or running. Use when the user says "why won't this run", "check my environment", "env doctor", "diagnose startup issue", "it works on my machine", or asks for help debugging missing dependencies, runtime versions, port conflicts, .env problems, file permissions, or stopped services.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/checks.md`, `references/safety-fixtures.md` and `skill-report.json`).

It sits in Development, covering Containers. It works with Docker, Python, npm and Go. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified. The licence is MIT.

When your agent uses it

  • The user says why wont this run
  • Check my environment
  • Diagnose startup issue
  • It works on my machine

Example prompts

  • “why won”
  • “check my environment”
  • “env doctor”
  • “/env-doctor-free”

Requirements

  • Python 3
  • Node.js
  • Docker

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Detect project type from files
  2. Check runtime availability and versions
  3. Check dependencies
  4. Check common port conflicts for 3000, 3001, 5000, 8000, and 8080.
  5. Validate environment variables
  6. Check file permissions
  7. Check background services when the project appears to need them

What it can do on your machine

Read from SKILL.md and the folder at commit 44923f3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • go
    • docker
    • node
    • python
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm and docker, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Env Doctor Free loads about 1.5k tokens when it runs, and up to ~4k if it reads all its reference files. Until then it costs about 93 tokens; SKILL.md has 637 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~93
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:3
    ncies, runtime versions, port conflicts, .env problems, file permissions, or stopped services.
  • NoteMentions a .env fileSKILL.md:45
    - Compare `.env.example` against `.env` when both or either exist.
  • NoteMentions a .env fileSKILL.md:46
    - Flag missing `.env` if `.env.example` exists.
  • NoteMentions a .env fileSKILL.md:48
    rs in `.env.example` but is absent from `.env`.
  • NoteMentions a .env fileSKILL.md:51
    ot use raw-display commands such as `cat .env`, `Get-Content .env`, or unredacted `grep` output.
  • NoteMentions a .env fileSKILL.md:64
    a checklist, or when framework-specific `.env` validation is needed for Express, Django, Gin, or Flask. Read `references
  • NoteMentions a .env fileSKILL.md:87
    Go/Docker runtimes, dependencies, ports, .env key presence, permissions, services. No .env values were displayed or reta
  • NoteMentions a .env fileSKILL.md:96
    - Missing `DATABASE_URL` in `.env`, when required by `.env.example`, must be reported as a high-priority environment var
  • NoteMentions a .env fileSKILL.md:97
    - `.env` findings and evidence must contain key names and empty/present state only, never values.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aiskillstore/marketplace at commit 44923f3, republished under its MIT licence (© aiskillstore). 637 words, ~1,509 tokens.

Download SKILL.mdSave it as .claude/skills/env-doctor-free/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
env-doctor-free
description
Diagnose local project environment issues that prevent apps from starting or running. Use when the user says "why won't this run", "check my environment", "env doctor", "diagnose startup issue", "it works on my machine", or asks for help debugging missing dependencies, runtime versions, port conflicts, .env problems, file permissions, or stopped services.
license
MIT
metadata.version
1.3.0
metadata.author
JustHandled Labs
metadata.triggers
why won't this run, check my environment, env doctor, diagnose startup issue, it works on my machine

Env Doctor

Diagnose the local environment before changing application code. Treat the project as innocent until the environment is ruled out.

Workflow

  1. Detect project type from files:
    • Node: package.json
    • Python: requirements.txt, pyproject.toml, Pipfile, or manage.py
    • Go: go.mod
    • Docker: Dockerfile or docker-compose.yml
  2. Check runtime availability and versions:
    • Node: node --version and npm --version
    • Python: python --version or python3 --version
    • Go: go version
    • Docker: docker --version and docker compose version
  3. Check dependencies:
    • Node projects with no node_modules/: flag as high priority and suggest npm install.
    • Python projects with no .venv/, venv/, or active virtual environment: flag and suggest creating one, then installing requirements.
    • Go projects: run go mod tidy only after explaining it mutates go.mod/go.sum; otherwise suggest it as the fix.
    • Docker projects: check whether Docker is running before suggesting rebuilds.
  4. Check common port conflicts for 3000, 3001, 5000, 8000, and 8080.
    • Detect the operating system before providing commands.
    • On macOS/Linux, inspect listeners with lsof -nP -iTCP:<port> -sTCP:LISTEN, then identify the PID with ps.
    • On Windows PowerShell, inspect listeners with Get-NetTCPConnection -LocalPort <port>, then identify the owning PID with Get-Process.
    • Report the PID, executable or service name, and available ownership evidence before suggesting any stop action.
    • Prefer the application's documented stop command, Ctrl+C in its owning terminal, or a targeted service stop.
    • Never assume a listener is stale or belongs to the project. Do not terminate any process without the user's explicit approval.
    • Never default to kill -9, Stop-Process -Force, or a broad process-name kill. Escalation to a force-kill requires a confirmed target, a failed normal stop, and separate explicit approval.
  5. Validate environment variables:
    • Compare .env.example against .env when both or either exist.
    • Flag missing .env if .env.example exists.
    • Flag missing required variables listed in .env.example.
    • Always flag missing DATABASE_URL when it appears in .env.example but is absent from .env.
    • Treat every value after the first = as a secret, including comments or examples that resemble credentials.
    • Parse only key names and whether each value is empty. Never print, quote, store, summarize, or retain values in findings, evidence, logs, or commands.
    • Do not use raw-display commands such as cat .env, Get-Content .env, or unredacted grep output.
    • Redact accidental value exposure immediately and refer to variables by key name only.
  6. Check file permissions:
    • Verify the project directory is writable before running installers or build commands.
    • For Unix-like scripts referenced by package.json, Makefile, Docker, or shell commands, check whether executable bits may be required and suggest chmod +x <script>.
  7. Check background services when the project appears to need them:
    • Postgres: referenced by DATABASE_URL, postgres, pg, psycopg, Prisma, Django, Rails-like config, or docker-compose.yml.
    • Redis: referenced by REDIS_URL, redis, Celery, BullMQ, Sidekiq-like config, or docker-compose.yml.
    • MySQL: referenced by MYSQL_URL, mysql, mysqlclient, pymysql, or docker-compose.yml.
    • Prefer non-destructive status checks. Suggest start commands only after identifying the likely service.
Show full SKILL.md (170 more words)Show less

Reference Loading

Read references/checks.md when the project type is known, when the user asks for a checklist, or when framework-specific .env validation is needed for Express, Django, Gin, or Flask. Read references/safety-fixtures.md before evaluating or changing the port or .env behavior of this skill.

Output Shape

Return a prioritized checklist, highest impact first:

markdown
**Env Doctor Findings**

1. [High] <issue>
   Evidence: `<command output or file reference>`
   Fix:
   <Use a `powershell` code fence on Windows or a `bash` code fence on macOS/Linux. Include only the matching OS command.>

2. [Medium] <issue>
   Evidence: `<command output or file reference>`
   Fix:
   <Use a `powershell` code fence on Windows or a `bash` code fence on macOS/Linux. Include only the matching OS command.>

**Likely Start Command**
`<command>`

**What I Checked**
Node/Python/Go/Docker runtimes, dependencies, ports, .env key presence, permissions, services. No .env values were displayed or retained.

If no issue is found, say that the environment looks healthy and identify the next best application-level debugging step.

Required Quality Cases

  • Missing node_modules/ in a Node project must be reported with npm install.
  • Port 3000 in use must be reported with an OS-appropriate inspection command and ownership evidence before any stop action.
  • Missing DATABASE_URL in .env, when required by .env.example, must be reported as a high-priority environment variable issue.
  • .env findings and evidence must contain key names and empty/present state only, never values.
  • An unrelated process that owns a common port must not be stopped or given an unconditional termination command.
  • POSIX commands must use a bash block and Windows commands must use a powershell block.

© aiskillstore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in skills/justhandledlabs/env-doctor-free of aiskillstore/marketplace.

  • SKILL.md
  • references/checks.md
  • references/safety-fixtures.md
  • skill-report.json

Open the folder on GitHubat commit 44923f3

Compare with similar skills

Env Doctor Free next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Env Doctor Free compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Env Doctor Free this skillaiskillstore/marketplace433—~1.5kAutomated safety check: NotesMIT
Flowfile Build and Environment SetupEdwardvaneechoud/Flowfile389—~7.3kAutomated safety check: NotesMIT
Acarshub Tool Additionssdr-enthusiasts/docker-acarshub117—~707Automated safety check: PassGPL-3.0
Dockeravibebuilder/claude-prime120—~1kAutomated safety check: NotesMIT
Env Troubleshoot312362115/claude107—~900Automated safety check: WarnMIT
Project Docs Maintainerswimmwatch/cloakbrowser-mcp164—~569Automated safety check: PassMIT

Similar skills

  • Flowfile Build and Environment Setup

    Edwardvaneechoud/Flowfile

    Recreates every Flowfile development and build environment from scratch, with exact version pins and an explanation of what each Makefile target really does.

    389 GitHub stars~7.3k tokensUpdated today
    DevelopmentAuto-check: notes
  • Acarshub Tool Additions

    sdr-enthusiasts/docker-acarshub

    Use ONLY when working in the docker-acarshub repository AND a task may require adding a system tool, npm package, or other dependency.

    117 GitHub stars~707 tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed
  • Docker

    avibebuilder/claude-prime

    ALWAYS activate when the user's query involves Docker in any way — even if it also matches other skills.

    120 GitHub stars~1k tokensUpdated 4 mo ago
    DevOps & CloudAuto-check: notes
  • Env Troubleshoot

    312362115/claude

    环境排障技能:结构化排查开发环境问题. An agent skill from 312362115/claude.

    107 GitHub stars~900 tokensUpdated 5 mo ago
    DevOps & CloudAuto-check: warnings
  • Project Docs Maintainer

    swimmwatch/cloakbrowser-mcp

    Maintain, organize, consolidate, or audit the cloakbrowser-mcp documentation set only when the user explicitly requests project documentation maintenance or an authorized public change requires it.

    164 GitHub stars~569 tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Devops Agent

    LeoYeAI/openclaw-master-skills

    Your on-call DevOps assistant — one-click deploy, monitoring setup, scheduled backups, and fault diagnosis.

    2.2k GitHub stars~5.3k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check: notes

More from aiskillstore/marketplace

All 1,040 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    433 GitHub starsUsed in 1 repo~697 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    433 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    433 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    433 GitHub starsUsed in 1 repo~598 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    433 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Project Planner

    aiskillstore/marketplace

    Detects stale project plans and suggests session commands. An agent skill from aiskillstore/marketplace.

    433 GitHub starsUsed in 1 repo~504 tokens
    Auto-check passed

Questions about Env Doctor Free

What does Env Doctor Free do?

Diagnose local project environment issues that prevent apps from starting or running. Env Doctor Free is an agent skill from aiskillstore/marketplace. Diagnose local project environment issues that prevent apps from starting or running.

When should I use Env Doctor Free?

Env Doctor Free fits situations like: the user says why wont this run; check my environment; diagnose startup issue; it works on my machine.

How do I install Env Doctor Free in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill env-doctor-free -a claude-code`. Or copy the skill folder (skills/justhandledlabs/env-doctor-free in aiskillstore/marketplace) into .claude/skills/env-doctor-free in your project. Claude Code loads it when a task matches its description.

How do I install Env Doctor Free in Codex?

Run `npx skills add aiskillstore/marketplace --skill env-doctor-free -a codex`. Or copy the skill folder (skills/justhandledlabs/env-doctor-free in aiskillstore/marketplace) into .agents/skills/env-doctor-free in your project. Codex loads it when a task matches its description.

Can I use Env Doctor Free in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill env-doctor-free -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/env-doctor-free, .gemini/skills/env-doctor-free, .github/skills/env-doctor-free and .opencode/skills/env-doctor-free in your project.

What does Env Doctor Free need to run?

Going by SKILL.md and its folder, Env Doctor Free needs the command-line tools its instructions call (npm, go, docker, node, python and python3). Our summary lists: Python 3; Node.js; Docker.

Does Env Doctor Free access the network?

SKILL.md contains no URLs. Its commands use npm and docker, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Env Doctor Free safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Env Doctor Free use?

Env Doctor Free is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Env Doctor Free use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.5k tokens, read only when the agent opens those files.

What are the alternatives to Env Doctor Free?

Skills that share tags, products or a category with Env Doctor Free: Flowfile Build and Environment Setup (Edwardvaneechoud/Flowfile, 389 stars), Acarshub Tool Additions (sdr-enthusiasts/docker-acarshub, 117 stars), Docker (avibebuilder/claude-prime, 120 stars) and Env Troubleshoot (312362115/claude, 107 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Env Doctor Free?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 433 GitHub stars. The repository holds 1,044 skills in this directory. The repository was last updated on October 10, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.