wow-api-escape-sequences

wow-api-escape-sequences is a skill for Claude Code, Codex from JBurlison/WoWAddonAPIAgents. It costs 118 tokens per session (3,193 once invoked), scanned A, original, MIT.

A reference for World of Warcraft UI escape sequences: special text codes beginning with a pipe character. These codes can add colors, icons, textures, word-wrap hints, and language-specific grammar inside Lua strings.

In plain words
What is it for?
Use it when developing WoW addons that format chat messages, tooltips, FontStrings, or other UI text.
Why use it?
It removes the need to look up how WoW displays special content inside chat, tooltips, or other text elements.

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-escape-sequences
Any agent
npx skills add JBurlison/WoWAddonAPIAgents --skill wow-api-escape-sequences
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-escape-sequences

README.md
[![agentmods](https://agentmods.dev/badge/skills/jburlison/wowaddonapiagents/wow-api-escape-sequences.svg)](https://agentmods.dev/skills/jburlison/wowaddonapiagents/wow-api-escape-sequences)
Your own site
<a href="https://agentmods.dev/skills/jburlison/wowaddonapiagents/wow-api-escape-sequences"><img src="https://agentmods.dev/badge/skills/jburlison/wowaddonapiagents/wow-api-escape-sequences.svg" alt="Measured on agentmods" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,193 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.00118 $0.03193
Opus 5 $0.00059 $0.01597
Sonnet 5 $0.00024 $0.00639
Haiku 4.5 $0.00012 $0.00319

Measured 4d ago against content hash 189ae71e01c3, 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-escape-sequences 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-escape-sequences/SKILL.md · 354 lines

How it starts

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

WoW UI Escape Sequences

This skill documents the UI escape sequences available in World of Warcraft addon development. Many UI elements that display text on screen support special sequences starting with the | (pipe) character. These sequences enable inline coloring, texture/atlas rendering, grammar inflection, word-wrapping hints, and more — all within ordinary Lua strings.

Source of truth: https://warcraft.wiki.gg/wiki/UI_escape_sequences Current as of: Patch 12.0.0 (Retail only) Scope: All | escape sequences recognized by the WoW UI text renderer.

When to Use This Skill

Use this skill when you need to:

  • Embed color codes in chat messages, tooltips, or FontStrings
  • Use named global colors (|cn) or item-quality colors (|cnIQ)
  • Insert inline textures or atlas icons into text
  • Apply localized grammar rules (Korean, French, Russian, plurals, articles)
  • Understand word-wrap hints (|W) or Kstring obfuscation (|K)
  • Use helper functions like WrapTextInColorCode(), CreateTextureMarkup(), CreateSimpleTextureMarkup(), or CreateAtlasMarkup()

Relationship to Other Skills

Skill Relationship
wow-api-framexml Covers utility functions (WrapTextInColorCode, CreateTextureMarkup, CreateSimpleTextureMarkup, CreateAtlasMarkup) that generate escape-sequence markup from Lua.
wow-api-widget FontString, EditBox, SimpleHTML, GameTooltip and other text-displaying widgets render these sequences.
wow-lua-api Lua string.format, print(), and chat functions emit strings that can contain these sequences.

Important: The Pipe Character

In Lua source code you can use | directly:

print("|cFFFF0000Red text|r normal")

In the chat window or in-game text editors, the literal | is escaped. Use \124 (the ASCII code for pipe) instead:

/run print("\124cFFFF0000Red text\124r normal")

Coloring

ARGB Hex Color

|cAARRGGBBtext|r

Read the full file on GitHub · 354 lines

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 · 354 lines · 118 tokens per session scan A 189ae71e01c3

Subscribe to this mod's changes

wow-api-escape-sequences is a skill published in the GitHub repository JBurlison/WoWAddonAPIAgents (43 stars, last pushed 6mo ago), licensed MIT. It adds 118 tokens to every session and 3,193 once invoked, about $0.0006 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.