liveview-optimistic-ui

liveview-optimistic-ui is a skill for Claude Code, Codex from wunki/amplify. It costs 165 tokens per session (4,245 once invoked), scanned A, original, no licence file.

A guide to optimistic user interfaces in Elixir Phoenix LiveView, where the screen responds before the server confirms an action.

In plain words
What is it for?
Use it for loading states, reverting failed changes, undo periods, animated stream updates, and other asynchronous LiveView interactions.
Why use it?
It helps make delayed server interactions feel immediate while handling failures, competing updates, and accessibility needs.

Skill for Claude CodeCodex

Part of the amplify plugin — 28 skills, 3 agents shipped together

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/wunki/amplify/liveview-optimistic-ui
Any agent
npx skills add wunki/amplify --skill liveview-optimistic-ui
Clone the repo
git clone --depth 1 https://github.com/wunki/amplify

Made for: Claude Code, Codex.

Or install amplify, the plugin that ships this one along with the rest of its 28 skills, 3 agents.

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 liveview-optimistic-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/wunki/amplify/liveview-optimistic-ui.svg)](https://agentmods.dev/skills/wunki/amplify/liveview-optimistic-ui)
Your own site
<a href="https://agentmods.dev/skills/wunki/amplify/liveview-optimistic-ui"><img src="https://agentmods.dev/badge/skills/wunki/amplify/liveview-optimistic-ui.svg" alt="Measured on agentmods" height="20"></a>
Per session 165 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,245 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00165 $0.04245
Opus 5 $0.00082 $0.02122
Sonnet 5 $0.00033 $0.00849
Haiku 4.5 $0.00016 $0.00424

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

Security

Grade A, and why

liveview-optimistic-ui 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 4d 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.

skills/liveview-optimistic-ui/SKILL.md · 476 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

2 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. 4d ago First seen · 476 lines · 165 tokens per session scan A 368ad2f8bed4

Subscribe to this mod's changes

liveview-optimistic-ui is a skill published in the GitHub repository wunki/amplify (19 stars, last pushed 5mo ago), with no licence file. It adds 165 tokens to every session and 4,245 once invoked, about $0.0008 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.

Related

Other skills, from other repositories

motion-graphics

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI…

heygen-com/hyperframes · 139 tokens

liquid-glass

Apple Liquid Glass design system. Use when building UI with translucent, depth-aware glass morphism following Apple's design language. Provides CSS tokens, component patterns, dark/light mode, and animation specs.

fengshao1227/ccg-workflow · 43 tokens

feishu-cli-visual

飞书可视化与展示统一入口,负责选择合适载体,并覆盖画板、Slides、妙笔BOX 动态组件、 妙搭 HTML 应用和统一数据可视化设计规范。用户要求画板/whiteboard、架构图、流程图、飞轮、 鱼骨、路线图、海报、插画、SVG/Mermaid、数据图表或 dashboard,创建 Slides/PPT,嵌入会动的 ECharts/地图/3D/window.magic 组件,或用妙搭/Miaoda/spark 发布 HTML 应用时必须使用本 Skill。 消息卡片由 feishu-cli-messaging 构造和发送;Markdown 图表导入由 feishu-cli-docs 执行。.

riba2534/feishu-cli · 167 tokens

render-vo-anchored-motion-listicle

Assemble an expert/educator motion-graphic LISTICLE video ad from a config — a spoken authoritative voiceover carries a numbered listicle while N web-animated hyperframe beats (HTML plus the Web Animations API, one branded design system of alternating tiles, big hero numerals, and glass-pill callouts) are rendered…

gooseworks-ai/goose-skills · 216 tokens

frame-light-leak-cinema

Film light leaks, grain, 16:9 letterbox, and large serif type for cinematic openings or chapter cards.

nexu-io/html-video · 31 tokens

frame-bold-signal

Bold colored card on a dark gradient — big section number, nav breadcrumb, orange card sliding in, title rising.

nexu-io/html-video · 28 tokens