jl-cmd-projects/claude-dev-env/run-claude-dev-env
Claude Code and agent skill by jl-cmd-projects/claude-dev-env
- community
Checking that the SKILL.md file is still in the repository.
Build, install, run, and test the claude-dev-env installer. Use when asked to run claude-dev-env, install the Claude Code config into ~/.claude, drive the installer, smoke-test it against a sandbox, or run its test suite.
Install
npx vskill@latest install jl-cmd-projects/claude-dev-env/run-claude-dev-envSKILL.md
The same SKILL.md was published earlier as jl-cmd-projects/claude-dev-env/run-claude-dev-env.
claude-dev-env is the npm-distributed installer that copies this repo's rules, hooks, commands, and docs into ~/.claude/, copies skills and agents into ~/.agents/, publishes directory pointers at ~/.claude/skills and ~/.claude/agents, and merges its hook entries into ~/.claude/settings.json. Its entry point is bin/install.mjs. Drive it with the smoke driver at .claude/skills/run-claude-dev-env/driver.mjs, which runs the installer against a throwaway sandbox home directory so a run never touches the real ~/.claude/ or ~/.agents/.
All paths below are written from the packages/claude-dev-env/ directory.
Prerequisites
The installer needs three tools on PATH:
- Node.js 18+ — the installer is an ES module (verified on Node 22.17).
- Python 3.8+ — the installer bakes a Python interpreter into every hook command and aborts if it finds none. On Windows it skips the Microsoft Store stub (verified
py -3→ Python 3.13.5). - git — the installer reads
git statusto guard against installing from a conflicted source, and sets a global git hooks path.
On a fresh Ubuntu container the three come from sudo apt-get install -y nodejs python3 git.
Run (agent path) — the smoke driver
The driver is the handle to reach for first. It spawns the installer against a fresh temp home directory with HOME, USERPROFILE, and GIT_CONFIG_GLOBAL all redirected, runs the --help → install → --uninstall lifecycle, asserts the result of each step against the sandbox tree, then deletes the sandbox. It works the same on Windows and POSIX.
Expected tail:
The driver proves a full install lands skills under <sandbox>/.agents/skills with a directory pointer at <sandbox>/.claude/skills, lands agents the same way, lands hook scripts, rules, the CLAUDE.md hub, a populated settings.json, and a tracking manifest, and that --uninstall removes every manifest-tracked file. The real ~/.claude/, ~/.agents/, and the real global git config stay untouched. Exit code is 0 only when all checks hold.
Run (human path) — install for real
These write into your real ~/.claude/ and set a global git hooks path. Run them only when you mean to install on this machine.
Groups: core, journal, and the discovered prompt-generator dependency group. Run node bin/install.mjs --help for the live list. The published package runs the same entry point as npx claude-dev-env.
Test
Runs node --test over bin/*.test.mjs and .agents/skills/**/*.test.mjs with Node's built-in test runner — no extra dependency, no network. Expected: # fail 0, with the pass count growing as tests are added.
Gotchas
- The install target is `os.homedir()/.claude` with no override flag (the
CLAUDE_HOMEconstant inbin/install.mjs). To drive the installer without overwriting your real config, redirect the home directory: setUSERPROFILE(Windows) andHOME(POSIX) to a temp dir. The driver does this for you. - The installer reaches outside `~/.claude/`. It writes skills and agents under
~/.agents/, runsgit config --global core.hooksPath ..., which applies to every git repo on the machine, and it writes~/.mypy.ini. The driver isolates those writes by pointingGIT_CONFIG_GLOBALat a sandbox file and redirecting the home directory. - git "dubious ownership" aborts the install. The source-conflict guard runs
git status; when the checkout sits on a path git distrusts (a UNC network share owned by another account), git exits 128 with a dubious-ownership message that the installer rethrows. The driver seeds its sandbox git config withsafe.directory = *so the guard runs. For a real install on such a checkout, add the exception:git config --global --add safe.directory '<repo-path>'. - `npm install` at the repo root fails on a Windows network-share checkout. npm symlinks the workspace package into root
node_modulesand the share rejects the symlink (UNKNOWN ... symlink, errno -4094). The package's ownnode_modulesalready carries its single dependency, so the driver and tests run without it. The installer also keeps working when@jl-cmd/prompt-generatorcannot resolve — it skips that group with a warning (discoverDependencyGroupsinbin/install.mjs). - Microsoft Store Python is rejected on Windows. The installer skips any interpreter under a
WindowsAppsdirectory because that stub cannot run as a hook subprocess (isWindowsStorePythonStubinbin/install.mjs). Install Python from python.org if detection fails.
Troubleshooting
- `ERROR: No usable Python 3 found`: no
py -3/python3/pythonresolves to a non-Store Python 3. Install Python 3.8+ from python.org and reopen the shell. - `fatal: detected dubious ownership in repository`: add the
safe.directoryexception shown above, then rerun. - `ERROR: settings.json is malformed JSON`:
~/.claude/settings.jsonhas a syntax error; fix the JSON and rerun.
Files
SKILL.md— this page: the agent path (the driver), the human install path, the test command, gotchas, and troubleshooting.driver.mjs— the smoke harness that drivesbin/install.mjsagainst a sandbox home directory. Run it; you do not need to read it. It sits beside this file at.claude/skills/run-claude-dev-env/driver.mjs.
The /run skill auto-discovers this skill when asked to run, install, or test claude-dev-env.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskill-archive/run-claude-dev-env/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jl-cmd-projects/claude-dev-env/run-claude-dev-env)