
from afsim-script-generator11
Generate, validate, and execute AFSIM 2.9.0 scenario scripts; helps produce syntactically correct .txt mission scripts, run them with mission.exe, and debug com
This skill provides an expert reference and generator for AFSIM 2.9.0 mission scripts. It guides the agent through creating properly structured .txt scenario files (platforms, movers, sensors, weapons, processors), enforces critical syntax rules (units, end tags, coordinate formatting), and supports running simulations via mission.exe. The SKILL.md includes a quick-start, file-structure templates, API references (WsfPlatform/WsfSensor/WsfWeapon), command examples, and troubleshooting notes so the agent can produce, validate, and iterate simulation scripts reliably.
Use this skill when a user asks to: create an AFSIM scenario, convert a mission idea into a runnable .txt script, fix parse or runtime errors reported by mission.exe, or verify platform/sensor/weapon parameter choices. Also use it when preparing automation that will execute mission.exe and collect output logs.
Best used by agents that can run CLI commands and inspect filesystem outputs (Python-capable assistants, Copilot/Code-style agents).
AFSIM script generator for military simulation scenarios. The bundled run_mission.py is a clean wrapper that executes mission.exe with proper arg parsing and error handling; it exited with missing-argument error as expected (requires a script file path). No security concerns found — subprocess.run uses list args, no network calls, no credentials. SKILL.md is exceptionally thorough with references, API docs, and troubleshooting, but the niche audience limits broad usefulness.
Well-crafted skill for a very niche audience. Code is clean and safe. The bilingual (Chinese/English) SKILL.md is unusual but not a problem. Would benefit from clearer prerequisites section and possibly a dry-run mode that validates syntax without requiring the AFSIM binary.