WoWState (wow-state) is a lightweight, zero-UI World of Warcraft addon and Python CLI built so AI agents and coding assistants (Claude, ChatGPT, Codex, Gemini, Antigravity, scripts, etc.) can read, interpret, and analyze your live WoW character outside the game — with no screenshots or manual copy-pasting.
Because WoW addons cannot write JSON directly to disk, WoWState exports your character state into SavedVariables/WoWState.lua (WoWStateDB), and the companion wow-state CLI auto-discovers that file and turns it into compact, token-efficient JSON (~80-90% smaller than raw Lua).
Why Agents Use WoWState
- Gear, stats & upgrades: "Compare my equipped gear and stats — which slot should I upgrade next, and am I hit/crit capped?"
- Talents, rotation & action bars: "Look at my talents, spellbook, action bars, and macros — what rotation should I use or what is missing from my bars?"
- Professions, bags & crafting: "Check my bags, bank, and learned recipes — what can I craft or sell right now?"
- Quests, travel & endgame: "Look at my zone, active quest log, lockouts, and Great Vault — what should I do next?"
Step-by-Step Instructions
- Install WoWState into your
Interface/AddOns/directory. - Type
/wowstatein-game (or/wstate) whenever you want to capture fresh state and immediately reload your UI to writeSavedVariables/WoWState.luato disk.- Optional: Open your Bank once per update/session to include Bank, Reagent Bank, and Warband Bank items (carried forward on later collects). Open your Profession window(s) once to capture all learned recipes.
/playedtime is captured automatically after login.
- Optional: Open your Bank once per update/session to include Bank, Reagent Bank, and Warband Bank items (carried forward on later collects). Open your Profession window(s) once to capture all learned recipes.
- Run
uvx wow-statefrom any terminal or AI assistant (pip install wow-stateoptional). Supports--only character,stats,equipment,--summary,--section recipes,--character <name>, and--all.
In-Game Slash Commands
/wowstateor/wstate(also/wowstate save) — refresh your snapshot and immediately reload the UI to flush to disk (safely skips UI reload during combat)/wowstate collect— refresh in memory only (without reloading UI)/wowstate status— print addon version, load count, collect stats, and last collect reason/wowstate help— show slash command usage
What Data & Stats WoWState Saves
Runs safely inside xpcall across Retail, MoP Classic, Cataclysm Classic, TBC Classic, Classic Era, and custom 16001 builds, with combat deferral (PLAYER_REGEN_ENABLED catch-up), burst coalescing, native ADDON_LOADED session sync, and keep-last-good merge:
- Stats (
stats):- Resources: health/healthMax, primary power (
MANA,RAGE,ENERGY,FOCUS,RUNIC_POWER, etc.), class-gatedsecondaryPowers(comboPoints,runes,soulShards,holyPower,chi,arcaneCharges,essence). - Attributes & iLvl:
itemLevel(overall,equipped,pvp), primaryattributes(strength,agility,stamina,intellect,spiritwith base/effective/buffs). - Defense & Resistances:
armor&armorParts,defense(base/modifier/total),dodge,parry,block,blockValue, elementalresistances(fire,nature,frost,shadow,arcane). - Melee & Ranged:
attackPower(+ parts),meleeDamage(MH/OH min/max/speed),critChance,hitModifier,meleeHaste,expertise(MH/OH/ranged),armorPenetration,rangedAttackPower(+ parts),rangedDamage,rangedCrit,rangedHaste. - Spellcasting & Ratings:
spellCrit+spellCritBySchool,spellBonusDamageby school,spellBonusHealing,spellHaste,spellHitModifier,spellPenetration,manaRegenBase,manaRegenCasting,haste,mastery/masteryBonus,versatility,leech,avoidance,speed, non-zerocombatRatings, andmovementSpeed(current,run,flight,swim).
- Resources: health/healthMax, primary power (
- Character & Location: name, realm, class, race, faction, level, XP/rested XP, gold, hearthstone bind, guild, PvP flag,
/playedtotal & level time, zone, subzone, map coordinates, and continent/instance difficulty. - Gear, Bags & Banks: equipped slots
0-19(slotName, item ID, quality, iLvl, durability), equipped bags, carried inventory, Character Bank, Reagent Bank, and Warband Bank. - Progression & Combat Setup: professions/weapon skills/languages, learned recipes per profession (
recipesByChar), Classic talent tabs & Retail specialization/loadout string/hero spec/trait nodes, spellbook, action bar slots1-180, and account/character macros. - World, PvP & Endgame: active quest log, completed quest IDs & count, reputations (standing name + progress bar), currencies, buffs/debuffs, mounts & achievement points, PvP HKs/honor/rank/rated brackets, raid lockouts, world bosses, Mythic+ score/keystone/runs, Great Vault progress, and active pet/companion stats.
Links
- PyPI (
wow-state): https://pypi.org/project/wow-state/ - GitHub & AI Skill (
.agents/skills/wow-state/): https://github.com/briansunter/wow-state