FluidAudio CLAUDE.md

FluidAudio CLAUDE.md is an instructions file for coding agents from FluidInference/FluidAudio. It costs 2,543 tokens per session, scanned A, original, Apache-2.0.

Development instructions for FluidAudio, a Swift framework for local audio processing on Apple devices. It covers speaker identification, speech-to-text, and detecting when speech is present, using Core ML models.

In plain words
What is it for?
Developing or testing FluidAudio's audio features, handling thread safety with Swift's proper synchronization tools, and working with real Core ML models and model uploads.
Why use it?
It sets safety and correctness rules, including avoiding unsafe concurrency shortcuts and fake models or test audio.

Instructions file

Install

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.

agentmods
npx agentmods add instructions/fluidinference/fluidaudio/claude-md
Clone the repo
git clone --depth 1 https://github.com/FluidInference/FluidAudio

Wrote 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.

agentmods badge for FluidAudio CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/fluidinference/fluidaudio/claude-md.svg)](https://agentmods.dev/instructions/fluidinference/fluidaudio/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/fluidinference/fluidaudio/claude-md"><img src="https://agentmods.dev/badge/instructions/fluidinference/fluidaudio/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,543 This file is loaded in full into every session.
When invoked 2,543 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.02543 $0.02543
Opus 5 $0.01272 $0.01272
Sonnet 5 $0.00509 $0.00509
Haiku 4.5 $0.00254 $0.00254

Measured 4d ago against content hash 029c5322c0b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

FluidAudio CLAUDE.md 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.

CLAUDE.md · 201 lines

How it starts

The opening of the file, as written. The whole thing — 201 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

FluidAudio is a Swift framework for local, low-latency audio processing on Apple platforms. It provides speaker diarization, automatic speech recognition (ASR), and voice activity detection (VAD) through open-source models converted to Core ML.

Critical Development Rules

NEVER USE @unchecked Sendable

  • Always implement thread-safe code with proper synchronization
  • Use actors, @MainActor, or proper locking mechanisms instead
  • If you encounter Sendable conformance issues, fix them properly

NEVER CREATE DUMMY MODELS OR SYNTHETIC DATA

  • Do not create dummy, mock, or fake models for testing or development
  • Do not generate synthetic audio data for testing
  • Always use the actual models required by the code
  • If model authentication is required, inform the user rather than creating dummy versions

HUGGINGFACE UPLOADS

  • Uploading models, datasets, and files to HuggingFace is allowed
  • Creating HuggingFace repos is allowed
  • Confirm the target repo with the user before uploading

MODEL OPERATIONS - CONSULT BEFORE IMPLEMENTING

  • When asked to merge, convert, or modify models:
    • If it seems impossible or there are significant objections, consult the user first
    • If they say proceed, do it immediately without further objections
  • Do not create placeholder models or implement alternatives without asking

User Preferences

  • Never start responses with positive re-affirming text ("You're absolutely right!", "Good change!", etc.)
  • Get straight to the point with technical facts
  • For debugging, use print statements and delete them at the end when instructed
  • Never create fallbacks or simplified solutions that don't actually solve the problem
  • When asked to implement something specific, do it first before explaining why it might not be optimal
  • Don't over-do things that aren't asked

Development Guidelines

Read the full file on GitHub · 201 lines

Changes

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.

  1. 4d ago First seen · 201 lines · 2,543 tokens per session scan A 029c5322c0b9

Subscribe to this mod's changes

FluidAudio CLAUDE.md is an instructions file published in the GitHub repository FluidInference/FluidAudio (2,722 stars, last pushed 3d ago), licensed Apache-2.0. It adds 2,543 tokens to every session, about $0.0127 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-30.