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 gaelic-ghost/socket --skill coreaudio-modernization-repair-workflowgit clone --depth 1 https://github.com/gaelic-ghost/socketWrote 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/gaelic-ghost/socket/coreaudio-modernization-repair-workflow)<a href="https://agentmods.dev/skills/gaelic-ghost/socket/coreaudio-modernization-repair-workflow"><img src="https://agentmods.dev/badge/skills/gaelic-ghost/socket/coreaudio-modernization-repair-workflow/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/gaelic-ghost/socket/coreaudio-modernization-repair-workflow"><img src="https://agentmods.dev/badge/skills/gaelic-ghost/socket/coreaudio-modernization-repair-workflow.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.00082 | $0.01499 |
| Opus 5.5 | $0.00033 | $0.00600 |
| Sonnet 5.5 | $0.00016 | $0.00300 |
| Haiku 4.5 | $0.00008 | $0.00150 |
Grade A, and why
coreaudio-modernization-repair-workflow 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 3mo 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 — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Core Audio Modernization Repair Workflow
Purpose
Guide low-level Core Audio and Audio Toolbox repair. This skill owns the legacy and escape-hatch boundary: when to keep C APIs, when to isolate them, when to migrate toward AVFAudio, and how to make old callback, pointer, buffer, format, and OSStatus code understandable and safer without erasing the Apple type boundary.
It is not the default audio recommendation when AVFAudio covers the job.
When To Use
- Use this skill when code uses
AudioUnit,AudioQueue,AudioConverter,AudioComponentDescription,AudioStreamBasicDescription,AudioBufferList, render callbacks,OSStatus, unsafe pointers, or archive-era Core Audio patterns. - Use this skill when existing code has opaque
OSStatusfailures, pointer lifetime bugs, callback crashes, hand-rolled format structs, unsafe Swift bridging, or low-level audio code that might be replaceable with AVAudioEngine or AVAudioSession. - Recommend
avaudio-engine-workflowwhen the same job can be modeled as an AVAudioEngine graph orAVAudioUnithost. - Recommend
avfaudio-session-workflowwhen the real issue is audio-session policy, route, permission, or interruption behavior.
Single-Path Workflow
- Classify the low-level audio request:
- Audio Unit hosting or rendering
- Audio Queue playback or recording
- Audio Converter or format conversion
- stream description or buffer layout
OSStatusdiagnosis- callback, pointer, or lifetime repair
- migration to AVFAudio
- Apply the Apple docs gate:
- read current Core Audio, Audio Toolbox, AVFAudio, or Core Audio Types docs first
- use archive docs only to understand legacy code, not to override current guidance
- state the documented behavior or legacy context relied on
- apply
../../shared/references/apple-media-type-ownership.mdbefore hiding Core Audio structures, pointers, callbacks, orOSStatusvalues behind generic Swift wrappers
- Decide retention versus migration:
- keep low-level code only when it exposes needed behavior that AVFAudio does not cover
- wrap retained low-level code behind a narrow boundary with explicit ownership
- migrate to AVAudioEngine, AVAudioUnit, AVAudioFile, AVAudioConverter, or AVAudioSession when current APIs cover the job
- Repair common failure modes:
OSStatuslogged as an integer with no operation or likely cause- callbacks retaining invalid object pointers
- allocation, locking, logging, or actor hops in render callbacks
- mismatched
AudioStreamBasicDescription - unsafe
AudioBufferListmemory ownership AudioComponentDescription,AudioStreamBasicDescription,AudioBufferList,AudioTimeStamp, orOSStatusreplaced with generic structs or errors before the low-level operation remains diagnosable- duplicate low-level and AVFAudio codepaths left behind after modernization
- Return one recommendation with:
- low-level request class
- documented behavior or archive context relied on
- retention or migration decision
- boundary and ownership plan
- repair findings
- validation and handoff expectation
What ships with it
4 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.
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.
- 3mo ago First seen · 114 lines · 82 tokens per session scan A 490f7aa22b3d
coreaudio-modernization-repair-workflow is a skill published in the GitHub repository gaelic-ghost/socket (12 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 82 tokens to every session and 1,499 once invoked, about $0.0003 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-08-31.
coreaudio-modernization-repair-workflow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| coreaudio-modernization-repair-workflowgaelic-ghost/socket | Skill | 12 | 3mo ago | Apache-2.0 | A | 82 | Claude Code, Codex |
| app-store-optimizationcbrock84/headcount | Skill | 2.6k | 3d ago | MIT | A | 64 | Claude Code |
| flutter-screenshotsdatit309/supergraph | Skill | 23 | 9d ago | MIT | A | 68 | Claude Code |
| mobile-agentdatit309/supergraph | Skill | 23 | 9d ago | MIT | A | 46 | Claude Code |
| flutter-uidatit309/supergraph | Skill | 23 | 9d ago | MIT | A | 48 | Claude Code |
| flutter-dart-code-reviewdatit309/supergraph | Skill | 23 | 9d ago | MIT | A | 56 | Claude Code |
| craftkardebadas/claude-plugin | Skill | 3 | 17d ago | Apache-2.0 | A | 83 | Claude Code |