AirPods 3 Head Tracking on Linux in an Afternoon: Claude Code Sent Agents Digging and Cracked What Nobody Had Before
- Level Advanced
- Setup1–3 hrs (estimated)
- Evidence Some evidence
- CostNot stated in source
- No-codeNo
What did they do with Claude Code?
He wanted to control his mouse with his AirPods 3 on Linux using their spatial-audio gyro, but every open-source project said AirPods 3 weren't supported. In one afternoon with Claude Code, after many failed tries, he told it to send agents to dig through other projects in the background. One found the answer in iOS framework code: AirPods 3 use a different protocol than the Pro models, and Linux was hiding the sensors because of a Bluetooth packet-size setting. Once fixed, they streamed at about 200 Hz. Claude wrote most of the code; he tested with the real AirPods and made the calls. He shared the code as a free repo.
How it went
Reddit r/ClaudeAI post by u/Matteocean (Nov 5, 2026 UTC): AirPods 3 head tracking on Linux; Claude Code background agents found the protocol in iOS framework code; Linux hid the sensors due to a Bluetooth packet size setting; ~200 Hz streaming; free GitHub repo (mousepods) linked. Reverse-engineering Bluetooth devices takes many failed tries; budget time and keep the person with the hardware in charge of testing
Worth knowing
- Reddit r/ClaudeAI post by u/Matteocean (Nov 5, 2026 UTC): AirPods 3 head tracking on Linux; Claude Code background agents found the protocol in iOS framework code; Linux hid the sensors due to a Bluetooth packet size setting; ~200 Hz streaming; free GitHub repo (mousepods) linked.
- Reverse-engineering Bluetooth devices takes many failed tries; budget time and keep the person with the hardware in charge of testing.
Prompt
Cleaned version rewritten from the source — not a direct quote.
I want to read [sensor data] from my [device] on [OS], but existing projects say it isn't supported. Search open-source projects and public docs for how this device or similar ones send that data. Run parallel searches in the background if you can. Propose the smallest test that proves we can receive the data, then help me build it step by step. I'll test with the real device and report back each time.
Recommended
Try it in Grok Bot
Originally done with Claude Code; Grok Bot can hand this kind of deep coding job to Claude Code or Codex on its computer, or work through it itself.
- Copy the prompt (button below).
- Open Grok Bot chat and paste it. Replace any [bracketed] placeholders.
- Connect the listed tools (as needed) as connectors when Grok Bot asks.
- If the task repeats, ask: "Make this a daily routine."
Alternatives: the same prompt works in Claude Code, Claude, ChatGPT Agent, OpenClaw.
Set it up
Stack: Claude Code
- Read the original source for full context.
- Connect the tools your agent needs.
- Paste the prompt and replace [bracketed] placeholders.
- Run once manually and check the output before scheduling it.
Generic suggested steps, not from the source.
Evidence
Reddit r/ClaudeAI post by u/Matteocean (Nov 5, 2026 UTC): AirPods 3 head tracking on Linux; Claude Code background agents found the protocol in iOS framework code; Linux hid the sensors due to a Bluetooth packet size setting; ~200 Hz streaming; free GitHub repo (mousepods) linked. Reverse-engineering Bluetooth devices takes many failed tries; budget time and keep the person with the hardware in charge of testing (as of 2026-11-05)
Source: Reddit · 2026-11-05 · Verified by us: not yet · Report broken or outdated