Skip to content
Back to skills

Setup And Scenarios

ASecurity

"Install and diagnose OpenCDA, select a supported scenario, compose

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

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill setup-and-scenarios --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setup And Scenarios?

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

Security grade badge for Setup And Scenarios
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-setup-and-scenarios/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-setup-and-scenarios)

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: setup-and-scenarios
description: "Install and diagnose OpenCDA, select a supported scenario, compose
  default-plus-override YAML, and run only when external CARLA or co-simulation
  prerequisites are ready."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# OpenCDA setup and scenarios

Use this sub-skill when a Researcher needs to prepare OpenCDA 0.1.3, inspect the
scenario CLI, choose a benchmark, or diagnose a configuration/prerequisite
failure. Start with [installation-and-prerequisites.md](references/installation-and-prerequisites.md),
then use [cli-reference.md](references/cli-reference.md),
[scenario-catalog.md](references/scenario-catalog.md), and
[configuration.md](references/configuration.md). Use
[scripts/check_scenario_cli.py](scripts/check_scenario_cli.py) for a static,
non-simulation repository check.

## Operating boundary

- Run commands from any directory by passing the repository root explicitly;
  do not assume the current directory is the checkout.
- `opencda.py --help` and static checks are local and safe. A benchmark run is
  not a smoke test: it needs a reachable CARLA server, matching CARLA Python
  API, installed maps, display/GPU resources as applicable, and a compatible
  scenario configuration.
- CARLA-only scenarios do not require SUMO. Co-simulation scenarios require a
  SUMO installation, `traci`, SUMO network/route files, and the co-simulation
  manager; they are outside the CARLA-only fast path.
- Keep `--apply_ml` off for the minimal baseline unless the selected scenario
  explicitly needs perception. The inspected environment did not verify
  PyTorch or YOLOv5, CARLA server, SUMO, ScenarioRunner, or YOLO runtime.
- Never launch a simulator from the static checker, and do not claim a
  scenario passed until its external backend and map are actually available.

## Procedure

1. Check the source tree and CLI without simulation:
   `python <repo-root>/opencda.py --help` and
   `python <skill-root>/scripts/check_scenario_cli.py --repo-root <repo-root>`.
2. Select a catalog entry and verify its CARLA version, map, ML, and traffic
   requirements. Prefer a CARLA-only entry with ML disabled for a dependency
   diagnosis.
3. Prepare the Python dependencies and CARLA API as documented. Verify
   `python -c "import carla"` separately from server connectivity.
4. Start the external CARLA server with the required map assets, then run the
   exact CLI command. Use synchronous mode; the configuration and Traffic
   Manager settings must agree.
5. Use the evaluation entry point described in [cli-reference.md](references/cli-reference.md)
   after the run, and preserve simulator logs separately from the skill.

For predictable failures, consult [troubleshooting.md](references/troubleshooting.md).
Docker is a reference deployment, not proof that the host has a working GPU,
X11/Vulkan path, CARLA server, or map assets; see
[container-deployment.md](references/container-deployment.md).

Files in this skill

  • SKILL.md2.9 KB
  • references/cli-reference.md3.2 KB
  • references/configuration.md4.5 KB
  • references/container-deployment.md2.2 KB
  • references/installation-and-prerequisites.md4.7 KB
  • references/scenario-catalog.md3.7 KB
  • references/troubleshooting.md4.9 KB
  • scripts/check_scenario_cli.py6.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.