iced-rs

iced-rs is a skill for Claude Code, Codex from vanillagreencom/kendex. It costs 14 tokens per session (2,480 once invoked), scanned C, original, MIT.

A reference guide for building and debugging desktop interfaces with Iced 0.14, a Rust library for creating user interfaces.

In plain words
What is it for?
Use it when choosing between standard widgets, custom drawing, GPU rendering, or custom widgets, and when diagnosing Iced UI problems.
Why use it?
It helps avoid using the wrong Iced component or outdated code, and points to common causes of missing events, layout updates, and animation or rendering bugs.

Skill for Claude CodeCodex

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 skills/vanillagreencom/kendex/iced-rs
Any agent
npx skills add vanillagreencom/kendex --skill iced-rs
Clone the repo
git clone --depth 1 https://github.com/vanillagreencom/kendex

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for iced-rs

README.md
[![agentmods](https://agentmods.dev/badge/skills/vanillagreencom/kendex/iced-rs.svg)](https://agentmods.dev/skills/vanillagreencom/kendex/iced-rs)
Your own site
<a href="https://agentmods.dev/skills/vanillagreencom/kendex/iced-rs"><img src="https://agentmods.dev/badge/skills/vanillagreencom/kendex/iced-rs.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,480 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00014 $0.02480
Opus 5 $0.00007 $0.01240
Sonnet 5 $0.00003 $0.00496
Haiku 4.5 $0.00001 $0.00248

Measured yesterday against content hash f31a95418ba4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

iced-rs scanned grade C with 1 finding 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 yesterday.

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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- kendex:project-instructions:start -->
.agents/skills/iced-rs/SKILL.md · 183 lines

How it starts

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

Project Instructions

Problems with a kendex-owned skill go through kendex report; check ownership in the file first.

Iced 0.14

Workflow

  1. Classify the surface against references/guide-surface-selection.md. Do not skip.
  2. Read the canonical example in examples/, never generate 0.14 code from memory.
  3. Read the guide for that surface; for animated layered UI, references/guide-animated-layout.md comes first.
  4. Stuck: the guide's "Common failure modes" / "Gotchas", then references/guide-animation-debugging.md for animation and render bugs. The three most common: missing capture_event, missing invalidate_layout, 0.13 event signatures.

Surface choice: built-in widgets + .style(closure) for standard UI; Canvas for 2D custom drawing; Shader for GPU-dense rendering; iced::advanced::Widget for custom events, state, or layout; for a floating layer try tooltip, float, or stack+opaque before a custom Overlay.

Bundled resources

references/: API refs and guides

Full list in references/INDEX.md; load on demand.

Guide Use
guide-surface-selection.md Pick the right primitive
guide-custom-widgets.md iced::advanced::Widget
guide-custom-overlays.md iced::advanced::overlay::Overlay
guide-animated-layout.md Animated transitions, measured positions, keyed identity, clipping
guide-animation-debugging.md Symptom→cause checklist for animation/render bugs
widgets.md Widget catalog: every 0.14 widget, notes, canonical example

examples/: every upstream Iced 0.14 example

Need Read first
Custom Widget impl examples/custom_widget/src/main.rs
GPU shader pipeline examples/custom_shader/ (full dir)
Mesh / vector geometry widget examples/geometry/src/main.rs
Canvas 2D drawing examples/bezier_tool, examples/clock, examples/color_palette
Canvas animation examples/solar_system, examples/the_matrix, examples/game_of_life
Arc/ring animation examples/loading_spinners, examples/arc
Modal dialog examples/modal/src/main.rs (stack + opaque)
Toast/notification overlay examples/toast/src/main.rs
Tooltip / zoom-on-hover examples/loupe/src/main.rs
Styled components examples/styling/
pane_grid layout examples/pane_grid/
Multi-window examples/multi_window/
WebSocket subscription examples/websocket/
Text editing examples/editor/

Read the full file on GitHub · 183 lines

Files

What ships with it

60 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.

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. yesterday Changed · -38 lines scan A → C f31a95418ba4
  2. 5d ago First seen · 221 lines · 14 tokens per session scan A 84d24ef7017e

Subscribe to this mod's changes

iced-rs is a skill published in the GitHub repository vanillagreencom/kendex (66 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 2,480 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

surf

Control Chrome browser via CLI for testing, automation, and debugging. Use when the user needs browser automation, screenshots, form filling, page inspection, network/CPU emulation, DevTools streaming, or AI queries via ChatGPT/Gemini/Perplexity/Grok/AI Studio.

w-winter/dot314 · 60 tokens

prose-review

Review prose written for others -- user-facing docs, prompts for other LLMs, inline comments, docstrings, and other-facing messages -- for local jargon leakage, orphaned references, missing grounding, and audience or genre misfit.

w-winter/dot314 · 50 tokens

text-search

Search indexed text corpora with qmd. For indexed content, prefer qmd over grep.

w-winter/dot314 · 22 tokens

repoprompt-tool-guidance-refresh

Refresh RepoPrompt tool guidance when the CLI/MCP surface changes. Tracks RepoPrompt CE (rpce-cli, the maintained target) across versions, and can diff the frozen Classic CLI (rp-cli) against CE. Uses /.pi/agent/skills/repoprompt-tool-guidance-refresh/scripts/track-rp-version.sh to capture/diff --help and -l (tool…

w-winter/dot314 · 115 tokens

xcodebuildmcp

Build/test Xcode projects via the XcodeBuildMCP MCP server using a local CLI wrapper for pi (no MCP support). Use when the user mentions Xcode, xcodebuild, iOS builds/tests, or XcodeBuildMCP.

w-winter/dot314 · 56 tokens

agent-browser

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

w-winter/dot314 · 51 tokens