env-doctor
Skill0 starsChanged 46 days agoMITView on GitHub
Diagnose dependency, version, and environment problems — wrong interpreter or runtime on PATH, unactivated virtualenv, lockfile and manifest drift, duplicate or conflicting package versions. Per-ecosystem commands for Node, Python, Rust, Go, Java, and Ruby.
- Reads credentials
- Deletes or force-pushes
- Installs packages
7 other projects use a version of this.
Adopted by
Most recently taken up by
- linxule/carreltheir own version, first seen Nov 8, 2026
- venhdev/skillstheir own version, first seen Nov 1, 2026
- sharklandy/claude-code-starter-kittheir own version, first seen Oct 20, 2026
- unreadlogs/node-agent-skillstheir own version, first seen Oct 13, 2026
- angelgabrieljacintohuayllasco/clipboard-skillstheir own version, first seen Sep 20, 2026
- taxueseek/session-diggertheir own version, first seen Jul 17, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- taxueseek/session-digger★ 34same name
- tellmefrankie/ai-investment-skills★ 14same name
- unreadlogs/node-agent-skills★ 4same name
- linxule/carrel★ 2same name
- venhdev/skills★ 1same name
- angelgabrieljacintohuayllasco/clipboard-skills★ 0same name
- sharklandy/claude-code-starter-kit★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- brainstormingSkill
- commit-messageSkill
- dev-verifySkill
- diff-reviewSkill
- fix-bugSkill
- git-workflowSkill
- refactorSkill
- ship-featureSkill
- workSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 108
Don't
cat .envand paste it into the conversation: Check that the expected keys are *present* without printing values:
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Environment and dependency triage
For problems where the environment is the suspect, not the code. If the code
is the suspect, use the debugger agent instead.
Identify the stack first:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/detect-stack.py"Its notes already flag several classic causes — multiple lockfiles, a
placeholder test script, workspace layouts.
The pattern behind most of these
Code was written against one version of a dependency, and then either a lockfile update pulled in a breaking major, or two environments (local, CI, prod) resolve differently because a version wasn't pinned. Diff the installed version against the manifest-declared version against the lockfile-pinned version — that usually surfaces it in one step.
The second most common cause is simpler: the command is running against a different interpreter or runtime than you think. Check that before anything else.
Node
node -v && npm -v # versions actually in use
which node # which install is on PATH (nvm/volta mismatches)
npm ls <package> # installed version + resolution tree
npm ls # full tree; flags "invalid"/"missing"
npm outdated # what's behind the manifest
rm -rf node_modules package-lock.json && npm install # when state is suspect- Multiple lockfiles (
package-lock.jsonandyarn.lockandpnpm-lock.yaml) is itself the bug — different tools resolve differently. - Nested
node_modulesholding two versions of the same package is the classic cause of "two different instances of the same singleton/class".
Python
which python && python --version # the interpreter actually running
echo $VIRTUAL_ENV # is the venv actually activated?
pip show <package> # installed version + location
pip check # reports incompatible installed versions
python -c "import sys; print(sys.path)" # which site-packages is in playAn unactivated venv is far and away the most common cause of
ModuleNotFoundError despite pip install having "worked".
- poetry:
poetry show <pkg>,poetry check,poetry env info - uv:
uv pip list,uv sync --locked - conda:
conda list,conda env list
Rust
cargo tree # full graph, flags conflicts
cargo tree -d # duplicated crates at different versions
cargo update -p <crate> --dry-run
cargo checkGo
go list -m all # resolved module graph
go mod tidy # reconcile go.mod/go.sum with actual imports
go mod why <module> # why is this here at allJava
mvn dependency:tree # resolved tree, flags conflicts
mvn dependency:analyze # unused/undeclared
./gradlew dependencies
./gradlew dependencyInsight --dependency <name>Ruby
bundle list # installed gems + versions
bundle check # is Gemfile.lock satisfied?
bundle exec <cmd> # run against bundled versions, not system gemsAny stack
echo $PATH | tr ':' '\n' # which binaries resolve first
env | sort # redact secrets before sharing this
docker --version && docker ps # if containerized, the container's env is the one that mattersDon't cat .env and paste it into the conversation. Check that the expected
keys are present without printing values:
cut -d= -f1 .env 2>/dev/null # key names onlyDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

