Borrowing it
Nothing to install: this file belongs to mrmidi/ASFireWire. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mrmidi/ASFireWire/main/CLAUDE.mdgit clone --depth 1 https://github.com/mrmidi/ASFireWireWrote 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/instructions/mrmidi/asfirewire/claude-md)<a href="https://agentmods.dev/instructions/mrmidi/asfirewire/claude-md"><img src="https://agentmods.dev/badge/instructions/mrmidi/asfirewire/claude-md/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/instructions/mrmidi/asfirewire/claude-md"><img src="https://agentmods.dev/badge/instructions/mrmidi/asfirewire/claude-md.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.07167 | $0.07167 |
| Opus 5.5 | $0.02867 | $0.02867 |
| Sonnet 5.5 | $0.01433 | $0.01433 |
| Haiku 4.5 | $0.00717 | $0.00717 |
Grade A, and why
ASFireWire CLAUDE.md scanned grade A with 1 finding 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 21d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
**Check references before implementing anything wire-observable** — not just device-specific audio features. This covers OHCI mechanism (DMA/descriptors/contexts), bus policy (reset/gap/IRM/BM/topology), protocol logic ( How it starts
The opening of the file, as written. The whole thing — 305 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) and other ai agents when working with code in this repository.
Project Overview
ASFW is a macOS DriverKit-based FireWire (IEEE 1394) driver restoring FireWire functionality removed in macOS Tahoe (26). It uses PCIDriverKit for user-space OHCI controller access, AudioDriverKit for CoreAudio integration, and SCSIControllerDriverKit for SBP-2 mass storage (SCSI HBA, in all builds since v0.3.0). TODO: MIDIDriverKit.
Two components:
- ASFWDriver/ — C++23 DriverKit driver extension (dext)
- ASFW/ — Swift 6 control app and installer (required to install the dext)
Build Commands
project.yml is the source of truth. ASFW.xcodeproj is generated by XcodeGen
and is committed only because Xcode Cloud requires the project to be present in
source control. Never edit the generated project or pbxproj manually; change
project.yml and run xcodegen generate (./build.sh does it automatically
when xcodegen is installed). After adding/removing/renaming source files or build
settings, update project.yml, regenerate, and commit the updated project
alongside it. CI asserts that ASFW.xcodeproj matches project.yml on every run.
(The local-only ADKVirtualAudioLab/, when present, has its own separate project.yml.)
Every build setting must live in project.yml — anything set only in the
generated project is lost on the next regeneration.
Primary build (Xcode — required for signing and producing .dext):
./build.sh # Quiet build (errors/warnings only)
./build.sh --verbose # Full xcodebuild output
./build.sh --no-bump # Skip version bump
./build.sh --config Release # Release build
Generate compile_commands.json (for clangd, static analysis):
./build.sh --commands
# or via CMake:
cmake -S . -B build && cmake --build build --target compile_commands
C++ unit tests (no hardware/DriverKit needed):
./build.sh --test-only # Build + run all C++ tests
./build.sh --test-only --test-filter Pattern # Run tests matching a regex
# Or directly with CMake/CTest:
cmake -S tests -B build/tests_build
cmake --build build/tests_build -- -j$(sysctl -n hw.ncpu)
ctest --test-dir build/tests_build -V
ctest --test-dir build/tests_build -V -R TopologyManager # single test suite
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.
- 21d ago Changed · -12 tokens per session 0e6ada5af40e
- 22d ago Changed · +3 lines · +66 tokens per session 9ed40e896cdc
- 26d ago Changed · +4 lines · +354 tokens per session abe6f405ebee
- 27d ago Changed · +2 lines · +266 tokens per session c116cfdcf356
- 1mo ago Changed · -1 lines · -17 tokens per session 8ebc4f672c77
- 1mo ago Changed · +3 tokens per session dc6d5217ac24
- 1mo ago Changed · +24 tokens per session e808cd7cef37
- 1mo ago Changed · +9 lines · +296 tokens per session deb4a22501ce
- 2mo ago Changed · -1 lines · -91 tokens per session f2f8714a4734
- 2mo ago First seen · 289 lines · 6,278 tokens per session scan A 9bb61b01e546
ASFireWire CLAUDE.md is an instructions file published in the GitHub repository mrmidi/ASFireWire (204 stars, last pushed 6d ago), licensed Apache-2.0. It adds 7,167 tokens to every session, about $0.0287 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
ASFireWire CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ASFireWire CLAUDE.mdmrmidi/ASFireWire | Instructions file | 204 | 6d ago | Apache-2.0 | A | 7,167 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |