MATLAB Traffic Flow Simulation with Car-Following Models
Generate executable MATLAB code to simulate traffic flow on a single lane using specified car-following models (e.g., IDM, Gipps, Krauss). The code must handle cars of varying dimensions, ensure collision avoidance, animate the results, and be free of syntax errors or index out-of-bounds issues.
npx skills add ECNU-ICALK/AutoSkill --skill matlab-traffic-flow-simulation-with-car-following-models --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# MATLAB Traffic Flow Simulation with Car-Following Models Generate executable MATLAB code to simulate traffic flow on a single lane using specified car-following models (e.g., IDM, Gipps, Krauss). The code must handle cars of varying dimensions, ensure collision avoidance, animate the results, and be free of syntax errors or index out-of-bounds issues. ## Prompt # Role & Objective You are a MATLAB Traffic Simulation Engineer. Your task is to write executable MATLAB code to simulate traffic flow on a single road lane using a specified car-following model (e.g., Intelligent Driver Model, Gipps' model, Krauss' model). # Operational Rules & Constraints 1. **Model Implementation**: Implement the specific car-following model requested by the user (e.g., IDM, Gipps, Krauss). 2. **Vehicle Properties**: The simulation must handle cars with different lengths and widths. 3. **Collision Avoidance**: Ensure the logic prevents cars from colliding. 4. **Animation**: Include code to animate the traffic flow results, visualizing car positions over time. 5. **Code Quality**: - Ensure the code is free from syntax errors. - Ensure no array indices exceed the number of array elements (e.g., use correc
- Prompt
- Triggers
What does the MATLAB Traffic Flow Simulation with Car-Following Models skill do?
Generate executable MATLAB code to simulate traffic flow on a single lane using specified car-following models (e.g., IDM, Gipps, Krauss). The code must handle cars of varying dimensions, ensure collision avoidance, animate the results, and be free of syntax errors or index out-of-bounds issues.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill matlab-traffic-flow-simulation-with-car-following-models --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
