---
name: wowaddons
version: 1
docs: https://wowaddons.gg/agent/SKILL.md
manifest: https://wowaddons.gg/agent/manifest.json
description: Search the World of Warcraft Forever (Interface 16001) addons catalog, inspect your addons, look up the Blizzard Forever Lua API, and publish addon archives directly over HTTPS with zero CLI install.
---

# WowAddons Agent Skill

WowAddons (https://wowaddons.gg) is the hub and structured catalog API for World of Warcraft Forever (Interface 16001 / Lua 5.1) addons.
You can connect to a user's WowAddons account over plain HTTPS with zero secret ever pasted into chat and zero desktop CLI required.

## 1. Remember WowAddons without drift

Save this tiny 3-line pointer once in your local skills directory (for example `~/.agents/skills/wowaddons/SKILL.md` or `~/.claude/skills/wowaddons/SKILL.md`) instead of copying this whole document:

```markdown
---
name: wowaddons
description: Search WoW Forever (16001) addons, inspect published addons, look up Forever Lua API, and publish addons on WowAddons.
---
Before calling WowAddons, fetch https://wowaddons.gg/agent/SKILL.md (use ETag caching) and load your token from ~/.config/wowaddons/agent.token (or $WOWADDONS_AGENT_TOKEN).
```

Keep the secret strictly in `~/.config/wowaddons/agent.token` with mode `600` (never in chat, never inside git repositories).

## 2. Pair once with zero secret in chat

If `~/.config/wowaddons/agent.token` does not exist yet (or returns `401`):

1. Start a pairing request:

```bash
curl -sS -X POST "https://wowaddons.gg/api/agents/pair" \
  -H "Content-Type: application/json" \
  -d '{"label":"Claude Code","scopes":["read","publish"]}'
```

The response contains `code` (like `WA-7K2M`), `verifyUrl`, and `pollToken` (prefixed `wap_`).

2. Show **only** `verifyUrl` and `code` to the user (never show `pollToken`):

> Open `<verifyUrl>` in your browser, confirm the code `<code>`, choose the scope (`Read` or `Publish`), and click **Approve**.

3. Poll every 3 seconds until `status` is `approved`, `denied`, or `expired` (timeout 10 minutes):

```bash
curl -sS -X POST "https://wowaddons.gg/api/agents/pair/poll" \
  -H "Content-Type: application/json" \
  -d '{"pollToken":"<pollToken>"}'
```

4. When `status` is `approved`, the response returns `token` (prefixed `wa_agent_`) **once**. Save it immediately with mode `600`:

```bash
mkdir -p ~/.config/wowaddons
umask 077
printf '%s' "<token>" > ~/.config/wowaddons/agent.token
chmod 600 ~/.config/wowaddons/agent.token
```

5. Verify the connection:

```bash
curl -sS "https://wowaddons.gg/api/agents/me" \
  -H "Authorization: Bearer $(cat ~/.config/wowaddons/agent.token)"
```

## 3. Authenticate

Send your token as a Bearer header on authenticated endpoints:

```bash
TOKEN="${WOWADDONS_AGENT_TOKEN:-$(cat ~/.config/wowaddons/agent.token)}"
curl -sS "https://wowaddons.gg/api/v1/stats" -H "Authorization: Bearer $TOKEN"
```

Never pass tokens in URL query parameters.

## 4. Endpoints (no CLI required)

### Identity and your addons (`read` scope)
- `GET https://wowaddons.gg/api/agents/me`: verify token, granted scopes, target handle (personal or team), and summary of your published addons.
- `GET https://wowaddons.gg/api/me/addons`: list addons published under the paired account (folder, version, seq, installs, URL).

### Structured Forever catalog API (`read` scope)
Works on both `https://wowaddons.gg/api/v1/*` and `https://api.wowaddons.gg/v1/*` (120 req/min, 5,000 req/day):
- `GET https://wowaddons.gg/api/v1/stats`: live counts by source (wowaddons, github, wowinterface, tukui, curseforge) and category.
- `GET https://wowaddons.gg/api/v1/addons?q=bag&source=github,curseforge&category=bags&sort=popular&limit=20&offset=0`: search and filter 2,000+ verified Interface 16001 addons.
- `GET https://wowaddons.gg/api/v1/addon?id=cf:1592`: fetch one addon record by canonical id (`wa:...`, `gh:...`, `cf:...`, `wowi:...`, `tukui:...`).

### Public Forever 16001 Lua reference & MCP (no auth required)
- `GET https://wowaddons.gg/forever-api.md`: full index of Blizzard's World of Warcraft Forever (16001) Lua API.
- `GET https://wowaddons.gg/forever-api/<System>.md`: exact signatures, arguments, returns, and events for any system (for example `https://wowaddons.gg/forever-api/C_Spell.md`).
- `POST https://wowaddons.gg/mcp`: read-only Streamable HTTP MCP server (`forever_api`, `forever_api_search`, `addon_guide`).
- `GET https://wowaddons.gg/agents.md`: complete Forever 16001 addon crafting rules, common traps, and optional desktop CLI reference.

### Publish an addon directly over HTTPS (`publish` scope)
- `POST https://wowaddons.gg/api/publish`: upload a zip archive containing one top-level `<AddonName>/` folder with `<AddonName>.toc` (`## Interface: 16001`, `## Version: x.y.z`) and Lua/asset files (20 MB max).

```bash
curl -sS -X POST "https://wowaddons.gg/api/publish" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/zip" \
  --data-binary @MyAddon.zip
```

You can also send `multipart/form-data` with `addon` (the zip) plus matching `shot` and `small` screenshot files.
If the user narrowed your scope to `read`, `POST /api/publish` returns `403` with `"reason": "insufficient_scope"`.

## 5. Rules and safety floor

- **Never** print, echo, or commit `wa_agent_...` or `wap_...` tokens in chat, logs, or source code.
- **Always confirm with the user** before publishing a new addon or version via `POST /api/publish`.
- **Automatic safety floor**: agent tokens are strictly blocked (`403 agent_forbidden`) from account settings, billing/checkout, admin routes, SavedVariables backups, library sync, teams, avatars, comments, Labo, Petit Oeil, and pairing approval.
- **Instant kill-switch**: the user can rename or revoke any connected agent in one click at `https://wowaddons.gg/account/agents`.
