signals.dart: Skill for Claude Code

.agents/skills/signals_hooks/SKILL.md

signals_hooks is a skill for Claude Code, Codex from rodydavis/signals.dart. It costs 16 tokens per session (1,038 once invoked), scanned A, original, Apache-2.0.

Hook utilities that connect reactive signals with flutter_hooks, a Flutter library for managing widget state through hooks. They include hooks for mutable values, cached derived values, and effects.

In plain words
What is it for?
Use it in Flutter HookWidget components for local reactive state, memoized calculations, and side effects that respond to signal changes.
Why use it?
They let signal state follow the hook lifecycle and update dependent values when inputs change, reducing manual lifecycle code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is rodydavis/signals.dart's own configuration. It tells Claude Code and Codex how to work on signals.dart itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything signals.dart configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rodydavis/signals.dart. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rodydavis/signals.dart/main/.agents/skills/signals_hooks/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/rodydavis/signals.dart

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 signals_hooks

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rodydavis/signals.dart/signals_hooks"><img src="https://agentmods.dev/badge/skills/rodydavis/signals.dart/signals_hooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,038 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00016 $0.01038
Opus 5 $0.00008 $0.00519
Sonnet 5 $0.00003 $0.00208
Haiku 4.5 $0.00002 $0.00104

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

Security

Grade A, and why

signals_hooks 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 11d 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/skills/signals_hooks/SKILL.md · 46 lines

How it starts

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

Signals Hooks Skill

This skill provides comprehensive instructions and reference guidelines for utilizing signals_hooks package in Flutter applications. It integrates signals_flutter reactivity with the dynamic widget-state lifecycles of flutter_hooks.

Modern Positional Options API

In signals.dart v7, all hooks have been migrated to use a clean positional Options pattern instead of verbose named parameters. The positional parameters are structured as [keys, options]. To supply options (like name, autoDispose, or equality inside classes like SignalOptions, AsyncSignalOptions, or ListSignalOptions), they must be passed as the second positional optional argument, with the keys dependency list passed as the first positional optional argument (e.g., useSignal(value, const [], SignalOptions(name: 'counter'))).

Hook Reference Summary Table

Hook Name Options Type Description
useSignal SignalOptions Wraps a standard mutable Signal bound to the hook state lifecycle.
useComputed ComputedOptions Creates a read-only Computed signal that caches computed values and tracks changes.
useSignalEffect - Registers a side-effect callback that automatically disposes when the hook unmounts.
useExistingSignal - Safely binds an existing, external signal to automatically rebuild the widget on change.
useSignalValue - Directly extracts and watches the value of a signal, returning the unwrapped T value.
useFutureSignal AsyncSignalOptions Triggers an asynchronous callback and returns its result wrapped in a FutureSignal.
useStreamSignal AsyncSignalOptions Subscribes to a Stream and exposes its events via a StreamSignal.
useAsyncSignal AsyncSignalOptions Wraps an asynchronous task state inside a manageable AsyncSignal.
useAsyncComputed AsyncSignalOptions Creates a reactive computed signal driven by an asynchronous callback.
useValueNotifierToSignal SignalOptions Bridges a standard Flutter ValueNotifier to a mutable reactive Signal.
useValueListenableToSignal SignalOptions Bridges a standard Flutter ValueListenable to a read-only ReadonlySignal.
useListSignal ListSignalOptions Creates a reactive ListSignal for list collections.
useSetSignal SetSignalOptions Creates a reactive SetSignal for set collections.
useIterableSignal IterableSignalOptions Creates a reactive IterableSignal for iterable collections.
useMapSignal MapSignalOptions Creates a reactive MapSignal for key-value collections.
useTrackedSignal TrackedSignalOptions Creates a TrackedSignal that remembers its previous values.
useQueueSignal QueueSignalOptions Creates a reactive QueueSignal for queue collections.
useChangeStackSignal ChangeStackSignalOptions Creates a ChangeStackSignal that manages undo/redo history.
useLinkedSignal LinkedSignalOptions Creates a writable computed LinkedSignal bridging two signals.
useLazySignal SignalOptions Creates a LazySignal initialized lazily on first access.

Read the full file on GitHub · 46 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. 11d ago First seen · 46 lines · 16 tokens per session scan A 1af53c83a5b0

Subscribe to this mod's changes

signals_hooks is a skill published in the GitHub repository rodydavis/signals.dart (814 stars, last pushed yesterday), licensed Apache-2.0. It adds 16 tokens to every session and 1,038 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-08-30.

Related

Other skills, from other repositories

architecture-feature-first

Use when creating a feature, designing folder structure, adding repositories/services/view models, wiring dependency injection, or deciding which layer owns logic.

evanca/flutter-ai-rules · 31 tokens

flutter-use-column-row-first

Use when building any Flutter screen or component to choose responsive Row, Column, Expanded, Flexible, and Spacer layouts before fixed-size or coordinate-based alternatives.

evanca/flutter-ai-rules · 36 tokens

flutter-mcp-toolkit-maintain-web

Maintains fluttertestapp and intentcall web targets (Chrome, web codegen, WebMCP bootstrap, web-showcase, webmcp verify). Use when editing web/index.html, agentmanifest.json, intentcallwebmcp.generated.js, web platform sync, Chrome dogfood, or WebMCP modelContext.

Arenukvern/mcp_flutter · 74 tokens

flutter-expert

Expert in Flutter SDK, Dart, widgets, state management, and cross-platform mobile development. Use when the user mentions mobile, Dart, cross platform, UI, or state management, or when the task involves Flutter Architecture, Widget Fundamentals, State Management Approaches, or Lifecycle Methods.

personamanagmentlayer/pcl · 60 tokens

building-jaspr-web-apps

Builds SEO-friendly web applications with Dart using the Jaspr framework. Use when creating Dart-based websites, blogs, or landing pages requiring semantic HTML output; implementing server-side rendering (SSR) or static site generation (SSG); adding Tailwind CSS via jasprtailwind; routing with jasprrouter; testing…

Poorgramer-Zack/dart-expert-skills · 93 tokens

generating-flutter-ui

Generative UI (GenUI) for Flutter using AI models like Google Gemini, Anthropic Claude, or OpenAI via the genui package. Use this skill when building dynamic AI-driven interfaces, conversational UI flows, server-rendered screen layouts, LLM-powered dashboards, chat-based UI generation, or implementing prompt-to-UI…

Poorgramer-Zack/dart-expert-skills · 121 tokens