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 skills add cboone/agent-harness-plugins --skill write-realtime-audio-codegit clone --depth 1 https://github.com/cboone/agent-harness-pluginsWrote 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/cboone/agent-harness-plugins/write-realtime-audio-code)<a href="https://agentmods.dev/skills/cboone/agent-harness-plugins/write-realtime-audio-code"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/write-realtime-audio-code/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/cboone/agent-harness-plugins/write-realtime-audio-code"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/write-realtime-audio-code.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00055 | $0.01076 |
| Opus 5.5 | $0.00022 | $0.00430 |
| Sonnet 5.5 | $0.00011 | $0.00215 |
| Haiku 4.5 | $0.00006 | $0.00108 |
Grade A, and why
write-realtime-audio-code 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Write Real-Time Audio Code
Use the host contract and a stated communication protocol to make callback-reachable code safe, bounded, and compatible.
When to Use
Apply this skill to an audio callback and all of its reachable code, including audio-to-UI paths, audio-related atomics and lifetimes, real-time verification, plugin parameters and state, event timing, smoothing, numerical behavior, and host-independent cores.
Do not activate it only because a change has a queue, an atomic, DSP mathematics, GUI code, server concurrency, or offline processing. Shared code remains in scope when a real-time callback reaches it. Check a host-specific offline-rendering contract before treating that mode as non-real-time.
Core Constraints
An audio callback has bounded work only in the context of its host contract. Inspect transitive callees, notifications, payload copies, and final destruction. Prove that shared-memory access, state publication, storage reuse, aliases, and required output samples are legal. Preserve released identities, automation meaning, and host transitions. A race detector gives evidence about exercised access patterns; it does not measure deadline compliance.
Read the Callback Contract First
Record these facts before choosing an implementation or review conclusion:
- The host API, lifecycle phase, symbolic thread, and any render workers.
- Buffer layouts, sample formats, aliases, lifetimes, legal block sizes, and required output behavior.
- Pending-event and process-status obligations, including reset, flush, and deactivation.
- Whether processing is real-time or an explicitly supported offline mode.
Use the downstream project's existing conventions to record relevant entry points and boundaries. Do not require a new thread annotation on every function.
Workflow
- Establish whether the request is a review, plan, or authorized implementation. In review and plan modes, produce findings or proposed checks without editing the downstream project, installing tools, running mutation experiments, committing, publishing, or automatically invoking companion skills that perform such actions. Existing authorization governs implementation and experiment actions; do not ask again for actions already authorized.
- Map the changed callback call graph, lifecycle, shared storage, and host-facing transitions.
- Read the essential checklist, then select the detailed references that answer the remaining questions.
- Record protocol assumptions, source and toolchain scope, capacity and work bounds, and failure policies.
- For authorized implementation or experiments, use an instrument and a positive control suited to the claim. For a review, distinguish observed evidence from proposed checks.
- Report what remains unverified, including paths, hosts, workers, loading arrangements, and tools that were not exercised.
What ships with it
9 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.
- references/comprehensive/audio-thread-rules.md 13 KB
- references/comprehensive/events-and-timing.md 8.4 KB
- references/comprehensive/lock-free-buffers.md 8.2 KB
- references/comprehensive/memory-ordering.md 6.5 KB
- references/comprehensive/parameters-and-state.md 8.7 KB
- references/comprehensive/the-pure-core-seam.md 4.7 KB
- references/comprehensive/verifying-concurrency.md 9.5 KB
- references/essential/checklist.md 4.4 KB
- references/essential/rule-to-evidence.md 5.7 KB
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.
- 1mo ago Changed · +1 lines · +17 tokens per session d3ec1a045a68
- 2mo ago Changed · -5 lines · -70 tokens per session 210dec6b39ef
- 2mo ago First seen · 67 lines · 108 tokens per session scan A 3234fad9e5de
write-realtime-audio-code is a skill published in the GitHub repository cboone/agent-harness-plugins (3 stars, last pushed 5d ago), licensed MIT. It adds 55 tokens to every session and 1,076 once invoked, about $0.0002 per session on Opus 5.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-09-17.
write-realtime-audio-code compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| write-realtime-audio-codecboone/agent-harness-plugins | Skill | 3 | 5d ago | MIT | A | 55 | Claude Code |
| chat-complex-documentsvellum-ai/vellum-assistant | Skill | 1.5k | 6d ago | MIT | A | 90 | Claude Code, Codex |
| tui-migrate-setupwarpdotdev/warp | Skill | 66k | today | AGPL-3.0 | B | 75 | Claude Code, Codex |
| agent-qa-testingvibeeval/vibecosystem | Skill | 554 | 19d ago | MIT | A | 58 | Claude Code, Codex |
| sync-local-reposvinta/hal-9000 | Skill | 144 | today | MIT | A | 38 | Claude Code, Codex |
| bootstrap-prdjoshukraine/dotfiles | Skill | 430 | 7d ago | MIT | A | 25 | Claude Code |
| talk-stage1-extractFlorianBruniaux/claude-code-plugins | Skill | 47 | today | MIT | A | 64 | Claude Code |