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-deploynpx skills add perminder-klair/subwave --skill subwave-deploygit 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-deploy)<a href="https://agentmods.dev/skills/perminder-klair/subwave/subwave-deploy"><img src="https://agentmods.dev/badge/skills/perminder-klair/subwave/subwave-deploy.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.00316 | $0.05730 |
| Opus 5 | $0.00158 | $0.02865 |
| Sonnet 5 | $0.00063 | $0.01146 |
| Haiku 4.5 | $0.00032 | $0.00573 |
Grade B, and why
subwave-deploy scanned grade B with 2 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
Both dev and prod default `STATE_DIR` to `<repo>/state` — repo-local, no sudo needed. An operator can still point it elsewhere (e.g. a dedicated data disk) by exporting `STATE_DIR`; if that target is outside `$HOME` the Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -sf --max-time 5 \ How it starts
The opening of the file, as written. The whole thing — 360 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SUB/WAVE deploy
Bring the SUB/WAVE radio stack up — from a fresh checkout or from an already-running install — with the minimum churn the situation needs. A first-time setup takes a few minutes (build + first jingle render). A clean update with no rebuild takes seconds; a full rebuild a minute or two.
The user has authorised free action on this hot path — scripts/setup.sh, git pull, docker compose build, up -d, generate-jingles.sh, log scans, health probes. Pause and confirm only for the genuinely destructive moves listed at the bottom.
The five facts the workflow turns on
-
Two compose files, two shapes.
docker-compose.dev.yml— dev variant (Mac smoke-test): Broadcast (icecast2 + liquidsoap) + Controller only. Web runs separately vianpm run dev. State at./state.docker-compose.yml— production single-host: addswebandcaddy. Only Caddy binds a host port. State at${STATE_DIR:-<repo>/state}— repo-local by default, same as dev.- Detect which is up from
docker compose -f <file> ps. Caddy maps to host port${CADDY_PORT:-7700}(0.0.0.0:7700->80/tcpby default). Always read the actual port fromps, never hardcode — operators can override viaCADDY_PORTindocker/.env.
-
Controller and Broadcast COPY their assets at build time, they do not bind-mount them in prod.
docker compose restart <svc>reruns the same baked-in code/config and does nothing for source changes. Source changes needup -d --build <svc>. This is the single most common deploy mistake. (Liquidsoap lives inside the broadcast image, soradio.liqedits in prod also need--build broadcast, not a plain restart.) -
Web in dev is hot-reloaded (Next.js
npm run dev); web in prod is a built standalone image and needs--buildon anyweb/**change. -
The IPC between Controller and Broadcast (liquidsoap side) is file-based through the shared
state/(mounted at/var/sub-wave). When you recreate one of them, in-flightnext.txt/say.txt/now-playing.jsonmay be mid-write — accept a few-second blip; don't keep recreating to "fix" it. But there is a worse failure here, and it has bitten in production: a near-simultaneous recreate of bothcontrollerandbroadcast(which is exactly whatup -d --build controller webtriggers, because thedepends_ongraph also recreatesbroadcast) can have Liquidsoap pick up a bad/empty IPC request and wedge a source into afail/blankloop. The result is silent but invisible:/api/healthstill sayson-air,/stream.mp3still flows bytes,/api/now-playingstill rotates tracks — but the audio is digital silence (~-91 dB). The cure is a plaindocker compose ... restart(no rebuild — code is already baked in); it clears the wedged source state. The detector is an audio-level probe, not the health endpoint — see Step 5.
What ships with it
1 file 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.
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.
- 4d ago First seen · 360 lines · 316 tokens per session scan B 77f8a06917bb
subwave-deploy is a skill published in the GitHub repository perminder-klair/subwave (1,298 stars, last pushed today), licensed MIT. It adds 316 tokens to every session and 5,730 once invoked, about $0.0016 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, 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
nemoclaw-contributor-implement-issue
Implement an accepted NemoClaw GitHub issue in the current checkout. Use when a user asks to pick up an issue for implementation, implement or fix a named issue, or add the issue's tests. Confirm accepted scope, deliver the smallest independently valuable capability slice, and record validation and remaining gates…
amazon-reviews-api-skill
This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express needs like getting reviews for Amazon product with ASIN B07TS6R1SF, analyzing customer feedback for a specific Amazon item, getting ratings and comments for a…
amazon-competitor-analyzer
Scrapes Amazon product data from ASINs using browseract.com automation API and performs surgical competitive analysis. Compares specifications, pricing, review quality, and visual strategies to identify competitor moats and vulnerabilities.
weekly-report
Structure and data sources for the weekly inventory report. Load this when the task is "weekly report", "Monday report", or "summarize inventory status".
shopify-functions
Shopify Functions allow developers to customize the backend logic that powers parts of Shopify. Available APIs: Discount, Cart and Checkout Validation, Cart Transform, Pickup Point Delivery Option Generator, Delivery Customization, Fulfillment Constraints, Local Pickup Delivery Option Generator, Order Routing Location…
asc-subscription-localization
Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.