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 skills add xonovex/platform --skill designing-imguigit clone --depth 1 https://github.com/xonovex/platformWrote 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/skills/xonovex/platform/designing-imgui)<a href="https://agentmods.dev/skills/xonovex/platform/designing-imgui"><img src="https://agentmods.dev/badge/skills/xonovex/platform/designing-imgui/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/skills/xonovex/platform/designing-imgui"><img src="https://agentmods.dev/badge/skills/xonovex/platform/designing-imgui.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.00080 | $0.01360 |
| Opus 5.5 | $0.00032 | $0.00544 |
| Sonnet 5.5 | $0.00016 | $0.00272 |
| Haiku 4.5 | $0.00008 | $0.00136 |
Grade A, and why
designing-imgui 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 9d 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 — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Immediate-Mode GUI Guidelines
Architecture for an immediate-mode GUI: the UI is re-issued every frame from application data, controls are identified by id rather than retained objects, and the few things that must persist (hover, focus, drag, DPI) live in a small, deliberate state store. For how the resulting vertex/index data reaches the GPU, see designing-gpu-renderers.
Requirements
- The UI is rebuilt every frame; widgets return their result inline (
if (button(id, ...))), they are not retained objects. - A small per-frame and cross-frame state store holds only what immediate mode cannot recompute: hover, active, focus, drag, layout.
Essentials
- One draw call - Pack all widgets into compact primitive buffers and synthesize vertices in the shader; encode clip and texture so no state switches are needed, see references/draw-batching.md
- Stable unique IDs - Key hover, active, focus, drag, and tab order by per-control id: the substitute for retained widget objects, see references/ids-and-state.md
- Frame delay resolves ordering - Immediate mode can't see later controls; defer hover/focus decisions one frame so the last-drawn control wins, see references/frame-delay.md
- Process events in end_*(), consume by clearing - Trickle keyboard events through a responder chain; one event per frame, see references/events-and-focus.md
- Drag-and-drop is a data operation - Hold a single global drag id; the drop is a data-model mutation, not UI plumbing, see references/drag-and-drop.md
- Own DPI - Work in virtual coordinates, scale at the edges (vertex shader, rect conversion), key the font atlas by DPI, see references/dpi-scaling.md
Localization & Accessibility
- Hash the source string as the key - Wrap visible text in
LOCALIZE(...), resolve per frame through a swappable localizer that falls back to the source string, and audit coverage with a pseudo-localization mode, see references/localization.md - Build a side semantic tree while drawing - As each control is drawn, register its role/label/rect/state into a per-frame list, then expose that list to platform accessibility APIs and automation: immediate mode does not preclude a screen-reader-visible tree, see references/accessibility.md
What ships with it
12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- eval-output.json 4.1 KB
- eval-trigger.json 6.8 KB
- moon.yml 86 B
- references/accessibility.md 3.1 KB
- references/dpi-scaling.md 2.1 KB
- references/drag-and-drop.md 2.2 KB
- references/draw-batching.md 1.9 KB
- references/events-and-focus.md 2.1 KB
- references/frame-delay.md 1.5 KB
- references/ids-and-state.md 1.7 KB
- references/localization.md 3.0 KB
- sources.json 4.7 KB
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.
- 9d ago First seen · 63 lines · 80 tokens per session scan A 7c81dd80bf28
designing-imgui is a skill published in the GitHub repository xonovex/platform (6 stars, last pushed yesterday), licensed MIT. It adds 80 tokens to every session and 1,360 once invoked, about $0.0003 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-11-21.
designing-imgui compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| designing-imguixonovex/platform | Skill | 6 | yesterday | MIT | A | 80 | Claude Code |
| ambience-skillcode-yeongyu/lazycodex | Skill | 4.0k | yesterday | MIT | A | 132 | Claude Code, Codex |
| interaction-skillcode-yeongyu/lazycodex | Skill | 4.0k | yesterday | MIT | A | 104 | Claude Code, Codex |
| designlang-tokensManavarya09/design-extract | Skill | 5.2k | 5d ago | MIT | A | 30 | Claude Code |
| temps-design-systemgotempsh/temps | Skill | 951 | today | Apache-2.0 | A | 72 | Claude Code, Codex |
| omd-brand-lookkwakseongjae/oh-my-design | Skill | 640 | 3d ago | MIT | A | 235 | Claude Code, Codex |
| motion-craftericrisco/rsc-harness | Skill | 682 | 4d ago | MIT | A | 67 | Claude Code, Codex |