WireStudio CLAUDE.md

WireStudio CLAUDE.md is an instructions file for coding agents from moellere/WireStudio. It costs 511 tokens per session, scanned A, original, MIT.

A set of instructions for editing the WireStudio code repository, covering its writing style, coding rules, architecture, and library files.

In plain words
What is it for?
Use it when writing, reviewing, or refactoring WireStudio code and its generated files.
Why use it?
It gives the coding agent the project’s working conventions so changes fit the repository and avoid unwanted patterns.

Instructions file

Install

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.

agentmods
npx agentmods add instructions/moellere/wirestudio/claude-md
Clone the repo
git clone --depth 1 https://github.com/moellere/WireStudio

Wrote 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.

agentmods badge for WireStudio CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/moellere/wirestudio/claude-md.svg)](https://agentmods.dev/instructions/moellere/wirestudio/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/moellere/wirestudio/claude-md"><img src="https://agentmods.dev/badge/instructions/moellere/wirestudio/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 511 This file is loaded in full into every session.
When invoked 511 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00511 $0.00511
Opus 5 $0.00255 $0.00255
Sonnet 5 $0.00102 $0.00102
Haiku 4.5 $0.00051 $0.00051

Measured 3d ago against content hash 1a7ac4d3c02a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

WireStudio 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 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.

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.

CLAUDE.md · 49 lines

How it starts

The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md — working conventions

Notes for Claude (and humans) when editing this repo.

Voice

  • Concise. No marketing language, no emojis in code, comments, commits, PRs.
  • Prefer plain prose over headers in short replies.
  • State decisions and tradeoffs directly. Don't hedge.

Code

  • Default to no comments. Add one only when the why is non-obvious (hidden constraint, workaround, surprising invariant).
  • No "added for X" / "used by Y" comments. That belongs in commit messages.
  • No backwards-compat shims, dead-code stubs, or unused-arg renames. Delete it.
  • No premature abstraction. Three similar lines beat a wrong helper.
  • Validate at boundaries (file load, CLI input, future API). Trust internal callers.

Architecture

  • design.json is the single source of truth. Generators are pure functions of design.json + library files. No artifact → document round-trips.
  • Conversation history (when the agent lands in 0.2) lives in sessions/<id>.jsonl, never in design.json.
  • Permissive mode: electrical/CSP violations surface in warnings[], do not block generation. (Strict mode is a later toggle.)
  • Secrets never go in design.json. Reference fleet-for-esphome's secrets.yaml via !secret name.

Library files

  • library/components/<id>.yaml carries electrical metadata that ESPHome doesn't (pins, passives, current draw, pull-up requirements) plus a Jinja2 ESPHome YAML template.
  • library/boards/<id>.yaml carries board pinout, rails, and the PlatformIO board key.

Tests

  • Generator output is pinned to goldens in tests/golden/.
  • When a golden changes intentionally, regenerate via the CLI and commit the new file in the same diff as the code change.

TODOs

Use # TODO(0.x): to mark deferred work tied to a phase from START.md. Plain # TODO: is fine for unscoped notes.

What not to do

  • No new top-level documentation files unless explicitly asked.
  • No splitting wirestudio/ into more packages until 0.2 needs them.
  • No vendoring upstream ESPHome source. Schema-derived data only.

Read the full file on GitHub · 49 lines

Changes

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.

  1. 3d ago First seen · 49 lines · 511 tokens per session scan A 1a7ac4d3c02a

Subscribe to this mod's changes

WireStudio CLAUDE.md is an instructions file published in the GitHub repository moellere/WireStudio (26 stars, last pushed 4d ago), licensed MIT. It adds 511 tokens to every session, about $0.0026 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.

Related

Other instructions, from other repositories