AGENT SKILL

scene-configuration

This skill guides authors through validated IR-SIM YAML scenes, object geometry, kinematics, placement, collision policy, and state APIs.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
scene-configuration
license
MIT
metadata
{ "disco-role": "operating" }
description
This skill guides authors through validated IR-SIM YAML scenes, object geometry, kinematics, placement, collision policy, and state APIs.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

Scene configuration

Use this sub-skill when a task needs an IR-SIM YAML scene, a robot or obstacle, object geometry, a kinematic control vector, placement distributions, collision policy, or object state/goal inspection. Begin with the smallest explicit scene and run the bundled checker before constructing an environment:

python sub-skills/scene-configuration/scripts/validate_scene.py --help
python sub-skills/scene-configuration/scripts/validate_scene.py scene.yaml

Run those commands from the generated IR-SIM skill root, or resolve the script path from the installed skill location. The checker uses only yaml.safe_load; it does not import IR-SIM or open a GUI. It returns non-zero for malformed YAML, unknown schema keys, unsupported shape/kinematics/behavior combinations, ambiguous Ackermann geometry, invalid control dimensions, and mismatched per-object lists. It is a strict preflight, not a replacement for irsim.make().

Route by intent

  • Author or diagnose world, robot, obstacle, or gui YAML with the schema reference.
  • Choose a footprint, understand exact collision geometry, or map a control vector to state updates with geometry and kinematics.
  • Need repeatable placement, circle formation, random shapes/goals, or central RNG behavior? Use distributions and randomness.
  • Diagnose install, parser, factory, dimension, collision, path, and optional dependency failures with troubleshooting.

Minimal construction loop

  1. Install the base distribution (python -m pip install ir-sim) and verify import irsim; use display=False for headless work. pynput is optional keyboard input, pyrvo is optional ORCA, and imageio[ffmpeg]/ffmpeg is only needed for video output.
  2. Define world extents/timing and collision policy, then one robot with an explicit shape, kinematics, state, goal, and compatible behavior when it should move. Objects without kinematics are static.
  3. Add obstacles only after checking that initial Shapely footprints do not overlap. Keep explicit object names unique across both sections; group and group_name organize objects but do not replace names.
  4. Validate a tiny fixture, then use irsim.make("scene.yaml", display=False, seed=7). The factory accepts one mapping or a list of object-group mappings; number expands a group and the runtime repeats short per-object lists, while the bundled checker asks for exact lists to prevent accidental duplication.
  5. Query obj.state, obj.velocity, obj.goal, obj.geometry, obj.get_info(), obj.get_obstacle_info(), obj.arrive, and obj.collision. Use set_state, set_velocity, and set_goal; after direct state changes, let the environment refresh/rebuild its spatial data before relying on collision or sensor queries.

Keep this route focused on scene/object contracts. Route environment lifecycle, step/render/reset, and external stepping to simulation-environments; sensor payloads and maps to sensing-and-mapping; behavior selection and planners to navigation-and-planning; and registry or custom-controller work to extension-and-control. Runtime files are self-contained: the original checkout, usage files, private environments, and review artifacts are not dependencies.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351