Civ6 boilerplate generator
Skill YUehai231/Civ6ModAgent/.agents/skills/civ6_boilerplate_generator
A test project aiming to enable AI Agents to generate all code files for a Civ 6 mod. ModBuddy & game knowledge still required. Special thanks to Hemmelfort.
npx -y skills add YUehai231/Civ6ModAgent --skill civ6_boilerplate_generatorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Generate Civilization VI XML database boilerplate structures for new units, leaders, civilizations, or improvements. Trigger this skill when the user asks to create, initialize, or generate a new unit, leader, civ, or building database config.
SKILL.md
2.0 KB, as published. Nobody here has run it
Civilization VI Database Boilerplate Generator
This skill enables you to generate standard, game-ready XML database boilerplate structures for new gameplay entities like units, leaders, civilizations, and improvements.
Files in this Skill
- generate_boilerplate.py: Python script to output XML structures for Units, Leaders, Civilizations, and Improvements.
Usage
You can invoke the boilerplate generator using Python on the user's system:
& "C:\Program Files\NVIDIA Corporation\Nsight Compute 2025.4.0\host\target-windows-x64\python\bin\python.exe" "d:\Civilization_VI_mod\Civ-6-Documentation-main\.agents\skills\civ6_boilerplate_generator\scripts\generate_boilerplate.py" --type <Type> --name <Name> --out-dir "/path/to/output"
Options
--type: (Required) Choice of:Unit,Leader,Civilization,Improvement.--name: (Required) Database ID name (e.g.GERALT,WITCHER_CIV,SCOIA_TAEL,TAVERN).--out-dir: Output directory for generated XML files (defaults to.).--params: Optional JSON string to override default attributes (e.g. combat strength, upgrade paths, prereqs).--params-file: Optional JSON file path to override default attributes.
Examples of --params overrides
Custom Unit Setup:
{
"Combat": 45,
"RangedCombat": 50,
"Range": 2,
"Moves": 3,
"Cost": 120,
"UpgradeUnit": "UNIT_CROSSBOWMAN",
"ReplacesUnit": "UNIT_ARCHER"
}
Custom Civilization Setup:
{
"CitizenNamesMale": ["LOC_CITIZEN_GERALT", "LOC_CITIZEN_VESEMIR"],
"CitizenNamesFemale": ["LOC_CITIZEN_YENNEFER", "LOC_CITIZEN_CIRI"]
}