install-scenic
What it does
This skill installs Scenic, a tool for writing traffic test scenarios, so it works with your CARLA simulator. It is for people who plan to write or run Scenic scenarios.
When to use it
- βWhen you want to start writing Scenic scenarios for CARLA.
- βWhen you already have CARLA's Python client and need Scenic to work with it.
- βWhen a Scenic scenario fails with a model or blueprint error after installing.
Skill link
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/setup/install-scenic/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCan you install Scenic so I can write traffic scenarios for my CARLA simulator and check that it works with my setup?β
5 new skills a week. 1 minute to read.
How it works
The agent installs Scenic into the same Python setup as the CARLA client, since the two must work together. It can also download example scenarios, then checks that the Scenic command, the client and the version tables all agree.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Install Scenic
Paths.
scripts/β¦andreferences/β¦below are relative to the directory holding this SKILL.md. Your working directory is the user's project, not that directory, so prefix them with its absolute path or the command is not found.
Scenic is pure Python β there is nothing to build and pip install scenic is
the whole install. Two things make it go wrong anyway, and neither reports an
install error:
- The
scenicCLI and thecarlaclient must be in ONE interpreter. Scenic loads the client itself when a scenario names the CARLA model. Split them and the failure arrives mid-run as a model import error, not at install time. - Scenic's blueprint tables are keyed on the CARLA client version. With no table for that version, every vehicle and prop category resolves empty and every scenario fails at sample time with "no blueprints recorded".
So the install order is client first, Scenic second, into the same
interpreter. install_scenic.py refuses to install into an interpreter with no
client unless you pass --force.
Instructions
Progress:
- [ ] Step 1: Check prerequisites (bash scripts/check_env.sh)
- [ ] Step 2: Pick the interpreter β the one that has the CARLA client
- [ ] Step 3: See the plan for this machine
- [ ] Step 4: Install (and clone examples if they are wanted)
- [ ] Step 5: Verify, and record `SCENIC_ROOT` and `PYTHON` with `set_config`
Step 1-3: What is here, and what to do about it
PYTHON=/path/to/venv/bin/python bash scripts/check_env.sh
python3 scripts/install_scenic.py detect # interpreter, Scenic, client, tables
python3 scripts/install_scenic.py plan # the exact commands, and why
Every subcommand takes --python to act on another interpreter:
python3 scripts/install_scenic.py --python ~/.venvs/carla/bin/python detect
detect is the one to read first. It prints which CARLA versions the installed
Scenic has blueprint tables for, and flags a CLI that belongs to a different
environment than the interpreter β the pyenv-shim trap, which otherwise surfaces
much later as a confusing model import failure.
Step 4: Install
# into the interpreter that has the client
python3 scripts/install_scenic.py install
# a specific version
python3 scripts/install_scenic.py install --version 3.1.1
# also clone upstream for the example scenarios and map assets
python3 scripts/install_scenic.py install --clone ~/Scenic
The wheel ships world models only β no example scenarios and no map assets.
--clone is how you get examples/ and assets/maps/CARLA/*.xodr. Skip it if
you are running a ScenarioRunner checkout's own scenarios, which carry their own
copies under srunner/scenic/.
install runs verify when it finishes.
Step 5: Verify and export
python3 scripts/install_scenic.py verify
Checks the five things that actually matter, and exits non-zero on any:
| Check | Why it matters |
|---|---|
scenic importable |
the install worked |
| CLI belongs to this interpreter | otherwise a run uses a different Scenic |
carla client present |
Scenic loads it for the CARLA model |
carla is the extension, not a directory |
a directory named carla on sys.path imports as an empty namespace package |
| blueprint table for this client version | otherwise every category is empty |
scenic.simulators.carla.simulator imports |
the real binding between Scenic and the client |
Then export the root, which is what the scenic skill group is gated on:
export SCENIC_ROOT=~/Scenic # a checkout, for examples
# or, for a pip-only install, the installed package directory:
export SCENIC_ROOT=$(python3 -c 'import os,scenic;print(os.path.dirname(scenic.__file__))')
Running and authoring scenarios is out of scope here β see [[run-scenic-scenario]] and [[create-scenic-scenario]].
Recording the path
An export lasts until the shell exits. Persist SCENIC_ROOT and PYTHON instead, so the
next session β and list_skills β still knows where this went:
set_config({"SCENIC_ROOT": "<the checkout or package dir>",
"PYTHON": "<the interpreter Scenic went into>"})
Without it the group this just enabled keeps reporting available: false,
and the next skill re-detects from scratch. CARLA_ROOT is the only CARLA
path to record: set_config derives the engine-specific variable itself.
Examples
**Example 1: "install Sce
FAQ
Why must Scenic and the CARLA client share one Python?
Scenic loads the CARLA client itself, so separate installs cause errors partway through a run.
Does it need the examples?
No, but the skill can download the example scenarios that the package does not include.
Why does a version mismatch matter?
Scenic lists vehicles by the client version, so a mismatch can leave a scenario with no cars to use.
Details
Original description by the author
Installs Scenic, the probabilistic scenario description language, for the CARLA in use β pip installing it into the same interpreter that holds the CARLA client, optionally cloning the upstream repo for the example scenarios the wheel does not ship, and verifying that the `scenic` CLI, the client and Scenic's version-keyed blueprint table all agree. Use when the user asks to "install Scenic", "set up Scenic", "download Scenic", "pip install scenic", wants to run `.scenic` files, or has a Scenic whose model import or blueprint lookup fails.
repo: carla-simulator/carla
Popularity
- GitHub stars
- 15k
- Ranking position
- #11120
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
create-leaderboard-route
15kHelps your agent build CARLA Leaderboard route files by placing waypoints and scenario triggers from the simulator camera, then checking and ordering them.
package-leaderboard-agent
15kHelps your agent package a driving agent into a Docker image for CARLA Leaderboard submission, checking the folder layout and testing that the image loads it.
read-leaderboard-results
15kHelps your agent read a CARLA Leaderboard results file, explain each route's score and infractions, and rescore a run under the other rule version.
run-leaderboard-evaluation
15kHelps your agent run the CARLA Leaderboard evaluator on a set of routes with your driving agent, checking the setup first and saving checkpoints you can resume.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.