CroPDUster CLAUDE.md

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

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/9elements/cropduster/claude-md
Clone the repo
git clone --depth 1 https://github.com/9elements/CroPDUster
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. 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.02945 $0.02945
Opus 5 $0.01473 $0.01473
Sonnet 5 $0.00589 $0.00589
Haiku 4.5 $0.00295 $0.00295

Measured 2d ago against content hash bd7b186784a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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. 2d 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 1mo ago), licensed BSD-3-Clause. It adds 2,945 tokens to every session, about $0.0147 per session on Opus 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

Other instructions, from other repositories

FastLED GEMINI.md

Gemini CLI instructions for FastLED/FastLED, a project described as: The FastLED library for colored LED animation on Arduino. Please direct questions/requests for help to the FastLED Reddit community: http://fastled.io/r We'd like to use github "issues" just for tracking library bugs / enhancements.

FastLED/FastLED · 9 tokens

kicad-happy GEMINI.md

Instructions for aklofas/kicad-happy, covering kicad-happy, agent guidelines, skills, running analysis and schematic analysis.

aklofas/kicad-happy · 1,207 tokens

brilliant_sdk AGENTS.md

Instructions for brilliantlabsAR/brilliant_sdk, covering brilliant sdk — agent guide, how an app works (the pattern behind everything), minimal reading paths, verify without hardware and testing.

brilliantlabsAR/brilliant_sdk · 1,817 tokens

NeoMind CLAUDE.md

Instructions for camthink-ai/NeoMind, covering neomind — edge ai platform for iot, development commands, ecosystem repositories, extension package contract (.nep) and device type template contract (json).

camthink-ai/NeoMind · 4,296 tokens

Nothan-OS CLAUDE.md

Instructions for Vinalinux-Org/Nothan-OS, covering claude.md — nothanos, hard rules, toolchain, driver and design philosophy.

Vinalinux-Org/Nothan-OS · 499 tokens

Meta-Spatial-SDK-Samples meta-quest.instructions.md

Instructions for meta-quest/Meta-Spatial-SDK-Samples: For this repository, prefer Meta Quest Agentic Tools, the Meta Horizon VS Code/Cursor extension, and the hzdb MCP server.

meta-quest/Meta-Spatial-SDK-Samples · 68 tokens