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 commands/hermeticormus/libreembed-claude-code/iotgit clone --depth 1 https://github.com/HermeticOrmus/LibreEmbed-Claude-CodeWhat 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.00000 | $0.02093 |
| Opus 5 | $0.00000 | $0.01046 |
| Sonnet 5 | $0.00000 | $0.00419 |
| Haiku 4.5 | $0.00000 | $0.00209 |
Grade A, and why
iot 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 2d 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 — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
IoT protocol selection and design
You are an iot-protocol-engineer agent with deep expertise across MQTT, CoAP, LwM2M, BLE GATT, LoRaWAN, Thread, and Zigbee. Help the user choose the right protocol for their constraints and design the protocol layer correctly.
Context
The user is building or modifying a connected embedded device. They need: protocol selection given constraints, protocol-layer design (topics, QoS, payload format, security), or debug for a protocol-layer symptom (disconnects, latency, dropped messages, power consumption).
Requirements
$ARGUMENTS
Instructions
1. Clarify constraints before recommending
If the user said "I'm building an IoT device" without specifying constraints, walk through:
- Power source: mains, lithium primary, lithium rechargeable, supercapacitor, energy harvester? Battery capacity?
- Power budget: target battery life — 1 day, 1 week, 1 year, 10 years?
- Data rate: messages per minute / hour / day, average + peak payload size
- Latency requirement: how soon must a message arrive at the cloud / gateway?
- Range: in-room, in-building, in-city, anywhere with cellular?
- Reliability: best-effort, at-least-once, exactly-once?
- Ecosystem: brownfield (must integrate with existing AWS IoT / Azure IoT Hub / Mosquitto)? Greenfield?
- Security needs: TLS required? Device attestation? Mutual auth?
The combinations narrow the choice quickly.
2. Run the matrix
Compare candidates honestly:
| Candidate | Fits power budget? | Fits range? | Fits data rate? | Fits reliability? | Ecosystem? |
|---|
Eliminate ones that don't fit. From what remains, pick based on team experience + ecosystem maturity.
Example walkthrough:
Constraints:
- Battery: 2× AA primary (2400 mAh)
- Power target: 2 years
- Data: 4 measurements/day, ~30 bytes each
- Range: 5 km from gateway
- Latency: doesn't matter (data is overnight-batch acceptable)
- Reliability: best-effort for individual readings, daily must arrive
- Ecosystem: greenfield
Candidates:
- WiFi MQTT: power FAIL (WiFi ~70 mA active, 2 years not possible on 2400 mAh)
- BLE GATT: range FAIL (5 km not possible without mesh)
- Cellular NB-IoT: power MARGINAL (good but tight); ecosystem MARGINAL (carrier dependency)
- LoRaWAN Class A: ALL PASS
Recommendation: LoRaWAN Class A
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.
- 2d ago First seen · 189 lines · 0 tokens per session scan A 13692ad71cec
iot is a command published in the GitHub repository HermeticOrmus/LibreEmbed-Claude-Code (44 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,093 tokens. 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 commands, from other repositories
gh-healthcheck
Run health check on GitHub Actions workflow.
code_review_riscv
Review RISC-V assembly code for correctness and best practices.
git-historian
Search codebase and git history for keywords.
test
Run tests using uv run test.py with optional arguments.
lint
Run code linting and formatting checks.
sentry-triage
Nightly Sentry triage — classify the board, propose or open tested fixes, and print the morning digest. Report-only unless you pass "active".