agentsclimarketplace

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.

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

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

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):

  1. 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"
    
  2. 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"
    
  3. 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'

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.