Skip to content
Back to skills

Ir Sim

ASecurity

"This skill routes agents through IR-SIM's YAML robot simulation,

  • 247 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 8, 2026
toolspythonrustbashapibackend

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill ir-sim --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ir Sim?

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

Security grade badge for Ir Sim
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-ir-sim/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-ir-sim)

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: ir-sim
description: "This skill routes agents through IR-SIM's YAML robot simulation,
  navigation, sensing, mapping, planning, rendering, and extension workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# IR-SIM

Use this repo skill when a task names IR-SIM/`ir-sim`, asks for a lightweight
Python robot simulator, or involves YAML-driven mobile-robot navigation,
collision detection, LiDAR/FMCW sensing, occupancy maps, RVO/SFM/ORCA,
programmatic path planning, or external controller integration.

## Install and verify

IR-SIM 2.10.2 supports Python 3.10+. Install the base package for CPU/headless
work, then verify the import:

```bash
python -m pip install ir-sim==2.10.2
python -c "import irsim; print(irsim.__version__)"
```

Use `python -m pip install 'ir-sim[keyboard]'` only for live `pynput` keyboard
input. Add `imageio[ffmpeg]`/system ffmpeg for MP4 output and `pyrvo` for ORCA;
none is needed for the core simulator, headless Matplotlib, maps, sensors,
behaviors, or planners. Read [troubleshooting](references/troubleshooting.md)
when installation or optional imports fail. Run
`scripts/check_env.py --help` and then `python scripts/check_env.py` for a
read-only package/optional-dependency diagnostic from any working directory.

## Route by task

| Task intent | Read |
|---|---|
| Create/step/reset/reload/render/close worlds, headless or 3D runs, external stepping, multiple environments | [simulation-environments](sub-skills/simulation-environments/SKILL.md) |
| Author YAML, add robots/obstacles, choose shapes/kinematics, distributions, collision policy, inspect object state | [scene-configuration](sub-skills/scene-configuration/SKILL.md) |
| Configure LiDAR/FMCW/FOV/fog, inspect scans, build image/Perlin occupancy maps | [sensing-and-mapping](sub-skills/sensing-and-mapping/SKILL.md) |
| Choose dash/RVO/SFM/ORCA, avoid agents/lines, run A*/JPS/RRT/RRT*/PRM planners | [navigation-and-planning](sub-skills/navigation-and-planning/SKILL.md) |
| Register custom behaviors/kinematics/map generators, connect an external controller, use keyboard/mouse control | [extension-and-control](sub-skills/extension-and-control/SKILL.md) |

For a task that spans routes, start with the lifecycle route, then follow its
scene, sensing, planning, or extension links. The cross-cutting public surface
is summarized in [api-surface.md](references/api-surface.md).

## Safe operating defaults

- Prefer an explicit YAML path and `display=False`; set `MPLBACKEND=Agg` before
  importing Matplotlib-dependent code in batch environments.
- Use `seed=<integer>` or `irsim.util.random.set_seed()` when comparing random
  scenes. IR-SIM's RNG is process-level; separate processes are needed for
  independent parallel streams.
- In internal mode, call `env.step(action)` or let configured behaviors act. In
  external mode, update every controlled object's state and velocity, then call
  `env.step()` with no action; use `env.refresh()` for a no-clock sync.
- Bound every simulation/planning loop and close environments in `finally`.
  Never assume a planner result is usable: handle `None`, empty arrays, blocked
  endpoints, and sampling failure explicitly.
- Keep source-repository examples as evidence only. Use the bundled helpers
  linked from the sub-skills; they create tiny temporary fixtures and do not
  require this checkout.

## Scope and freshness

This graph covers public package use, not maintainer release/CI workflows,
large datasets, live desktop verification, or project-specific CBF/QP systems.
Read [repo-provenance.md](references/repo-provenance.md) before trusting the
skill for a changed checkout; if the commit, dirty state, package version, or
public evidence paths differ, use `refresh-repo-skill`.

Files in this skill

  • SKILL.md3.7 KB
  • references/api-surface.md2.8 KB
  • references/repo-provenance.md2.4 KB
  • references/repo-routing-metadata.json413 B
  • references/troubleshooting.md3.9 KB
  • scripts/check_env.py1.6 KB
  • scripts/run_headless.py2.5 KB
  • sub-skills/extension-and-control/SKILL.md4.1 KB
  • sub-skills/extension-and-control/references/custom-behaviors.md8.9 KB
  • sub-skills/extension-and-control/references/external-control.md5.6 KB
  • sub-skills/extension-and-control/references/gui-control.md4.4 KB
  • sub-skills/extension-and-control/references/troubleshooting.md6.3 KB
  • sub-skills/extension-and-control/scripts/custom_behavior_smoke.py5 KB
  • sub-skills/navigation-and-planning/SKILL.md4.2 KB
  • sub-skills/navigation-and-planning/references/behaviors.md8.2 KB
  • sub-skills/navigation-and-planning/references/optional-orca.md3.6 KB
  • sub-skills/navigation-and-planning/references/path-planners.md7.1 KB
  • sub-skills/navigation-and-planning/references/troubleshooting.md5.7 KB
  • sub-skills/navigation-and-planning/scripts/behavior_smoke.py5 KB
  • sub-skills/navigation-and-planning/scripts/planner_smoke.py5.2 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.