← Back to Skills Marketplace
159
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install multi-env-isolator
Description
Generate isolated dev/test/prod environments for uvicorn/FastAPI Python web projects with frontend (Vue/React) support. Creates separate config files, startu...
Usage Guidance
This skill appears to implement the described multi-environment scaffolding, but take these precautions before running it on a real project:
1. Back up the target project directory first (or try it in a copy/sandbox). The scripts will create files and update .gitignore.
2. Documentation mismatch: SKILL.md mixes examples for two script versions. If you want frontend flags like --dev-backend-port/--frontend-dir, run scripts/setup_envs_v2.py; the older scripts/setup_envs.py accepts different flag names. Verify which script you run and its accepted flags.
3. Immediately change generated secrets: replace JWT_SECRET (and any other secrets) in .env.prod with a strong random value before using a production environment. The defaults are intentionally weak placeholders.
4. Review package.json and dependencies before allowing the generated frontend start scripts to run. The frontend start scripts will run `npm install` (if node_modules missing) and use `npx playwright` for tests — npm installs run arbitrary install/postinstall scripts and fetch packages from the network, so only run them in a trusted environment or after checking dependencies.
5. Verify ports and database choices: defaults differ between versions; ensure ports don't conflict on your machine and set DATABASE_URL for production if you need a managed DB instead of local sqlite.
6. If you only need file generation (no npm/network activity), inspect and run the setup script but avoid starting frontend scripts until you've reviewed the project and dependencies.
Overall: the code is not obviously malicious, but the doc/version mismatch and the automated npm behavior justify caution. If you want, I can point out the exact command flags each script accepts or produce a safe checklist of what to inspect in package.json before running npm install.
Capability Analysis
Type: OpenClaw Skill
Name: multi-env-isolator
Version: 2.0.0
The multi-env-isolator skill is a legitimate developer utility designed to automate the creation of isolated dev, test, and production environments for FastAPI and frontend projects. The Python scripts (scripts/setup_envs.py and scripts/setup_envs_v2.py) generate standard configuration files (.env), shell scripts for starting services, and directory structures for data isolation. There is no evidence of malicious intent, data exfiltration, or unauthorized execution; the tool operates locally on the user-specified project directory and includes clear documentation and security warnings regarding production secrets.
Capability Assessment
Purpose & Capability
The name/description (create isolated dev/test/prod environments for FastAPI + frontend) matches what the included scripts do: create .env files, data directories, startup scripts, Playwright integration and docs. Creating .env, scripts, docs, and updating .gitignore is expected for this purpose.
Instruction Scope
SKILL.md instructs running a setup script and then starting generated scripts, which is expected; however the documentation mixes flags and examples for two versions (setup_envs.py vs setup_envs_v2.py). The example invocation in SKILL.md references flags like --dev-backend-port/--frontend-dir that are only accepted by the v2 script, which is confusing and could cause users to run the wrong script or pass unsupported flags. Also the generated frontend start scripts run `npm install` when node_modules is missing (and Playwright runner uses `npx`), which causes network activity and execution of package install scripts — this is legitimate for starting a frontend but increases risk if run against an untrusted project or with unreviewed package.json.
Install Mechanism
There is no install spec — the skill is instruction + local scripts only. Nothing is downloaded by the setup scripts themselves and no off-host archives or remote URLs are fetched during generation. The main network-affecting actions occur later when frontend start scripts run npm/npx, which is expected for frontend tooling.
Credentials
The skill requests no environment variables or credentials. However it generates default JWT_SECRET values like `dev-jwt-secret-change-me` and leaves production secrets as placeholders; the included docs do advise changing them. This is expected but important: the generated defaults are weak and must be replaced before using the 'prod' environment. The scripts also add local sqlite URLs by default — appropriate for dev/test but should be configured for real prod.
Persistence & Privilege
The skill does not request persistent/global privileges or always: true. It only writes files inside the target project and updates/creates the project's .gitignore. It does not modify other skills or system-wide configuration.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install multi-env-isolator - After installation, invoke the skill by name or use
/multi-env-isolator - Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.0
**v2.0.0 introduces frontend (Vue/React) isolation and Playwright E2E support for full-stack FastAPI projects.**
- Adds support for generating separate backend and frontend (Vue/React) startup scripts for dev, test, and prod environments.
- Integrates Playwright test environment, with generated config and scripts for E2E testing in the isolated test setup.
- Supports isolated frontend ports/configs alongside backend for each environment (dev/test/prod).
- Introduces new command-line options for customizing frontend directories and ports.
- Team documentation now reflects both backend and frontend workflows, clearly outlining roles and parallel non-conflicting work.
- Backwards compatible with Python-only (FastAPI/uvicorn) projects; added support is for full-stack teams.
v1.0.0
Initial release: generate isolated dev/test/prod environments for uvicorn/FastAPI projects
Metadata
Frequently Asked Questions
What is Multi-Environment Isolator?
Generate isolated dev/test/prod environments for uvicorn/FastAPI Python web projects with frontend (Vue/React) support. Creates separate config files, startu... It is an AI Agent Skill for Claude Code / OpenClaw, with 159 downloads so far.
How do I install Multi-Environment Isolator?
Run "/install multi-env-isolator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Multi-Environment Isolator free?
Yes, Multi-Environment Isolator is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Multi-Environment Isolator support?
Multi-Environment Isolator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Multi-Environment Isolator?
It is built and maintained by RM-Huang (@rm-huang); the current version is v2.0.0.
More Skills