progress-event-state-bridge

progress-event-state-bridge is a skill for Claude Code, Codex from ychampion/cskill-agents. It costs 27 tokens per session (425 once invoked), scanned A, original, MIT.

A state-update pattern that connects installation progress events to the part of the interface showing each source's status. It distinguishes installing, installed, and failed states and keeps related errors.

In plain words
What is it for?
Use it to update marketplace or extension installation status in a shared user interface.
Why use it?
It prevents installation screens from becoming stale or updating unrelated entries when background work reports progress.

Skill for Claude CodeCodex

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

Good fit Use it to update marketplace or extension installation status in a shared user interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ychampion/cskill-agents/progress-event-state-bridge
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 ychampion/cskill-agents --skill progress-event-state-bridge
Clone the repo
git clone --depth 1 https://github.com/ychampion/cskill-agents

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 progress-event-state-bridge

README.md
[![agentmods](https://agentmods.dev/badge/skills/ychampion/cskill-agents/progress-event-state-bridge/github.svg)](https://agentmods.dev/skills/ychampion/cskill-agents/progress-event-state-bridge)
Your own site
<a href="https://agentmods.dev/skills/ychampion/cskill-agents/progress-event-state-bridge"><img src="https://agentmods.dev/badge/skills/ychampion/cskill-agents/progress-event-state-bridge/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 progress-event-state-bridge

Your own site · 80×15
<a href="https://agentmods.dev/skills/ychampion/cskill-agents/progress-event-state-bridge"><img src="https://agentmods.dev/badge/skills/ychampion/cskill-agents/progress-event-state-bridge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 425 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00027 $0.00425
Opus 5 $0.00014 $0.00212
Sonnet 5 $0.00005 $0.00085
Haiku 4.5 $0.00003 $0.00042

Measured 8d ago against content hash 6d4807f3d7b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

progress-event-state-bridge 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 8d 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.

agents/claude-code/skills/progress-event-state-bridge/SKILL.md · 30 lines

What it actually says

SKILL: Progress Event State Bridge

Domain: plugin-installation Trigger: Use when background reconciliation emits per-source progress updates and shared UI state must reflect each source's lifecycle (installing, installed, failed). Source Pattern: Distilled from reviewed install-progress callbacks and immutable UI-state bridge implementations.

Core Method

Let the reconciler emit progress events for each marketplace or extension source, then bridge those events into shared UI state through one immutable update path. Each event should update only the matching source entry, carrying both the new status and any error payload, while leaving unrelated entries untouched. This makes the install UI responsive without forcing broad rerenders or duplicating install logic in the view layer.

Key Rules

  • Use one immutable helper or reducer path so only the target entry changes and unrelated UI state keeps structural sharing.
  • Preserve the event’s status semantics directly: installing, installed, and failed should remain distinct in the UI state.
  • If the event carries an error payload, preserve it so the UI can surface meaningful diagnostics.
  • Progress events should update previously seeded entries, not silently invent new rows that were never declared to the user.

Example Application

When a background source sync starts, the UI row for that source flips from pending to installing. If the fetch succeeds, it moves to installed; if it fails, it moves to failed and stores the error text for display.

Anti-Patterns (What NOT to do)

  • Do not mutate the source list in place or reorder entries when mapping events; unaffected rows should retain reference stability.
  • Do not drop the error payload when a failed event fires; without it, the UI cannot explain why manual intervention is required.
  • Do not rebuild unrelated state slices while handling these events; keep the bridge scoped to the installation-status surface.
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. 8d ago First seen · 30 lines · 27 tokens per session scan A 6d4807f3d7b0

Subscribe to this mod's changes

progress-event-state-bridge is a skill published in the GitHub repository ychampion/cskill-agents (36 stars, last pushed 5mo ago), licensed MIT. It adds 27 tokens to every session and 425 once invoked, about $0.0001 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-09-03.