CroPDUster: Instructions file for Claude Code

CLAUDE.md

CroPDUster CLAUDE.md is an instructions file for Claude Code from 9elements/CroPDUster. It costs 2,945 tokens per session, scanned A, original, BSD-3-Clause.

Project instructions for a Rust program running on a Raspberry Pi Pico, a small microcontroller board. The program controls a power distribution unit, a device that manages electrical power, through a web interface.

In plain words
What is it for?
Use it when developing or building the Pico firmware, including its web-based GPIO controls and over-the-air updates.
Why use it?
It gives a coding agent the project structure and the commands needed to build the bootloader, application, and combined firmware.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is 9elements/CroPDUster's own configuration. It tells Claude Code how to work on CroPDUster itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything CroPDUster configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 9elements/CroPDUster. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/9elements/CroPDUster/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/9elements/CroPDUster

Made for: Claude Code.

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 CroPDUster CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/9elements/cropduster/claude-md/github.svg)](https://agentmods.dev/instructions/9elements/cropduster/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/9elements/cropduster/claude-md"><img src="https://agentmods.dev/badge/instructions/9elements/cropduster/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.

agentmods 80×15 button for CroPDUster CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/9elements/cropduster/claude-md"><img src="https://agentmods.dev/badge/instructions/9elements/cropduster/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,945 This file is loaded in full into every session.
When invoked 2,945 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.02945 $0.02945
Opus 5.5 $0.01178 $0.01178
Sonnet 5.5 $0.00589 $0.00589
Haiku 4.5 $0.00295 $0.00295

Measured 2mo ago against content hash bd7b186784a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

CroPDUster CLAUDE.md scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -u admin:admin http://192.168.1.100/api/status
CLAUDE.md · 305 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

This is a Rust embedded project for the Raspberry Pi Pico (RP2040) that implements a PDU (Power Distribution Unit) controller with the following features:

  1. Bootloader (bootloader/): Uses embassy-boot-rp to manage firmware updates with flash partitioning
  2. Application (application/): HTTP server with web-based GPIO control and OTA firmware updates

The bootloader enables safe over-the-air firmware updates by maintaining separate ACTIVE and DFU (Device Firmware Update) partitions. The application provides a complete web interface for GPIO control and supports firmware uploads via HTTP.

Build Commands

Using cargo xtask (Recommended)

# Build everything (bootloader + application)
cargo xtask build

# Build individual components
cargo xtask build --bootloader            # Build bootloader only
cargo xtask build --application           # Build main PDU controller application
cargo xtask build --application --w6100   # Build main PDU controller application for WIZnet W6100

# Produce combined UF2 (build + combine)
cargo xtask dist
# Produce combined UF2 (build + combine) for WIZnet W6100 variant
cargo xtask dist --w6100

# Flash to device
cargo xtask flash                         # Flash combined UF2 via BOOTSEL drag-and-drop
cargo xtask flash --w6100                 # Flash combined UF2 via BOOTSEL drag-and-drop (for WIZnet W6100)
cargo xtask flash --bootloader            # Flash bootloader only
cargo xtask flash --application           # Flash application only
cargo xtask flash --probe                 # Flash via probe-rs with RTT logging (recommended for dev)
cargo xtask flash --ota 192.168.1.100     # OTA upload to running device

# Utility commands
cargo xtask clean        # Clean all build artifacts
cargo xtask check-tools  # Verify all required tools are installed

All build outputs are placed in the build/ directory:

  • combined.uf2 - Recommended - Single file with bootloader + application (~280KB)
  • bootloader.uf2 - Bootloader firmware (16KB)
  • application.uf2 - Main PDU controller application (168KB)

Read the full file on GitHub · 305 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. 2mo ago First seen · 305 lines · 2,945 tokens per session scan A bd7b186784a6

Subscribe to this mod's changes

CroPDUster CLAUDE.md is an instructions file published in the GitHub repository 9elements/CroPDUster (5 stars, last pushed 4mo ago), licensed BSD-3-Clause. It adds 2,945 tokens to every session, about $0.0118 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

CroPDUster CLAUDE.md compared with instructions from other repositories

CroPDUster CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
CroPDUster CLAUDE.md9elements/CroPDUsterInstructions file54mo agoBSD-3-ClauseA2,945Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,086GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file280k2d agoMITA4,325Codex, OpenCode