wow-api-events

wow-api-events is a skill for Claude Code, Codex from JBurlison/WoWAddonAPIAgents. It costs 34 tokens per session (835 once invoked), scanned A, original, MIT.

A reference guide to World of Warcraft Retail frame events, which are messages the game sends to add-on interface code. It explains how to register events and read the data sent with them.

In plain words
What is it for?
Connecting interface code to inventory, quest, party, and other game events, and using the event data in handlers.
Why use it?
It removes the need to reconstruct event names, payloads, and handling patterns when building or debugging a WoW interface add-on.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jburlison/wowaddonapiagents/wow-api-events
Any agent
npx skills add JBurlison/WoWAddonAPIAgents --skill wow-api-events
Clone the repo
git clone --depth 1 https://github.com/JBurlison/WoWAddonAPIAgents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wow-api-events

README.md
[![agentmods](https://agentmods.dev/badge/skills/jburlison/wowaddonapiagents/wow-api-events.svg)](https://agentmods.dev/skills/jburlison/wowaddonapiagents/wow-api-events)
Your own site
<a href="https://agentmods.dev/skills/jburlison/wowaddonapiagents/wow-api-events"><img src="https://agentmods.dev/badge/skills/jburlison/wowaddonapiagents/wow-api-events.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 835 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00034 $0.00835
Opus 5 $0.00017 $0.00417
Sonnet 5 $0.00007 $0.00167
Haiku 4.5 $0.00003 $0.00084

Measured 4d ago against content hash 740c7c5b379a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

wow-api-events scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/wow-api-events/SKILL.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WoW Events (Frame Events)

This skill documents frame events that the WoW client sends to UI code via OnEvent handlers. It covers setup, payload handling, and a categorized list of events with their payloads.

Source of truth: https://warcraft.wiki.gg/wiki/Events Event handling: https://warcraft.wiki.gg/wiki/Handling_events OnEvent handler: https://warcraft.wiki.gg/wiki/UIHANDLER_OnEvent Current as of: Patch 12.0.0 (Retail)

Scope

  • Retail only (ignore Classic-only events).
  • Frame events delivered to OnEvent handlers.
  • Includes payloads where documented.

When to Use This Skill

Use this skill when you need to:

  • Register or handle events (RegisterEvent, RegisterUnitEvent).
  • Understand event payloads and argument order.
  • Map events to UI systems (Inventory, Quest, Party, etc.).
  • Build event-driven addon logic.

How to Use This Skill

  1. Start with the event handling primer below.
  2. Open the reference file that contains the event category you need.
  3. Use the event payload list to unpack ... in your handler.
  4. Cross-check unusual events on their wiki pages if a payload is unclear.

Event Handling Primer

Core APIs

  • CreateFrame("Frame") creates an event handler frame.
  • frame:RegisterEvent("EVENT_NAME") subscribes to a specific event.
  • frame:RegisterUnitEvent("UNIT_EVENT", "unit") filters to units.
  • frame:SetScript("OnEvent", handler) assigns the handler.
  • frame:UnregisterEvent("EVENT_NAME") or frame:UnregisterAllEvents() removes subscriptions.

Handler Signature

An OnEvent handler receives:

  1. self - the frame
  2. event - event name string
  3. ... - event payload arguments (vary per event)

From the Handling events guide:

  • The global event and argX variables were removed in patch 4.0.1.
  • Always unpack payloads from ....

Dispatch Table Pattern

local f = CreateFrame("Frame")
local handlers = {}

function handlers:PLAYER_LOGIN()
    print("Login")
end

function handlers:BAG_UPDATE(bagID)
    print("Bag updated", bagID)
end

f:SetScript("OnEvent", function(self, event, ...)
  local handler = handlers[event]
  if handler then
    handler(handlers, ...)
  end
end)

for name in pairs(handlers) do
    f:RegisterEvent(name)
end

Read the full file on GitHub · 120 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 120 lines · 34 tokens per session scan A 740c7c5b379a

Subscribe to this mod's changes

wow-api-events is a skill published in the GitHub repository JBurlison/WoWAddonAPIAgents (43 stars, last pushed 6mo ago), licensed MIT. It adds 34 tokens to every session and 835 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.