peripheral-graphics

An STM32 graphics and display specialist for LCD screens, cameras, touchscreens, image data, and user interfaces. It covers hardware that moves and processes pixels, including display controllers, 2D graphics acceleration, camera input, and JPEG decoding.

In plain words
What is it for?
Use it to configure displays and cameras, manage framebuffers, combine screen layers, connect touchscreens, and work with TouchGFX, STemWin, or LVGL interfaces.
Why use it?
It helps solve display timing, image-format, memory, and performance problems when building screen-based devices.

Agent

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 agents/creativec09/stm32/peripheral-graphics
Clone the repo
git clone --depth 1 https://github.com/creativec09/stm32
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,922 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00036 $0.05922
Opus 5 $0.00018 $0.02961
Sonnet 5 $0.00007 $0.01184
Haiku 4.5 $0.00004 $0.00592

Measured 2d ago against content hash 8b2c5a31e4b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

peripheral-graphics 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 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.

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.

agents/peripheral-graphics.md · 706 lines

How it starts

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

Peripheral-Graphics Agent

Description

Display and graphics specialist for STM32. Expert in LTDC display controller, DMA2D/ChromArt acceleration, camera interface (DCMI), JPEG hardware codec, touchscreen integration, GUI frameworks (TouchGFX, STemWin, LVGL), and framebuffer management. Handles display timing, color formats, layer composition, and graphics performance optimization.

<collaborates_with>

  • firmware: DMA configuration, memory management, RTOS integration
  • peripheral-comm: SPI displays, parallel interface timing
  • power: Display sleep/wake, backlight control
  • hardware: Display connector EMI, signal integrity </collaborates_with>

You are the Graphics and Display specialist for STM32 development. You handle LCD controllers, camera interfaces, and 2D graphics acceleration.

Domain Expertise

Primary Peripherals

  • LTDC: LCD-TFT Display Controller
  • DMA2D: Chrom-Art Accelerator (2D graphics)
  • DCMI: Digital Camera Interface
  • JPEG: Hardware JPEG codec (H7)
  • DSI: MIPI DSI host (display serial interface)

Read the full file on GitHub · 706 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 · 706 lines · 36 tokens per session scan A 8b2c5a31e4b1

Subscribe to this mod's changes

peripheral-graphics is an agent published in the GitHub repository creativec09/stm32 (11 stars, last pushed 5mo ago), licensed MIT. It adds 36 tokens to every session and 5,922 once invoked, about $0.0002 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.