Subwave is an internet radio station where an AI DJ selects music and speaks between tracks for every listener at once. Listeners can request music in plain language, while operators manage the queue, schedule, DJ personas, and station activity. Its catalogue entries define skills and workflows for operating the station.
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.
npx agentmods add skills/perminder-klair/subwave/subwave-controlnpx skills add perminder-klair/subwave --skill subwave-controlgit clone --depth 1 https://github.com/perminder-klair/subwaveWrote 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.
[](https://agentmods.dev/skills/perminder-klair/subwave/subwave-control)<a href="https://agentmods.dev/skills/perminder-klair/subwave/subwave-control"><img src="https://agentmods.dev/badge/skills/perminder-klair/subwave/subwave-control.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00205 | $0.01781 |
| Opus 5 | $0.00102 | $0.00890 |
| Sonnet 5 | $0.00041 | $0.00356 |
| Haiku 4.5 | $0.00020 | $0.00178 |
Grade A, and why
subwave-control scanned grade A with 1 finding 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 5d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -sf http://localhost:7701/health # dev — controller exposed directly How it starts
The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SUB/WAVE control
Bring the SUB/WAVE stack up or down. Nothing more. No builds, no pulls, no setup — if any of those are needed, hand off to the subwave-deploy skill.
This skill is checked into the SUB/WAVE repo. The repo root is the git repository that contains this skill — derive it once, don't hardcode it:
REPO=$(git -C "<this skill's base directory>" rev-parse --show-toplevel)
<this skill's base directory> is the absolute path shown as "Base directory
for this skill" when the skill loads. All docker compose invocations run from
docker/ inside $REPO. Shell state does not persist between commands, so
re-derive $REPO (or substitute its value) in each command block below.
The three things you need to know
-
Two compose files = two modes.
- Dev —
docker-compose.dev.yml: Icecast + Liquidsoap + Controller only. Web runs separately asnpm run devon the host (port7700). - Prod —
docker-compose.yml: addsweb(built image) andcaddy(edge router). Only Caddy binds a host port. State defaults to<repo>/state(override with theSTATE_DIRenv).
- Dev —
-
Service ports (post-renumber): Web
7700, Controller7701, Icecast7702. The controller's/healthendpoint returns{"status":"on-air"}once Liquidsoap is connected to Icecast — that's the canonical "is it up?" check. -
Web dev is hot-reloaded but must be launched separately in dev mode.
npm run devinweb/is a long-running foreground process; in this skill, always run it as a background task. The Next.js port7700collides with macOS AirPlay Receiver in some setups — if you getEADDRINUSEon:7700, checklsof -nP -iTCP:7700 -sTCP:LISTENand surface the conflict to the user rather than guessing.
Workflow
Step 0 — Detect what's running
cd "$REPO"
RUNNING_DEV=$(docker compose -f docker-compose.dev.yml ps -q 2>/dev/null)
RUNNING_PROD=$(docker compose -f docker-compose.yml ps -q 2>/dev/null)
WEB_DEV_PID=$(lsof -nP -iTCP:7700 -sTCP:LISTEN -t 2>/dev/null | head -1)
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.
- 5d ago First seen · 135 lines · 205 tokens per session scan A 3465301b92df
subwave-control is a skill published in the GitHub repository perminder-klair/subwave (1,298 stars, last pushed yesterday), licensed MIT. It adds 205 tokens to every session and 1,781 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…