env-manager
БесплатноБез исполняемых скриптовНе проверенScaffolds dev project files (package.json, Dockerfile, Cargo.toml, etc.) for Python, Node, Docker, Go, and Rust, AND tracks project service/port inventory and…
от jlacroix82714 установок в других каталогахОб этом скилле
Env Manager
Creates the initial project files for a new dev environment and returns a list of toolchain commands the calling agent should run to set up the rest.
What it does
For each language (python, node, docker, go, rust), it:
- Validates
typeandname(see Trust model). Invalid input is rejected before any path is built; nothing is written. - Writes starter files to a project directory inside the agent workspace using
fs.writeFileSync:node→package.json,index.js,.gitignoredocker→Dockerfile,docker-compose.ymlgo→main.gorust→Cargo.toml,src/main.rspython→.env.example
- Returns a list of toolchain commands the agent should run, like
python3 --version,go mod init, etc. The agent (not this skill) executes those commands. - Tracks state in
memory/environments/so the agent can list environments, ports, and services later.
What it does not do
- It does not run shell commands, scripts, or binaries.
- It does not start any system process.
- It does not modify files outside the project workspace (repo root). An optional
ENV_MANAGER_WORKSPACEenv var can relocate the workspace, but it is CONFINED to a descendant of the repo root — paths outside the repo are refused. - It does not accept a
--dirCLI flag for runtime path redirection. - It does not perform network scanning or file-system traversal. Note: it DOES maintain service/port inventory and runtime-state metadata (services.json, ports.json) inside the workspace —
startService/stopServiceonly toggle arunningflag; they never signal or control a real OS process.
Important: file writes happen on every call
Every call to setupEnvironment(type, name) that passes validation will:
- Create a directory at
environments/<name>/inside the agent workspace. - Write starter files into that directory.
- Update
memory/environments/environments.json.
These writes happen before the toolchain commands are returned. They happen only after type and name have been validated — a rejected call writes nothing. If you do not want files written, do not call setupEnvironment. There is no preview / no confirm step.
Output shape
{
environment: { name, type, path, created, status, /* type-specific fields */ },
commands: [
{
binary: "/usr/bin/python3",
args: ["-m", "venv", "/path/to/env"],
cwd: "/workspace",
description: "Create Python venv",
status: "ready" // "ready" | "blocked" | "not_found" | "error"
}
],
commandsText: " [1] python3 --version\n [2] python3 -m venv ...",
warnings: [],
filesGenerated: true,
message: "Created Python environment: my-app\n Path: /workspace/environments/my-app\n Activate: source /workspace/environments/my-app/bin/activate"
}
commands[] is for the calling agent to run. The skill does not run them.
Programmatic API
const em = require('./env-manager.js');
// Create a project and get back toolchain commands.
const r = em.setupEnvironment('node', 'my-api');
// r.environment, r.commands, r.warnings
// List what already exists.
em.listEnvironments(); // → { environments: {...}, count }
em.listPorts(); // → { ports: {...}, count }
em.listServices(); // → { services: {...}, count }
em.showStatus(); // → { environments, services, ports }
// Mark a service as running or stopped (data only, no process control).
em.startService('my-api'); // sets running: true in services.json
em.stopService('my-api'); // sets running: false
// Find a free port.
em.findFreePorts(5); // → { freePorts: [3000, 3010, 3020, ...] }
// Build a port-check command (the agent runs it).
em.buildServiceHealthCommands('my-api');
// → { name, service, commands: [{ binary, args, ... }] }
// Remove tracking for inactive environments (data only).
em.cleanupEnvs();
CLI
node env-manager.js --setup <type> <name> # scaffold a project + return commands
node env-manager.js --status # show counts of envs / services / ports
node env-manager.js --cleanup # list inactive environments
node env-manager.js --services # list services
node env-manager.js --services --start <name> # mark service as started
node env-manager.js --services --stop <name> # mark service as stopped
node env-manager.js --services --status <name> # return port-check commands
node env-manager.js --ports # list ports
node env-manager.js --ports --free # find free ports
node env-manager.js --commands # return all setup commands for stored envs
Data storage
All state is written to memory/environments/ inside the agent workspace:
environments.json— created environmentsports.json— port trackingservices.json— service metadata (name, port, type, running flag)
In addition, --setup writes the scaffold starter files (see the table in README.md
Установить env-manager в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл env-manager?
Scaffolds dev project files (package.json, Dockerfile, Cargo.toml, etc.) for Python, Node, Docker, Go, and Rust, AND tracks project service/port inventory and runtime state (metadata only — no process control). Returns a list of toolchain commands for the calling agent to run. Writes scaffold files and JSON state (environments/ports/services) only inside the project workspace (repo root), or a descendant directory set via the ENV_MANAGER_WORKSPACE env var (confined to within the repo root).
Как установить скилл env-manager?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл env-manager запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub