verify-optimistic-update

verify-optimistic-update is a skill for Claude Code, Codex from reticlehq/reticle. It costs 81 tokens per session (1,341 once invoked), scanned A, original, Apache-2.0.

A check for interfaces that show a change before the server confirms it. An optimistic update is this kind of immediate change, which must be undone on failure and kept on success.

In plain words
What is it for?
Use it after changing instant updates for likes, toggles, renames, reordering, deletion, or adding items to a cart. It checks both the success and failure paths.
Why use it?
It catches misleading interfaces where a failed like, rename, deletion, or other action appears to have been saved.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it after changing instant updates for likes, toggles, renames, reordering, deletion, or adding items to a cart. It checks both the success and failure paths.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/reticlehq/reticle/verify-optimistic-update
About the project

Reticle is a verification tool for AI agents that operates a real browser or desktop application, checks what happened, and returns a pass, fail, or cannot-tell result with supporting evidence. Coding agents use it to test whether their changes work, including identifying relevant source lines when possible. The catalogue add-ons connect agents to Reticle through MCP and related testing workflows.

reticlehq/reticle · 1,341 stars · on GitHub · app.reticle.sh

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.

Any agent
npx skills add reticlehq/reticle --skill verify-optimistic-update
Clone the repo
git clone --depth 1 https://github.com/reticlehq/reticle

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 verify-optimistic-update

README.md
[![agentmods](https://agentmods.dev/badge/skills/reticlehq/reticle/verify-optimistic-update/github.svg)](https://agentmods.dev/skills/reticlehq/reticle/verify-optimistic-update)
Your own site
<a href="https://agentmods.dev/skills/reticlehq/reticle/verify-optimistic-update"><img src="https://agentmods.dev/badge/skills/reticlehq/reticle/verify-optimistic-update/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.

agentmods 80×15 button for verify-optimistic-update

Your own site · 80×15
<a href="https://agentmods.dev/skills/reticlehq/reticle/verify-optimistic-update"><img src="https://agentmods.dev/badge/skills/reticlehq/reticle/verify-optimistic-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,341 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00081 $0.01341
Opus 5.5 $0.00032 $0.00536
Sonnet 5.5 $0.00016 $0.00268
Haiku 4.5 $0.00008 $0.00134

Measured 4d ago against content hash 757d6648938c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

verify-optimistic-update scanned grade A 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Capability reference: `curl https://docs.reticle.sh/capabilities.md`. Everything else: `curl https://docs.reticle.sh/llms.txt`.
skills/verify-optimistic-update/SKILL.md · 104 lines

How it starts

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

An optimistic update is a promise the server can break

Updating the UI before the server answers makes an app feel fast. It also means the UI claims something the server has not agreed to yet. The failure path, where the request fails and the UI has to take the claim back, is the one nobody clicks through, because on a working backend it never happens.

Reticle can make it happen in the running app. Not set up? Follow the reticle skill: it installs Reticle, asks the user before init changes the app's files, and proves one flow.

Read this before you start: failing a request needs a browser Reticle owns

reticle_network_mock works in a leased tab (reticle_run({ tool: "reticle_lease", args: { action: "acquire", url } })) or a driven one, and not through the always-on SDK, which answers { ok: false, reason: "no-cdp-provider" }. Without one, do step 4 (the success path) and report the rollback as unknown. Driving the happy path and reporting that rollback works is the one thing you may not do.

Confirm the session can observe first: reticle_session({ action: "list" }). A hidden or throttled tab can accept a click and render nothing.

1. Make the save fail, slowly

reticle_run({ tool: "reticle_network_mock", sessionId, args: {
  mocks: [{ urlContains: "/api/todos", method: "PATCH", status: 500, delayMs: 1500 }],
}})

The delay is what makes the optimistic state observable. Without it the failure can land before anything is on screen, and you cannot tell "rolled back" from "never updated".

2. Act, and prove the optimistic state appears

Get the control's ref with reticle_look({ action: "page", sessionId, mode: "interactive" }), then name the optimistic state before you click:

reticle_act_and_wait({ sessionId, ref: "<rename or toggle>", action: "click", until:
  { kind: "text", contains: "Buy oat milk" }
})

This proves the UI updated before the server answered. It is the claim the next step checks is taken back.

Read the full file on GitHub · 104 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. 4d ago Changed 757d6648938c
  2. 11d ago Changed f8b35bd2e361
  3. 12d ago Changed 5538fc72fcc6
  4. 15d ago Changed 1d2946537369
  5. 17d ago Changed c6b38694a4d1
  6. 18d ago Changed 3ea5aad7eec0
  7. 1mo ago Changed 6ed8bbf3d919
  8. 1mo ago Changed 1bda02478d4a
  9. 1mo ago Changed bc4e353aceab
  10. 1mo ago First seen · 104 lines · 81 tokens per session scan A 5d868188389c

Subscribe to this mod's changes

verify-optimistic-update is a skill published in the GitHub repository reticlehq/reticle (1,341 stars, last pushed today), licensed Apache-2.0. It adds 81 tokens to every session and 1,341 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-03.

Related

verify-optimistic-update compared with skills from other repositories

verify-optimistic-update next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
verify-optimistic-updatereticlehq/reticleSkill1.3ktodayApache-2.0A81Claude Code, Codex
solopi-aialipay/SoloPiSkill6.8kyesterdayApache-2.0A82Codex
AI System Quality EngineerPramodDutta/qaskillsSkill2531mo agoMITB68Claude Code, Codex
sorify-updaterakutentech/sorifySkill571mo agoApache-2.0A24Claude Code
ui-automationMGdaasLab/WHartTestSkill1.1k21d agononeA96Claude Code, Codex
playwright-skillMGdaasLab/WHartTestSkill1.1k21d agononeA31Claude Code, Codex
sorify-generaterakutentech/sorifySkill571mo agoApache-2.0A33Claude Code