Civ6 modart builder
Skill YUehai231/Civ6ModAgent/.agents/skills/civ6_modart_builder
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_modart_builderAssembled 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 and manage Civilization VI Mod.Art.xml dependency metadata and .artdef references. Trigger this skill when the user asks to compile, build, or update mod art metadata, dependency tables, or .artdef/XLP bindings.
SKILL.md
1.8 KB, as published. Nobody here has run it
Civilization VI ModArt & Dependency Builder
This skill enables you to compile and generate the crucial Mod.Art.xml configuration which Civilization VI uses to link database items with 3D art definitions, textures, and package XLPs.
Files in this Skill
- build_modart.py: Python script to scan
ArtdefsandXLPsdirectories and output the asset consumer tree.
Usage
You can invoke the ModArt builder 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_modart_builder\scripts\build_modart.py" --project-dir "/path/to/mod/project" --mod-name "<Name>" --mod-id "<GUID>"
Options
--project-dir: (Required) Path to mod project containingArtdefsand/orXLPsfolders.--mod-name: (Required) The name of the mod as defined in the.civ6projor.modinfofile.--mod-id: (Required) The UUID/GUID GUID key of the mod.
What it does
The script:
- Scans
Artdefs/for.artdeffiles and extracts their internal<m_TemplateName>tags. - Scans
XLPs/for.xlpfiles and extracts their<m_ClassName>and<m_PackageName>tags. - Automatically computes the required
loadsLibrariesdependencies for each art consumer. - Generates a fully formatted
Mod.Art.xmlin the root of the specified project directory.