agentsclimarketplace

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.

Install
npx -y skills add YUehai231/Civ6ModAgent --skill civ6_modart_builder

Assembled 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 Artdefs and XLPs directories 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 containing Artdefs and/or XLPs folders.
  • --mod-name: (Required) The name of the mod as defined in the .civ6proj or .modinfo file.
  • --mod-id: (Required) The UUID/GUID GUID key of the mod.

What it does

The script:

  1. Scans Artdefs/ for .artdef files and extracts their internal <m_TemplateName> tags.
  2. Scans XLPs/ for .xlp files and extracts their <m_ClassName> and <m_PackageName> tags.
  3. Automatically computes the required loadsLibraries dependencies for each art consumer.
  4. Generates a fully formatted Mod.Art.xml in the root of the specified project directory.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.