Borrowing it
Nothing to install: this file belongs to mitra42/frugal-iot. 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/mitra42/frugal-iot/main/CLAUDE.mdgit clone --depth 1 https://github.com/mitra42/frugal-iotWrote 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/mitra42/frugal-iot/claude-md)<a href="https://agentmods.dev/instructions/mitra42/frugal-iot/claude-md"><img src="https://agentmods.dev/badge/instructions/mitra42/frugal-iot/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/mitra42/frugal-iot/claude-md"><img src="https://agentmods.dev/badge/instructions/mitra42/frugal-iot/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.41166 | $0.41166 |
| Opus 5.5 | $0.16466 | $0.16466 |
| Sonnet 5.5 | $0.08233 | $0.08233 |
| Haiku 4.5 | $0.04117 | $0.04117 |
Grade A, and why
frugal-iot 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 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 — 2,456 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Frugal-IoT Library
A platform for affordable, easily built sensor networks running on ESP32/ESP8266 microcontrollers. Library version: 2.0.0. MIT licence. Author: Mitra Ardron.
Wiki: https://github.com/mitra42/frugal-iot/wiki Repo: https://github.com/mitra42/frugal-iot
Compatibility
Every example .ino file must work in both:
- Arduino IDE — open the
.inodirectly; dependencies installed via Library Manager - PlatformIO — referenced via
lib_deps = Frugal-IoT@^2.0.0inplatformio.ini
Each example directory contains a platform.h file alongside the .ino. This file is
auto-generated from the example's platformio.ini by running scripts/prerelease.bash
(which calls scripts/generate_platform_h.py). It converts -D FLAG=value build flags into
#define statements and wraps board-specific defines in #ifdef ARDUINO_BOARD_NAME guards.
- PlatformIO reads flags directly from
platformio.ini;platform.his not used. - Arduino IDE picks
platform.hup because_settings.hincludes it whenPLATFORMIOis undefined — the.inodoes not need to (and on ESP8266 could not; see below).
Do not hand-edit platform.h or esp8266/<sketch>.ino.globals.h. Do not regenerate them
during development either — don't run scripts/prerelease.bash or generate_platform_h.py after
changing platformio.ini. They are rebuilt at release time; regenerating them in between only
clutters the repo with diffs. Leave them stale.
arduino_compile.bash (below) regenerates platform.h as a side effect. If you use it, restore the
generated files afterwards (git checkout -- 'examples/*/platform.h' 'examples/*/esp8266/') so
they don't end up in a commit.
Diagnosing someone else's setup: scripts/frugal_iot_doctor.py
A single standard-library Python file (3.6+) meant to be sent to a user and run in their
project or sketch folder; it only reads, and prints OK/INFO/WARN/FAIL lines with a fix under each.
It runs the PlatformIO checks when there is a platformio.ini, the Arduino IDE checks when there is
a .ino or neither, and both in an example folder, which has both. Each check is a failure seen
in beta testing - src_dir = . with a clone in lib/ (every symbol defined twice), a lib_deps
spec that lib/'s copy does not satisfy, a dependency that failed to install once and is never
retried, two copies of the library in the sketchbook, #define in build_opt.h. It also checks
the uncommitted settings files - platformio-secrets-local.ini, platformio-local.ini,
platform-secrets-local.h - for being missing, misnamed (.ini.txt), still holding the template's
placeholder, or setting one key in both *-local.ini files. It reports whether the enrolment
secret is set and never prints it, since the output is pasted into chats; keep it that way.
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 Changed · +33 lines · +654 tokens per session e5fecd0ae039
- 5d ago Changed · +82 lines · +1,760 tokens per session f331422191d2
- 7d ago Changed · +11 lines · +254 tokens per session 75d5fdf439b9
- 10d ago Changed · +3 lines · +146 tokens per session 3c04ecb74f9d
- 13d ago Changed · +137 lines · +2,635 tokens per session 55f3c1a77779
- 26d ago Changed · +21 lines · +419 tokens per session 612b1503b62e
- 28d ago Changed · +38 lines · +799 tokens per session af25afe5834d
- 1mo ago Changed · +46 lines · +995 tokens per session 1b5258208738
- 1mo ago Changed · +55 lines · +1,179 tokens per session 443e3b4d5f9e
- 1mo ago First seen · 2,030 lines · 32,325 tokens per session scan A f7a1ce4db3f3
frugal-iot CLAUDE.md is an instructions file published in the GitHub repository mitra42/frugal-iot (11 stars, last pushed 3d ago), licensed MIT. It adds 41,166 tokens to every session, about $0.1647 per session on Opus 5.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-31.
frugal-iot CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| frugal-iot CLAUDE.mdmitra42/frugal-iot | Instructions file | 11 | 3d ago | MIT | A | 41,166 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,086 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |