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/tweakoz/orkid/orklev2-coreaudionpx skills add tweakoz/orkid --skill orklev2-coreaudiogit clone --depth 1 https://github.com/tweakoz/orkidWrote 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/tweakoz/orkid/orklev2-coreaudio)<a href="https://agentmods.dev/skills/tweakoz/orkid/orklev2-coreaudio"><img src="https://agentmods.dev/badge/skills/tweakoz/orkid/orklev2-coreaudio.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.1 | $0.00068 | $0.00921 |
| Opus 5 | $0.00034 | $0.00461 |
| Sonnet 5 | $0.00014 | $0.00184 |
| Haiku 4.5 | $0.00007 | $0.00092 |
Grade A, and why
orklev2-coreaudio 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.
How it starts
The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Orkid CoreAudio Backend Reference
When answering questions about the CoreAudio backend in orkid, consult the files below. All under ork.lev2/.
Key Files
| Component | File |
|---|---|
| AudioDevice Base | inc/ork/lev2/aud/audiodevice.h |
| CoreAudioDevice | src/aud/coreaudio/CoreAudioDevice.h |
| CoreAudioDevice Impl | src/aud/coreaudio/CoreAudioDevice.cpp |
| AuContext (AudioUnit) | src/aud/coreaudio/au.h, au.cpp |
| I/O Callbacks | src/aud/coreaudio/au_io.cpp |
| Config Flags | inc/ork/lev2/config.h (ENABLE_CORE_AUDIO) |
| Factory | src/aud/audiodevice.cpp |
Architecture
CoreAudioDevice
└─ AuContext
├─ AUGraph (AudioUnit graph)
│ ├─ _inputUnit (HAL input)
│ └─ _outputUnit (HAL output)
├─ _inputProc() → LayerFragment → _inputQueue
└─ _outputProc() ← StereoFragment ← _outputQueue
↑
Singularity synth.compute()
CoreAudioDevice
_the_synth— Singularity synth instance_aucontext— AudioUnit context managing the graph_inputDevList/_outputDevList— enumerated CoreAudio devices_actual_input_channels— resolved input channel count
Startup Flow
- Get device info for input/output
- Create Singularity synth instance
- Create AuContext
_aucontext->Init()→ build AudioUnit graph_aucontext->Start()→ begin audio processing
AuContext
| Member | Description |
|---|---|
_graph |
AUGraph (AudioUnit processing graph) |
_inputUnit / _outputUnit |
HAL AudioUnits |
_inputBuffer |
AudioBufferList for input |
_outputPool / _inputPool |
Object pools for audio fragments |
_outputQueue / _inputQueue |
MpMcBoundedQueue (4096 entries) |
Graph Configurations
setupGraphForInputOnly()— input-only HAL unitsetupGraphForOutputOnly()— output-only HAL unitsetupGraphForIO()— bidirectional I/O
Callbacks (au_io.cpp)
Input Callback (_inputProc)
AudioUnitRender()— pull data from HAL- De-interleave into
LayerFragment - Push to
_inputQueue - Delivered as
AudioInputChunkto consumer
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 · 98 lines · 68 tokens per session scan A d94834a211a3
orklev2-coreaudio is a skill published in the GitHub repository tweakoz/orkid (35 stars, last pushed 23d ago), licensed MIT. It adds 68 tokens to every session and 921 once invoked, about $0.0003 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-09-01.
Other skills, from other repositories
host-pattern
Use when adding a new domain to Nuclear's plugin system, or implementing a host. Covers the host pattern (how player functionality is exposed to plugins), the host interface and API class structure, how hosts are implemented in the player, error handling conventions, and what files to create and modify. Trigger…
creating-components
Use when creating new UI components in packages/ui. Covers component structure, tests, stories, and what to avoid.
writing-docs
Use when writing or editing documentation in packages/docs. Covers Gitbook markdown syntax, special blocks, page structure, and the SUMMARY.md table of contents. Trigger phrases include "write docs", "add documentation", "docs page", "gitbook", "user manual".
writing-plugins
Use when writing, scaffolding, or modifying Nuclear plugins. Covers plugin structure, manifest, entry point, provider types, available APIs, and publishing. Trigger phrases include "create a plugin", "write a plugin", "plugin scaffold", "streaming provider", "metadata provider".
analyzing-linux-elf-malware
Analyze malicious Linux ELF binaries — botnets, cryptominers, ransomware, and rootkits targeting Linux servers, containers, and cloud infrastructure — through static analysis, dynamic tracing, and reverse engineering of x8664 and ARM samples. Use when investigating Linux malware, triaging a suspicious ELF binary…
analyzing-linux-kernel-rootkits
Detect kernel-level rootkits in Linux memory dumps using Volatility3 linux plugins (checksyscall, lsmod, hiddenmodules), rkhunter system scanning, and /proc vs /sys discrepancy analysis to identify hooked syscalls, hidden kernel modules, and tampered system structures.