Civ6 base game dictionary query
Skill YUehai231/Civ6ModAgent/.agents/skills/civ6_base_game_dictionary_query
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_base_game_dictionary_queryAssembled 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
Query the official base Civilization VI gameplay database for units, buildings, technologies, civics, leaders, civilizations, and modifiers.
SKILL.md
2.1 KB, as published. Nobody here has run it
Civ 6 Base Game Dictionary Query Skill
Use this skill when you need to find official base-game elements, statistics, modifier names, table schema columns, or database values during Civilization VI modding.
Knowledge Base Location
- SQLite Database:
D:\Civilization_VI_mod\Knowledge\BaseGameplay\Civ6GameplayBase.sqlite - JSON Dictionary:
D:\Civilization_VI_mod\Knowledge\BaseGameplay\gameplay_dictionary.json - CLI Query Helper:
D:\Civilization_VI_mod\Knowledge\BaseGameplay\query_helper.py
Instructions
When the user asks to look up a gameplay type, modifier, building, unit, technology, civic, leader, or civilization, use the python query helper tool.
Command syntax:
Run the helper tool using the system python interpreter (D:\anaconda\python.exe):
-
Keyword Search (searches across Units, Buildings, Technologies, Civics, Leaders, Civilizations, Modifiers, Types):
& "D:\anaconda\python.exe" "D:\Civilization_VI_mod\Knowledge\BaseGameplay\query_helper.py" -s "Keyword" -
Custom SQL SELECT Query (returns a formatted ASCII table):
& "D:\anaconda\python.exe" "D:\Civilization_VI_mod\Knowledge\BaseGameplay\query_helper.py" -q "SELECT Column1, Column2 FROM TableName WHERE Condition LIMIT N" -
Get JSON Results (ideal for parsing in your agent code):
& "D:\anaconda\python.exe" "D:\Civilization_VI_mod\Knowledge\BaseGameplay\query_helper.py" -q "SELECT * FROM Units WHERE UnitType = 'UNIT_SETTLER'" --json
Example Queries
- List all columns in the Units table:
PRAGMA table_info('Units') - Find modifiers related to culture yields:
SELECT ModifierId, ModifierType FROM Modifiers WHERE ModifierId LIKE '%culture%' OR ModifierType LIKE '%culture%' LIMIT 10 - Find arguments of a specific modifier:
SELECT Name, Value FROM ModifierArguments WHERE ModifierId = 'STANDARD_DIPLOMACY_ALERT_MODIFIER'