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/gaelic-ghost/socket/coreaudio-modernization-repair-workflownpx 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.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.00082 | $0.01499 |
| Opus 5 | $0.00041 | $0.00749 |
| Sonnet 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 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.
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.
- 5d 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 (7 stars, last pushed 9d ago), licensed Apache-2.0. It adds 82 tokens to every session and 1,499 once invoked, about $0.0004 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-08-31.
Other skills, from other repositories
app-store-optimization
Improves visibility and conversion in the App Store and Google Play — metadata, keywords, screenshots, ratings, and the listing experience that turns an impression into an install. Use this to audit or optimize an app listing, plan a launch listing, diagnose poor install conversion, or improve store search visibility.
flutter-ui
Build Flutter UI from Figma MCP or image input. Scans src for design tokens (colors, sizes, text styles), existing components, and naming conventions before writing a single line of code. Never hard-codes values.
flutter-dart-code-review
Library-agnostic Flutter/Dart code review checklist covering widget best practices, state management patterns (BLoC, Riverpod, Provider, GetX, MobX, Signals), Dart idioms, performance, accessibility, security, and clean architecture.
pipeline
Use when the user wants a feature idea taken end-to-end in one autonomous run — phrases like "run the whole pipeline", "take this feature from idea to finished branch", "brainstorm then build it autonomously", "do everything from idea to merged", "implement all phases without stopping". Triggers when they want…
craft
Use when a product idea is still vague and needs to become a clear definition of what to build — "let's craft an app like X", "help me define what I actually want", "clarify this idea before we plan it". Also use before planning or implementation when requirements, UX, domain behaviour, or technical preferences have…
chief-financial-officer
Owns the financial position: planning, budgeting, forecasting, unit economics, cash, and the numbers the business is run and reported on. Use this to build or challenge a budget, model a decision's financial consequence, assess unit economics or runway, evaluate an investment or spend request, set financial controls…