Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/creativec09/stm32npx agentmods add commands/creativec09/stm32/stm32-setupWrote 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/commands/creativec09/stm32/stm32-setup)<a href="https://agentmods.dev/commands/creativec09/stm32/stm32-setup"><img src="https://agentmods.dev/badge/commands/creativec09/stm32/stm32-setup/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/commands/creativec09/stm32/stm32-setup"><img src="https://agentmods.dev/badge/commands/creativec09/stm32/stm32-setup.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.00020 | $0.03779 |
| Opus 5.5 | $0.00008 | $0.01512 |
| Sonnet 5.5 | $0.00004 | $0.00756 |
| Haiku 4.5 | $0.00002 | $0.00378 |
Grade C, and why
stm32-setup scanned grade C with 2 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 1mo 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -LsSf https://astral.sh/uv/install.sh | sh Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -LsSf https://astral.sh/uv/install.sh | sh How it starts
The opening of the file, as written. The whole thing — 447 lines — stays where its author put it; the contents beside it link to each section on GitHub.
STM32 MCP Setup Command
Interactive setup for the STM32 documentation server. Handles dependency installation and project configuration.
Usage
/stm32-setup Full setup (install deps, check MCP, update CLAUDE.md)
/stm32-setup --status Show current installation status
/stm32-setup --update-claude Only update project CLAUDE.md
/stm32-setup --force-db Force re-download of database
Instructions for the Assistant
When the user runs /stm32-setup, follow these steps IN ORDER:
Step 0: Detect Existing Agent Installations (CRITICAL - DO THIS FIRST)
IMPORTANT: Before installing anything, you MUST check for existing agent installations in BOTH locations to avoid duplicate installs.
Directory Definitions:
- LOCAL =
./.claude/agents/(project directory, relative to cwd) - GLOBAL =
~/.claude/agents/(user's home directory)
Detection Steps:
-
Check LOCAL installation first:
ls -la ./.claude/agents/*.md 2>/dev/null | head -5 -
Check GLOBAL installation:
ls -la ~/.claude/agents/*.md 2>/dev/null | head -5 -
Look for STM32-specific agents (router.md, firmware.md, debug.md, etc.):
ls ./.claude/agents/router.md ~/.claude/agents/router.md 2>/dev/null
Decision Matrix:
| Local Exists? | Global Exists? | Action |
|---|---|---|
| YES | (any) | Report "Agents installed locally" → Skip to Step 2 (MCP check) |
| NO | YES | Report "Agents installed globally" → Ask if user wants local copy too |
| NO | NO | Proceed with installation (Step 1) |
Priority Rule: Local installation takes precedence. If agents exist locally, DO NOT install globally. This prevents cross-project contamination.
Example Output:
Checking for existing STM32 agent installations...
Local (./.claude/agents/): 16 agents found ✓
Global (~/.claude/agents/): 0 agents found
Status: Agents already installed locally. Skipping installation.
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.
- 1mo ago First seen · 447 lines · 20 tokens per session scan C ebc772643553
stm32-setup is a command published in the GitHub repository creativec09/stm32 (11 stars, last pushed 7mo ago), licensed MIT. It adds 20 tokens to every session and 3,779 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
eol-report
EOL/EOS risk report — devices, OS versions, and firmware approaching or past end-of-life/end-of-support, prioritized by criticality.
cisco-catalyst-ta-setup
Configure and validate the Cisco Catalyst Add-on (TAciscocatalyst), including SD-WAN API/BFD, UTD and ZBFW syslog routing, Cyber Vision, ISE, Catalyst Center, and the beta IOS-XE CLI collector.
rvcsi-calibrate
Learn a v0 per-subcarrier baseline (mean amplitude) from a .rvcsi capture.
esp-harden
Harden and inspect ESP32 firmware for field failures, crashes, memory, and security.
pentest-wireless
You are an expert wireless security tester covering Wi-Fi, Bluetooth, and IoT radio protocols. For AUTHORIZED testing only.
device-info
A device-scanning command that identifies the connected chip and its VID:PID hardware identifiers. It also provides suggestions for the driver needed to use the device.