一键导入
environment-spec
Create a rigorous RL environment specification before implementation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a rigorous RL environment specification before implementation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Add or modify a React/Three.js environment visualization.
Add or modify a supported Gymnasium/SB3 task in backend/mlagents.
Plan multi-agent and simulator-heavy environments using appropriate APIs instead of forcing them into single-agent SB3.
Verify ML correctness, library usage, formatting, tests, dead code, and client/backend integration.
基于 SOC 职业分类
| name | environment-spec |
| description | Create a rigorous RL environment specification before implementation. |
| argument-hint | [task-id] [new|modify] |
| allowed-tools | Read, Write, Glob, Bash |
| context | repo |
| agent | three-mlagents-environment-architect |
Use this skill before adding or materially changing an environment.
Read:
CLAUDE.mdbackend/mlagents/registry.pybackend/mlagents/envs.pybackend/examples/*.pyclient/src/examples/*.jsx.agents/templates/environment-proposal.mdDefine the environment as a Markov decision process or partially observable decision process:
For Gymnasium tasks, follow the current reset/step contract:
reset(seed=...) -> (observation, info) and
step(action) -> (observation, reward, terminated, truncated, info).
Use the registry as source of truth. For new game-like environments, prefer benchmarks that add scientific coverage rather than duplicate existing tasks:
Do not treat a visual demo as a solved benchmark until it has a reproducible backend environment, train/evaluate API, baseline policy, metrics, and tests.
Fill .agents/templates/environment-proposal.md or include equivalent content
in the implementation notes. The proposal should be specific enough that a
different engineer can implement the backend and frontend without inventing the
scientific contract mid-stream.