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.
npx agentmods add instructions/douiuiuiz/codex-micro-waveshare/agents-mdgit clone --depth 1 https://github.com/Douiuiuiz/codex-micro-waveshareWhat 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 | $0.00688 | $0.00688 |
| Opus 5 | $0.00344 | $0.00344 |
| Sonnet 5 | $0.00138 | $0.00138 |
| Haiku 4.5 | $0.00069 | $0.00069 |
Grade A, and why
codex-micro-waveshare AGENTS.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.
How it starts
The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project boundaries
- Target hardware is the Waveshare ESP32-S3-Touch-AMOLED-1.75C (466x466 AMOLED, CST9217 touch on GPIO14/15, AXP2101 PMIC, ES8311 codec, PWR/BOOT side buttons) running on Windows. This is a community port of the M5Stack StopWatch C152 Codex Micro controller; the upstream C152 hardware is NOT the target here.
- This is a third-party, unofficial port. It is not affiliated with OpenAI, Work Louder, M5Stack, or Waveshare. Do not imply official support.
- Do not claim a build, flash, pairing, button action, or quota update is validated until it is observed on physical Waveshare 1.75C hardware.
- Never infer an upload port. Resolve and report the exact COM port immediately before any flash operation.
- Keep ChatGPT authentication and rate-limit reads on the Windows companion
(
companion-win/). Never place account tokens in firmware or BLE payloads. The firmware and BLE channel carry only non-sensitive vendor JSON (keys, angles, quota percentage + reset countdown). - Keep the emulated vendor HID path and the private quota GATT path separate.
- Preserve upstream MIT attribution and
NOTICE.mdwhen redistributing. - The Waveshare board has no vibration motor and no M5PM1/M5IOE1; haptics are
silent no-ops and power telemetry comes from the AXP2101 via
Axp2101Power.h. - The optional
usb-mic/andcompanion/(macOS Swift) parts of the upstream project are kept out of this repository's published tree.
Installation workflow for coding agents
- Read
README.mdand this file before changing the machine or the device. - Confirm the connected target is a Waveshare ESP32-S3-Touch-AMOLED-1.75C.
- Build the
m5stack-stopwatchenvironment with PlatformIO Core before flashing (pio run -e m5stack-stopwatch, or-c platformio.win.inion Windows). - Resolve the exact newly connected COM port immediately before an upload. Report it to the user and obtain confirmation before flashing.
- After flashing, verify the serial marker
CODEX_MICRO_STOPWATCH_READYon the same exact port (python scripts/serial_probe_win.py <port> --seconds 30 --expect CODEX_MICRO_STOPWATCH_READYon Windows). - Windows Bluetooth: pair as "Codex Micro". If controls stop working after a reconnect, delete the pairing and pair again (the firmware forces the local input-report CCCD to notifications so Windows delivers HID input without a fresh subscribe).
- Quota sync is optional and handled by
companion-win/(Python + bleak). It reads the local Codexauth.jsonaccess token and writes only the percentage + reset countdown to the watch. Never commit tokens, account identifiers, device MACs, or local paths. - Do not claim success from a build alone. Report build, flash, pairing, controls, Agent status, and quota sync as separate validation layers.
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.
- 3d ago First seen · 47 lines · 688 tokens per session scan A 0429bdcf6ebc
codex-micro-waveshare AGENTS.md is an instructions file published in the GitHub repository Douiuiuiz/codex-micro-waveshare (11 stars, last pushed 17d ago), licensed MIT. It adds 688 tokens to every session, about $0.0034 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.
Other instructions, from other repositories
clawdmeter-plus CLAUDE.md
Claude Code instructions for sorryhumans/clawdmeter-plus, covering project context, hardware (critical pins), amoled-2.16 (original), amoled-1.8 (newer port) and amoled-1.8 (c6) — waveshareamoled18c6.
xiaozhi-esp32 AGENTS.md
AGENTS.md instructions for 78/xiaozhi-esp32, covering agents.md, project, architecture, required rules and boards and configuration.
FastLED CLAUDE.md
Claude Code instructions for FastLED/FastLED, covering fastled ai agent guidelines, read the right file for your task, key commands, core rules (all agents) and git and code publishing.
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.
mdb-esp32-cashless AGENTS.md
Instructions for nodestark/mdb-esp32-cashless, covering vmflow — agent context, 1. mqtt rpc — real-time device control, 2. supabase rest — data & credits, 3. agent playbooks and notes.
ROS AGENTS.md
Instructions for lawliet206/ROS, covering agents.md, 项目是什么, 环境版本(不可随意升级/降级), 目录结构(catkin 工作空间根 = 仓库根) and 重要 launch 与脚本(命名与参数以代码为准,改文档必须同步).