[Tool] gd-cli - Agent-first Grim Dawn game-data queries

gd-cli is a Grim Dawn game-data query tool designed for Codex, Claude Code, and other AI agents.

It parses local ARC, ARZ, localization, quest, and map data into an independent SQLite database. Agents can then query stable JSON for build research, item acquisition, localization work, and other game-data analysis.

GitHub and download:

Important

  • This is an agent-first tool, not an interactive CLI for normal users.

  • The Windows release is self-contained and does not require .NET.

  • It does not read player stashes or save files.

  • It does not modify or lock game files.

  • Queries return compact JSON and support JMESPath projection.

Initialize the database once with your game directory:


gd-cli init "C:\Program Files (x86)\Steam\steamapps\common\Grim Dawn" --game-language en

An existing database is never rebuilt automatically.

Examples

Analyze compatible affixes and BiS combinations

Query compatible Prefix, Suffix, and Ascended affixes with their numeric ranges, effects, skill bonuses, and skill modifiers:


gd-cli affixes --type WeaponMelee_Mace --all

gd-cli ascended-affixes --category oneHandMelee --all

An Agent can combine this data with a build’s skills, damage types, OA, Attack Speed, cooldowns, and combat rotation to evaluate possible BiS combinations.

Analyze the best Physical affix combinations for Bargoll’s Root, prioritizing sustained Blitz performance.

Find every known way to acquire an item


gd-cli acquisition "Gargabol's Ring" --all

Acquisition results may include direct vendors, monster-specific loot, random-drop pools, crafting recipes, and known map coordinates. These methods can coexist.

An Agent can present a teleportable location in a compact form:


[Monster]Gargabol, Heart of the Wild, 747.1195068359375, -10.06985855102539, -3670.0849609375

Query items and their complete records


gd-cli search "Bloodbriar's Thorn"

gd-cli item <record-id>

gd-cli item-families --mi true --all

Use search or items to locate records, item for complete stats, item-families for related records, and acquisition for sources.

Analyze quests and key coordinates


gd-cli quest "Into the Breach" --all

Quest results preserve objectives, branches, relevant actors, unresolved references, and key coordinates as structured data. An Agent can turn that graph into a concise route without storing full dialogue or scripts.

Assist with localization work

Items, affixes, nameTag values, rarities, and stable record IDs can help an Agent audit translations, add MI markers, highlight affixes, or adjust Prefix, Suffix, and Base name order.

gd-cli provides source data only. It does not modify localization files.

Disclaimer

Updates may not always follow Grim Dawn releases immediately. Contributions and Pull Requests are welcome on GitHub.

2 Likes

Hey this is really cool. How did you go about constructing the db itself with all this info?

Linux:

dotnet build $PWD --runtime linux-x64 --configuration Release

./bin/Release/net10.0/linux-x64/gd-cli init \
  "$HOME/.local/share/Steam/steamapps/common/Grim Dawn" \
  --game-language en