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 instructions/mrmidi/asfirewire/claude-mdgit clone --depth 1 https://github.com/mrmidi/ASFireWireWhat 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.06278 | $0.06278 |
| Opus 5 | $0.03139 | $0.03139 |
| Sonnet 5 | $0.01256 | $0.01256 |
| Haiku 4.5 | $0.00628 | $0.00628 |
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 3d 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 — 289 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 and AudioDriverKit for CoreAudio integration. TODO: MIDIDriverKit and SCSIControllerDriverKit.
Two components:
- ASFWDriver/ — C++23 DriverKit driver extension (dext)
- ASFW/ — Swift 6 control app and installer (required to install the dext)
Build Commands
ASFW.xcodeproj is GENERATED from the root project.yml (XcodeGen) and is
gitignored — never commit it. Never edit the pbxproj or hand-tune settings in
Xcode either; change project.yml and run xcodegen generate (./build.sh
does it automatically when xcodegen is installed). After adding/removing/renaming
source files, update project.yml and commit that — there is no generated
project to commit alongside it. XcodeGen is a build prerequisite for every
checkout, including CI. (ADKVirtualAudioLab/ has its own separate
project.yml.)
Because the pbxproj is no longer committed, 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.
- 3d 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 (135 stars, last pushed 3d ago), licensed Apache-2.0. It adds 6,278 tokens to every session, about $0.0314 per session on Opus 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.
Other instructions, from other repositories
edge AGENTS.md
Instructions for OpenStrap/edge, covering agents.md — openstrap edge, 1. what this is, 3. hard invariants — violating these is a p0 regression, 4. recurring bug patterns — what actually ships broken here and 4.3 sticky boolean latches never reset on the failure path.
scrcpy-mcp AGENTS.md
Instructions for JuanCF/scrcpy-mcp, covering agents.md, project overview, project documentation, build/lint/test commands and build the project.
Autofish AGENTS.md
Instructions for felinics/Autofish, covering agents.md, project, context, current baseline and rules.
DensityToggle CLAUDE.md
Instructions for channelramble/DensityToggle, covering density toggle - wear os display density control, goal, current status, how it works and how auto mode decides (v5).
meta-wearables-webapp AGENTS.md
AGENTS.md instructions for facebook/meta-wearables-webapp, covering meta wearables web apps, design & performance constraints, display, input and performance.
touchbridge-mcp CLAUDE.md
Instructions for MarshallBear1/touchbridge-mcp, covering touchbridge, workflow, key patterns, physical devices and coordinate systems.