angular-signals-and-state

angular-signals-and-state is a skill for Claude Code from AgenticPawan/FullStack-Pilot. It costs 74 tokens per session (1,622 once invoked), scanned A, original, MIT.

A guide to managing Angular application state with signals, which are values that automatically notify dependent code when they change. It also covers when to use RxJS, Angular's library for asynchronous streams.

In plain words
What is it for?
Use it to design local or shared state with signal(), computed(), and effect(), and to connect signals with RxJS or asynchronous resource APIs.
Why use it?
It helps replace manually synchronized values and change notifications with clearer derived state, while preserving RxJS for cases where streams fit better.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Part of the pilot-angular plugin — 33 skills, 3 agents shipped together

Good fit Use it to design local or shared state with signal(), computed(), and effect(), and to connect signals with RxJS or asynchronous resource APIs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agenticpawan/fullstack-pilot/angular-signals-and-state
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 AgenticPawan/FullStack-Pilot --skill angular-signals-and-state
Clone the repo
git clone --depth 1 https://github.com/AgenticPawan/FullStack-Pilot

Made for: Claude Code.

Or install pilot-angular, the plugin that ships this one along with the rest of its 33 skills, 3 agents.

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 angular-signals-and-state

README.md
[![agentmods](https://agentmods.dev/badge/skills/agenticpawan/fullstack-pilot/angular-signals-and-state/github.svg)](https://agentmods.dev/skills/agenticpawan/fullstack-pilot/angular-signals-and-state)
Your own site
<a href="https://agentmods.dev/skills/agenticpawan/fullstack-pilot/angular-signals-and-state"><img src="https://agentmods.dev/badge/skills/agenticpawan/fullstack-pilot/angular-signals-and-state/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 angular-signals-and-state

Your own site · 80×15
<a href="https://agentmods.dev/skills/agenticpawan/fullstack-pilot/angular-signals-and-state"><img src="https://agentmods.dev/badge/skills/agenticpawan/fullstack-pilot/angular-signals-and-state.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,622 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.00074 $0.01622
Opus 5.5 $0.00030 $0.00649
Sonnet 5.5 $0.00015 $0.00324
Haiku 4.5 $0.00007 $0.00162

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

Security

Grade A, and why

angular-signals-and-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 3mo 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.

plugins/pilot-angular/skills/angular-signals-and-state/SKILL.md · 214 lines

How it starts

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

Core signal primitives

Prefer signals for local and shared synchronous state. Use signal() for mutable values, computed() for derived values that auto-update, and effect() only for side-effects that cannot be expressed reactively (e.g., writing to third-party DOM APIs).

BAD — class properties with manual change notifications

@Component({ changeDetection: ChangeDetectionStrategy.OnPush })
export class CartComponent {
  items: Product[] = [];          // plain array — no reactive tracking
  total = 0;

  addItem(p: Product) {
    this.items = [...this.items, p];
    this.total = this.items.reduce((s, x) => s + x.price, 0);  // manual sync
    this.cdr.markForCheck();       // manual notification
  }
}

GOOD — signals with derived computed value (Angular 17+)

@Component({ changeDetection: ChangeDetectionStrategy.OnPush })
export class CartComponent {
  items = signal<Product[]>([]);
  total = computed(() => this.items().reduce((s, x) => s + x.price, 0));

  addItem(p: Product) {
    this.items.update(list => [...list, p]);  // computed() updates automatically
  }
}

Signal inputs and outputs (stable Angular 19; developer preview 17.1)

BAD — decorator-based @Input with ngOnChanges

@Component({})
export class PriceComponent {
  @Input() price = 0;             // triggers ngOnChanges, not reactive
  @Input() currency = 'USD';
  formatted = '';

  ngOnChanges() {
    this.formatted = `${this.currency} ${this.price.toFixed(2)}`;
  }
}

GOOD — signal input with computed (Angular 17.1+, stable 19)

Read the full file on GitHub · 214 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. 3mo ago First seen · 214 lines · 74 tokens per session scan A 4f4bbf4ca431

Subscribe to this mod's changes

angular-signals-and-state is a skill published in the GitHub repository AgenticPawan/FullStack-Pilot (2 stars, last pushed 4mo ago), licensed MIT. It adds 74 tokens to every session and 1,622 once invoked, about $0.0003 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-08-31.

Related

angular-signals-and-state compared with skills from other repositories

angular-signals-and-state next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
angular-signals-and-stateAgenticPawan/FullStack-PilotSkill24mo agoMITA74Claude Code
release-notesphuryn/pm-skillsSkill28k22d agoMITA57Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3ktodayMITA78Claude Code
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.3ktodayMITA43Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3ktodayMITA46Claude Code
run-testsAzure/azure-sdk-for-javaSkill2.6ktodayMITA21Claude Code, Codex
azure-resource-visualizermicrosoft/skillsSkill3.3ktodayMITA59Claude Code