dvampire/autogenesis/environment-creator-skill
Claude Code and agent skill by dvampire/autogenesis
- community
Checking that the SKILL.md file is still in the repository.
Create new environments, improve/optimize existing environments, and evaluate environment quality — the full environment lifecycle in this framework. Use whenever the task involves authoring a new environment (a stateful Python class exposing actions, plus an ENVIRONMENT.md), editing/improving an existing environment, or evaluating/scoring one. MetaAgent uses it to orchestrate the create→evaluate→improve loop across sub-agents.
Install
npx vskill@latest install dvampire/autogenesis/environment-creator-skillSKILL.md
Environment Creator
A single skill for the full lifecycle of environments: creating, improving, and evaluating them. An environment is a stateful Python class over the shared base Environment that exposes named actions an agent can call, paired with an ENVIRONMENT.md manifest.
How this skill is used — four roles, one body of knowledge
- MetaAgent (orchestrator role) — drives the create→evaluate→improve loop. See Orchestration.
- environment_generate_agent — reads Creating an environment.
- environment_optimize_agent — reads Improving an environment.
- environment_evaluate_agent — reads Evaluating an environment.
The sub-agents are headless: each runs one phase autonomously and returns a result.
Framework conventions (read once)
An environment is a directory: {extension_root}/environment/{name}/
Registration is automatic via a hook: after writing the files, include the environment directory (or environment.py) path in your done_tool reasoning — the environment_registration_hook registers it.
Start from the templates: read references/environment_template.py (the class) and references/environment_md_template.md (the manifest), copy them, and adapt.
The Python class
- Each callable is an action declared with
@environment_manager.action(name=..., description=...). - State lives on the instance (that's what makes an environment stateful, unlike a stateless tool). Key per-session state by
ctxwhen the environment serves concurrent sessions. - If the environment returns images (screenshots), it's a vision environment — say so in ENVIRONMENT.md so the agent knows to inspect the image.
The ENVIRONMENT.md manifest
The body documents the environment's state, (optional) vision, and each action — this is what an agent reads before acting. Keep action docs concrete.
Verify and register
After writing: python -m py_compile /abs/path/environment.py. When it compiles, put the environment directory path in your done_tool reasoning so the hook registers it.
Evaluating an environment
Call inspect_environment_tool on the target for its registry facts (registered / enable_evolving / version / file paths). Score across:
- Interface Compliance —
@ENVIRONMENT.register_module, subclassEnvironment, actions declared with@environment_manager.action,initialize/cleanuppresent where resources are used. - Code Quality — valid, clean, proper resource handling and error handling; per-session state correctly keyed by
ctx. - Manifest Quality — ENVIRONMENT.md has the required frontmatter and a body documenting State / (Vision) / every Action.
- Integration —
inspect_environment_toolshows it registered. - Execution — actions have a valid path; where feasible, exercise an action and check the result.
Improving an environment
The target is named in the task. Call inspect_environment_tool FIRST for its file paths and enable_evolving — if enable_evolving=False, the environment is frozen; do NOT edit it, report and stop. Read environment.py (and ENVIRONMENT.md) before editing; make the smallest correct change; preserve @ENVIRONMENT.register_module, the class name, and existing action names/signatures unless the task requires changing them; keep the manifest's Actions section in sync with the code. Verify with py_compile, then re-register via the directory path in done_tool reasoning.
Orchestration (for MetaAgent)
- Generate — dispatch
environment_generate_agent; it writesenvironment.py+ENVIRONMENT.mdand registers. - Evaluate — dispatch
environment_evaluate_agent(optionally after exercising an action) to score. - Improve — dispatch
environment_optimize_agentwith the evaluation; it edits and re-registers. - Repeat until the environment is good.
Reference files
references/environment_template.py— a ready-to-copy environment class (@environment_manager.action, initialize/cleanup, per-session state).references/environment_md_template.md— the ENVIRONMENT.md manifest skeleton (State / Vision / Actions).
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 repositoryCheckingautogenesis/skill/creator/environment_creator_skill/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/dvampire/autogenesis/environment-creator-skill)