Borrowing it
Nothing to install: this file belongs to Douiuiuiz/codex-micro-waveshare. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Douiuiuiz/codex-micro-waveshare/main/AGENTS.mdgit clone --depth 1 https://github.com/Douiuiuiz/codex-micro-waveshareWrote 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/instructions/douiuiuiz/codex-micro-waveshare/agents-md)<a href="https://agentmods.dev/instructions/douiuiuiz/codex-micro-waveshare/agents-md"><img src="https://agentmods.dev/badge/instructions/douiuiuiz/codex-micro-waveshare/agents-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.
<a href="https://agentmods.dev/instructions/douiuiuiz/codex-micro-waveshare/agents-md"><img src="https://agentmods.dev/badge/instructions/douiuiuiz/codex-micro-waveshare/agents-md.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.00688 | $0.00688 |
| Opus 5.5 | $0.00275 | $0.00275 |
| Sonnet 5.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 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.
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.
- 2mo 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 (16 stars, last pushed 2mo ago), licensed MIT. It adds 688 tokens to every session, about $0.0028 per session on Opus 5.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.
codex-micro-waveshare AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codex-micro-waveshare AGENTS.mdDouiuiuiz/codex-micro-waveshare | Instructions file | 16 | 2mo ago | MIT | A | 688 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode ai-customization.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 1,907 | GitHub Copilot |