simulation_skill
Skill by NVIDIA
Runs, monitors and stops simulations from DATA input files for AI agents. Built for agents that launch Flow runs, check progress and attempt auto-fixes after failures.
Install simulation_skill
Built from the published package, never by AI.
git clone --depth 1 https://github.com/NVIDIA/GenerativeAIExamples /tmp/GenerativeAIExamples && mkdir -p ~/.claude/skills && cp -r /tmp/GenerativeAIExamples/industries/energy/simulation-workflow-agent/sim_agent/src/simulator_agent/skills/simulation_skill ~/.claude/skills/simulation-skillRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/NVIDIA/GenerativeAIExamples /tmp/GenerativeAIExamples && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/GenerativeAIExamples/industries/energy/simulation-workflow-agent/sim_agent/src/simulator_agent/skills/simulation_skill ~/.gemini/antigravity-cli/skills/simulation-skillAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The Simulation skill gives an AI agent tools to run, monitor and stop simulations from simulator input (DATA) files. Runs can be foreground, waiting for completion, or background, returning immediately. Progress is checked by reading the PRT output file, and a running simulation can be stopped by process ID, either gracefully or by force. Monitoring can optionally use an LLM to summarize the PRT tail.
A run_and_heal tool runs a case and, if it fails, parses PRT errors, can consult RAG tools when configured, and writes a fixed DATA file. Process metadata is stored in run.json. The skill uses LangChain tools with subprocess management and is written for agents that follow the Simulator Agent decision tree.
Written from the project's SKILL.md and checked against it.
What it can do
- run_and_healRuns a simulation and, on failure, parses PRT errors and creates a fixed DATA file.
- run_simulationRuns a simulation from a DATA file in foreground or background mode.
- monitor_simulationReads the PRT file to report running, completed or failed status and progress.
- stop_simulationStops a running simulation by process ID, using graceful or forced shutdown.
What you need
- A simulator installed
- Python environment with langchain and subprocess support
Try asking
- Run the case in /data/CASE.DATA in the background with 4 threads
- Check the progress of the simulation in my output folder
- Stop the running simulation with PID 12345 gracefully
Good to know
- Requires the simulator to be installed before use.
- Run_and_heal consults RAG tools only when their config is available.
- Paths can be resolved through OPM_PROJECT_ROOT in Docker environments.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: industries/energy/simulation-workflow-agent/sim_agent/src/simulator_agent/skills/simulation_skill/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
__init__.py2 KB -
assets/README.md244 B -
references/TOOL_DECISION_TREE.md579 B -
scripts/__init__.py992 B
Show all 8 files
-
scripts/self_heal_chain.py23 KB -
scripts/simulation_tools.py35 KB -
test.py9 KB
Alternatives to simulation_skill
All alternatives →Diagnoses slow React components and suggests targeted performance fixes. Built for developers who want to reduce re-renders or list lag in React UIs.
Diagnoses slow React components and suggests targeted performance fixes. Built for React developers who need to reduce re-renders, list lag, or expensive render work.
Designs masterclass-style lectures as slide courses with dense pages, long teacher narration and rare quizzes. Built for subjects where understanding matters more than hands-on practice.
Designs hands-on workshop courses in which the learner practises through exercise and quiz pages instead of watching. It suits workshops, bootcamp sessions and skills the learner should leave able to use.
Analyzes competition and develops market positioning strategies using Porter's Five Forces, Blue Ocean Strategy, and positioning maps. Useful for founders and teams evaluating competitors or preparing a startup or investor pitch.
Designs courses whose content depends on current or external facts. It researches the topic first, records each claim with its source, and builds the outline and pages from fetched material. Built for educators teaching time-sensitive subjects.
Compare with react-component-performance, react-component-performance or lecture-style
simulation_skill: common questions
What does run_and_heal do when a simulation fails?
It parses PRT errors, optionally consults RAG tools if config is available, and then creates a fixed DATA file such as CASE_FIXED.DATA.
How does the skill check simulation progress?
The monitor_simulation tool reads the PRT file in the output directory and returns the status with the tail of its content.
Can the skill run simulations on multiple MPI processes?
Yes. When num_mpi_processes is greater than 1, runs go through mpirun, and setting OPM_MPI_LAUNCHER=mpiexec switches to mpiexec.
How do I install simulation_skill?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is simulation_skill free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is simulation_skill safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to simulation_skill?
Similar skills: react-component-performance, react-component-performance, lecture-style, workshop-style.
