Borrowing it
Nothing to install: this file belongs to samr037/iohc-flipper. 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/samr037/iohc-flipper/main/CLAUDE.mdgit clone --depth 1 https://github.com/samr037/iohc-flipperWrote 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/samr037/iohc-flipper/claude-md)<a href="https://agentmods.dev/instructions/samr037/iohc-flipper/claude-md"><img src="https://agentmods.dev/badge/instructions/samr037/iohc-flipper/claude-md.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.1 | $0.02512 | $0.02512 |
| Opus 5 | $0.01256 | $0.01256 |
| Sonnet 5 | $0.00502 | $0.00502 |
| Haiku 4.5 | $0.00251 | $0.00251 |
Grade A, and why
iohc-flipper 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 8d 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 — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md — iohc-flipper
Context for future Claude Code sessions in this project. Read once at session start. Cross-reference with PROGRESS.md for the full historical trail.
What this is
A Flipper Zero FAP that speaks io-homecontrol (868 MHz, Velux + Somfy + others). User-driven RE / interop research on hardware the user owns. Phase 6 is achieved as of 2026-05-14: cross-vendor pairing + control works in software, no external programmer needed.
Hard constraints (from the user's brief)
These override defaults. Read first.
- Don't auto-advance phases. Each phase ends with the user physically verifying on hardware. Wait for explicit go-ahead before starting the next phase.
- For any change to ISR or register-init code, explain the timing budget and worst-case execution path before writing the code. CC1101 SPI timing is fragile; we burned a day on a chip-ready-wait omission.
- For every protocol decision cite the source. Captured frames, official docs, or upstream RE projects. Never guess byte semantics.
- Don't guess. Capture first, then reason.
- First action of every session: read PROGRESS.md. It carries the full context window of decisions and gotchas from prior sessions.
Code map
iohc_flipper/src/
├── iohc_app.c # Entry, view dispatcher, consumer thread, callbacks
├── radio/
│ └── radio_cc1101.c # SPI driver, register init, RX/TX state machine
├── phy/
│ └── phy_rx.c # FIFO drain → frame assembly with sync alignment
├── iohc/
│ ├── frame_parse.c # Bytes → IohcParsedFrame (Ctrl/dst/src/cmd/payload/seq/MAC/CRC)
│ ├── frame_build.c # Build 1W frame + UART-wrap + bit-pack for FIFO
│ ├── crc.c # CRC-16/KERMIT
│ ├── hmac_1w.c # AES-128-ECB based HMAC for 1W suffix
│ ├── aes.c # AES-128 primitives (CBC/ECB/CFB)
│ └── key_encrypt.c # iohc_wrap_install_key (cmd 0x30 enc_key field)
├── state/
│ ├── identity.c # Global Flipper identity (src+key+seq) on SD
│ ├── device_book.c # Per-shutter identities, binary format v2 + JSON export
│ └── tx_runner.c # High-level send_button / send_pair, vendor-mapped man_id
├── ui/
│ ├── view_main_menu.c
│ ├── view_sniffer.c # Live raw frame display
│ ├── view_capture.c # SRC-indexed capture (vendor only trusted on cmd 0x00)
│ ├── view_device_list.c # Saved shutters with [S]/[V]/[?] prefix
│ ├── view_device_actions.c
│ └── view_identity.c
└── log/
└── log.c # Per-session CSV + raw .bin write
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.
- 8d ago First seen · 199 lines · 2,512 tokens per session scan A ddef4318ff4b
iohc-flipper CLAUDE.md is an instructions file published in the GitHub repository samr037/iohc-flipper (12 stars, last pushed 3mo ago), licensed MIT. It adds 2,512 tokens to every session, about $0.0126 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.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.