Skip to content
Back to skills

Environment Configuration

ASecurity

Design and debug mjlab ManagerBasedRlEnvCfg and manager-layer configuration.

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
toolsdebugging

Works with

  • cli

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill environment-configuration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Environment Configuration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Environment Configuration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-environment-configuration/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-environment-configuration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: environment-configuration
description: "Design and debug mjlab ManagerBasedRlEnvCfg and manager-layer configuration."
metadata:
  disco-role: operating
disable-model-invocation: true
license: Apache 2.0
---

# mjlab environment configuration

Use this sub-skill when a task is about authoring or debugging mjlab's
`ManagerBasedRlEnvCfg` and manager layer: observation, action, reward,
termination, event, command, curriculum, metrics, and recorder dictionaries;
term config patterns; reset/step lifecycle; observation history, delay, noise,
and NaN policy; `SceneEntityCfg` matching; custom manager terms; auto-reset and
finite-horizon behavior.

## Read these bundled files

- [Configuration patterns](references/configuration-patterns.md) for the
  `ManagerBasedRlEnvCfg` shape, manager dictionaries, term cfg types, custom
  term signatures, observation temporal features, and `SceneEntityCfg` matching.
- [Lifecycle and managers](references/lifecycle-and-managers.md) for
  construction order, reset and step timing, manager responsibilities, horizon
  semantics, and recorder hook timing.
- [Troubleshooting](references/troubleshooting.md) for missing term names,
  tensor shape mismatches, NaN handling, command signatures, regex matching,
  event-mode requirements, and auto-reset/manual-reset problems.
- [inspect_env_config.py](scripts/inspect_env_config.py) for a safe installed
  package helper that loads a registered task and prints manager keys plus a
  compact config summary.

## Route neighboring concerns

- Physical scene composition, entities, MuJoCo simulation options, assets, and
  export internals belong to `scene-simulation-assets`.
- Choosing concrete built-in MDP functions, action configs, action dimensions,
  actuators, and task-specific MDP terms belongs to `mdp-components`.
- Sensors, terrain generation, raycasts/cameras/contacts, and domain
  randomization function catalogs belong to `perception-terrain-randomization`.
- Installed CLIs, task registry operations, training/play/export commands, and
  Tyro override syntax belong to `training-evaluation-cli`.

## Operating checklist

1. Identify the target task/config and inspect current manager keys with the
   bundled helper before changing term names or group names.
2. Map each manager entry as `string_name -> TermCfg`, then verify the callable
   signature and output shape expected by that manager.
3. Check lifecycle timing before placing side effects: reset events and
   curricula run on reset paths; actions write inside decimation; rewards and
   terminations run before auto-reset; observations are assembled after
   commands and sensors update.
4. For custom terms, decide whether a stateless function is enough or whether a
   class term is needed to cache resolved indices, keep per-episode state, or
   expose recorder/command lifecycle hooks.
5. Use the troubleshooting reference for the exact failure class before routing
   to a sibling sub-skill.

Files in this skill

  • SKILL.md2.9 KB
  • references/configuration-patterns.md11.7 KB
  • references/lifecycle-and-managers.md9.1 KB
  • references/troubleshooting.md10.6 KB
  • scripts/inspect_env_config.py8.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.