bloc-signals

bloc-signals is a skill for Claude Code, Codex from Poorgramer-Zack/dart-expert-skills. It costs 108 tokens per session (882 once invoked), scanned A, original, MIT.

A coding guide for BlocSignal, a Dart and Flutter library that manages application state using signals and a BLoC-style event model. It covers the library's core and Flutter-specific APIs, testing, and migration from another BLoC library.

In plain words
What is it for?
Use it to implement, review, test or migrate Dart and Flutter code using BlocSignal, including providers, widgets, listeners and state assertions.
Why use it?
It reduces mistakes from assuming BlocSignal works exactly like other state-management libraries. It directs the agent to check the version installed in the project and make small, compatible changes.

Skill for Claude CodeCodex

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

Good fit Use it to implement, review, test or migrate Dart and Flutter code using BlocSignal, including providers, widgets, listeners and state assertions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/poorgramer-zack/dart-expert-skills/bloc-signals
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 Poorgramer-Zack/dart-expert-skills --skill bloc-signals
Clone the repo
git clone --depth 1 https://github.com/Poorgramer-Zack/dart-expert-skills

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 bloc-signals

README.md
[![agentmods](https://agentmods.dev/badge/skills/poorgramer-zack/dart-expert-skills/bloc-signals/github.svg)](https://agentmods.dev/skills/poorgramer-zack/dart-expert-skills/bloc-signals)
Your own site
<a href="https://agentmods.dev/skills/poorgramer-zack/dart-expert-skills/bloc-signals"><img src="https://agentmods.dev/badge/skills/poorgramer-zack/dart-expert-skills/bloc-signals/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 bloc-signals

Your own site · 80×15
<a href="https://agentmods.dev/skills/poorgramer-zack/dart-expert-skills/bloc-signals"><img src="https://agentmods.dev/badge/skills/poorgramer-zack/dart-expert-skills/bloc-signals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 882 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.00108 $0.00882
Opus 5.5 $0.00043 $0.00353
Sonnet 5.5 $0.00022 $0.00176
Haiku 4.5 $0.00011 $0.00088

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

Security

Grade A, and why

bloc-signals 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 19d 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/bloc-signals/SKILL.md · 44 lines

How it starts

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

BlocSignal

BlocSignal keeps the BLoC event model (events in, state out) on top of Rody Davis's signals v7 primitives. Its updates are synchronous: emit changes state immediately, with no stream and no microtask. It is young and its API can change, so verify against the installed package source before editing code.

Start from the installed package

  1. Read the consumer project's pubspec.yaml and pubspec.lock to find the bloc_signals version.
  2. Check every type and member you plan to use against the installed source (package:bloc_signals/...). Do not assume parity with package:bloc or Riverpod.
  3. Read the matching reference below, then make the smallest change that keeps behavior.

Route the task

Contracts to preserve

  • Constructors take named initialState:. Write : super(initialState: 0), not : super(0).
  • emit is synchronous, and it skips a value equal to the current state.
  • add returns void. Synchronous handlers finish before add returns.
  • close() is idempotent, disposes effects created with createEffect, and drops events after closure.
  • Read raw values with stateValue (or value) inside methods and handlers. state returns a ReadonlySignal for reactive bindings.
  • BlocSignalProvider(create:) is lazy by default and owns its bloc. BlocSignalProvider.value does not own it.
  • context.watch<T>() tracks provider replacement, not state changes. Use BlocSignalBuilder to rebuild on state.
  • Never create an effect or computed inside build. Give it an explicit owner and a disposal path.
  • A global BlocSignalObserver is a single slot. Compose observers instead of replacing them.

Read the full file on GitHub · 44 lines

Files

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.

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. 19d ago First seen · 44 lines · 108 tokens per session scan A 4f8d131f3ca4

Subscribe to this mod's changes

bloc-signals is a skill published in the GitHub repository Poorgramer-Zack/dart-expert-skills (7 stars, last pushed 20d ago), licensed MIT. It adds 108 tokens to every session and 882 once invoked, about $0.0004 per session on Opus 5.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-11-11.

Related

bloc-signals compared with skills from other repositories

bloc-signals next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bloc-signalsPoorgramer-Zack/dart-expert-skillsSkill720d agoMITA108Claude Code, Codex
at_client_skills-sdkatsign-foundation/at_client_sdkSkill1.4ktodayBSD-3-ClauseA220Claude Code
at-telemetry-app-eventsatsign-foundation/at_client_sdkSkill1.4ktodayBSD-3-ClauseA121Claude Code, Codex
flutterericrisco/rsc-harnessSkill6825d agoMITA91Claude Code, Codex
flutter-mcp-toolkit-controlArenukvern/mcp_flutterSkill4014d agoMITA38Claude Code
flutter-mcp-toolkit-debugArenukvern/mcp_flutterSkill4014d agoMITA32Claude Code
flutter-mcp-e2e-harnessArenukvern/mcp_flutterSkill4014d agoMITA117Claude Code, Codex