lookingforfenglookingforfengCommunityยท1 Agent Skills Included

afsim-script-generator

Generate, validate, and run AFSIM military simulation scripts

Generates syntactically correct AFSIM 2.9.0 simulation scripts for air combat, ISR missions, UAV swarms, and multi-domain scenarios. Eliminates common scripting failures like missing units, unclosed code blocks, and invalid API methods through built-in validation rules. Runs simulations directly via mission.exe with a Python wrapper and provides 158 API methods, 22+ mover types, and full sensor and weapon references.
npx skills add lookingforfeng/afsim-script-generator --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install afsim-script-generator?โ–ผ

Run `npx skills add lookingforfeng/afsim-script-generator --all -g -y` in your terminal to install the skill globally. Then edit config.txt to point to your local AFSIM 2.9.0 installation directory.

What is AFSIM script generation used for?โ–ผ

It creates simulation scenarios for the AFSIM military modeling framework, covering air-to-air combat, air-to-ground strikes, ISR missions, and UAV swarm coordination.

How do I run an AFSIM simulation after generating a script?โ–ผ

Use the included Python wrapper with `python scripts/run_mission.py your_script.txt -es` to execute the scenario through mission.exe in event-stepped, real-time, or fast frame-stepped modes.

Why does my AFSIM script fail with syntax errors?โ–ผ

The most common causes are using a .wsf extension instead of .txt, omitting units on numeric values, and missing end tags on code blocks. The skill's common_mistakes.md reference lists all critical rules.

Do I need an AFSIM license to use this skill?โ–ผ

Yes. Script generation works freely, but executing simulations requires a valid AFSIM 2.9.0 installation with a license, configured via the AFSIM_INSTALL_DIR setting in config.txt.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’