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 agentmods add skills/hyexe/codex-plugins/implement-async-ui-statenpx skills add HYEXE/codex-plugins --skill implement-async-ui-stategit clone --depth 1 https://github.com/HYEXE/codex-pluginsWhat 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 | $0.00183 | $0.01646 |
| Opus 5 | $0.00092 | $0.00823 |
| Sonnet 5 | $0.00037 | $0.00329 |
| Haiku 4.5 | $0.00018 | $0.00165 |
Grade A, and why
implement-async-ui-state 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 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.
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 — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Async UI State Implementer
비동기 작업의 시각 효과보다 서버 사실, 요청 식별자, 상태 전이와 사용자 통제 계약을 먼저 구현한다. 빠른 정상 경로뿐 아니라 중복 실행, 순서가 바뀐 응답, 중단·재연결과 부분 실패에서도 UI가 실제 작업 상태를 정직하게 보여주게 한다.
시작 절차
-
저장소 지침과 현재 diff를 확인하고 framework, 상태 관리, transport, backend API, persistence와 테스트 도구를 읽는다.
-
실제 요청·응답·event·job schema와 취소 API를 확인한다. 관찰하지 않은 server cancel, progress, idempotency 또는 background persistence를 지원한다고 가정하지 않는다.
-
작업 유형을 분류한다.
request: 현재 화면 수명 안에서 끝나는 조회·저장·mutationstream: chunk·event가 순차 또는 누적 도착하는 응답background-job: 화면을 떠난 뒤에도 계속될 수 있고 재조회가 필요한 작업batch: 항목별 성공·실패와 재시도 범위가 갈리는 작업
-
구현 전 다음 상태 계약을 짧게 고정한다.
사용자 과업과 완료 상태: request·operation·job·item identity: 진실 원본과 상태 전이: 순서·중복·동시 실행 정책: 취소 범위와 server side effect: retry·idempotency·optimistic rollback: partial result와 실패 단위: refresh·reconnect·multi-tab 복원: 접근 가능한 피드백과 focus 정책: 성공·반증 기준: -
상태 모델과 QA에는
references/async-state-contract-and-qa.md를 읽어 적용한다. -
agent·tool 실행 화면은
references/agent-tool-state-ux.md도 읽는다.
구현 규칙
식별자와 상태 원본
- UI component instance, network request, logical operation, server job과 batch item identity를 필요한 수준으로 분리한다.
- 현재 결과를 갱신할 자격이 있는 operation을 명시하고 stale·late response가 최신 상태를 덮지 못하게 한다.
- server가 진실 원본이면 local label이나 timer로 완료를 추정하지 않고 status 조회·event 또는 명시적 응답과 동기화한다.
- component unmount, route change, account·workspace 변경 때 구독과 local state의 소유권을 정리한다.
중복·취소·재시도
- disable만으로 중복 요청이 완전히 방지된다고 가정하지 않는다. 실행 단위, deduplication과 idempotency 경계를 정한다.
- network abort, UI가 기다림을 중단하는 cancel, server job 취소를 같은 동작으로 표현하지 않는다.
- 취소와 완료가 경합하면 어떤 terminal state를 채택할지 backend 계약에 맞춰 결정한다.
- retry는 새 operation인지 같은 job의 재개인지 구분하고, 생성·결제·전송 같은 side effect에는 검증된 idempotency를 사용한다.
낙관적 갱신과 부분 결과
- optimistic update는 해당 mutation의 이전 값·version과 rollback 범위를 보존할 수 있을 때만 사용한다.
- 늦은 실패가 이후의 성공한 편집을 되돌리지 않도록 mutation identity와 version을 비교한다.
- batch·stream의 일부가 성공하면 전체 성공이나 전체 실패로 축약하지 않고 완료·실패·대기 항목을 구분한다.
- 실패 항목만 안전하게 재시도할 수 있는 단위를 제공하고 이미 성공한 side effect를 반복하지 않는다.
What ships with it
4 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.
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.
- yesterday First seen · 89 lines · 183 tokens per session scan A a8abcfce512a
implement-async-ui-state is a skill published in the GitHub repository HYEXE/codex-plugins (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 183 tokens to every session and 1,646 once invoked, about $0.0009 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-31.
Other skills, from other repositories
stop-that-shit
Keep coding agents focused on requested and necessary work. Use for bounded changes, review-only tasks, scope creep, speculative hardening, unnecessary hashing or dependencies, repeated audit loops, or when the user invokes Stop That Shit.
dev-flow
Use Dev Flow for bounded Codex software development tasks: implementation, bug fixes, refactoring, targeted testing, development delivery, and explicit parallel batches isolated in separate Git worktrees. It may be selected implicitly for those tasks or explicitly with $dev-flow-codex:dev-flow. Do not create a Dev…
codexkit-repository-maintenance
Use when maintaining or improving the GameStudio-CodexKIT source repository, including CI, governance, catalog, generators, adapters, packaging, documentation, versioning, or release readiness.
pipeline
Use when the user wants a feature idea taken end-to-end in one autonomous run — phrases like "run the whole pipeline", "take this feature from idea to finished branch", "brainstorm then build it autonomously", "do everything from idea to merged", "implement all phases without stopping". Triggers when they want…
design
Set visual and interaction direction for any UI surface (web, React, TUI, CLI, desktop, Qt, design-system tokens) before any UI code. Direction-first: generates 3-4 distinct directions via verbalized sampling, picks one via per-axis single-select, then derives palette, typography, spacing, motion budget. Loads when…
decision-report
Generate a portable stakeholder decision report for a CV deployment decision. TRIGGER when: user explicitly asks for a decision report, manager report, or stakeholder doc after a cost crossover has been computed; phrases: "write me a decision report", "generate a report for my manager", "I need a stakeholder doc"…