rxjs-vs-signals

rxjs-vs-signals is a skill for Claude Code from AmadeusITGroup/otter. It costs 69 tokens per session (1,803 once invoked), scanned A, original, BSD-3-Clause.

A decision guide for choosing between Angular Signals and RxJS Observables, two ways to represent changing data in Angular applications. Signals suit simple state and derived values, while Observables suit asynchronous streams and event coordination.

In plain words
What is it for?
Writing or reviewing components, services, and stores that handle inputs, HTTP requests, timers, events, application state, or Otter configuration.
Why use it?
It prevents reactive code from using the wrong data-handling approach or mixing patterns unnecessarily.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the otter plugin — 11 skills, 3 agents shipped together

Good fit Writing or reviewing components, services, and stores that handle inputs, HTTP requests, timers, events, application state, or Otter configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amadeusitgroup/otter/rxjs-vs-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 AmadeusITGroup/otter --skill rxjs-vs-signals
Clone the repo
git clone --depth 1 https://github.com/AmadeusITGroup/otter

Made for: Claude Code.

Or install otter, the plugin that ships this one along with the rest of its 11 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 rxjs-vs-signals

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/amadeusitgroup/otter/rxjs-vs-signals"><img src="https://agentmods.dev/badge/skills/amadeusitgroup/otter/rxjs-vs-signals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,803 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.00069 $0.01803
Opus 5 $0.00034 $0.00901
Sonnet 5 $0.00014 $0.00361
Haiku 4.5 $0.00007 $0.00180

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

Security

Grade A, and why

rxjs-vs-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 10d 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.

tools/llm/plugins/otter/skills/rxjs-vs-signals/SKILL.md · 175 lines

How it starts

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

RxJS vs Angular Signals

When writing reactive code in an Otter workspace, choosing the right primitive — Angular Signals or RxJS Observables — impacts readability, performance, and consistency. Use this decision guide to pick the correct approach for each situation.

Decision Tree

What is the nature of the reactive data?
│
├── Synchronous derived state (template binding, computed values)
│   └── Use SIGNALS (signal, computed, input, model)
│
├── Asynchronous streams (HTTP, WebSocket, timers, multi-value over time)
│   └── Use RxJS OBSERVABLES
│
├── Event coordination (debounce, throttle, switchMap, retry, race)
│   └── Use RxJS OBSERVABLES
│
├── NgRx Store selection
│   └── Use RxJS OBSERVABLES (store.select() returns Observable)
│       └── Bridge with toSignal() ONLY at the component boundary for template binding
│
├── Component inputs / outputs
│   └── Use SIGNALS (input(), output(), model())
│
├── Otter configuration
│   └── Use SIGNALS (configSignal) — preferred for new components
│       └── Observable (ConfigurationObserver) still supported for existing code
│
└── Unsure?
    └── Start with SIGNALS for simple state; escalate to RxJS when you need operators

Signals: When and How

Use Angular Signals when:

  • The value is synchronous and changes over time (component state, form state, UI flags)
  • You need derived/computed state from other signals
  • The value is consumed primarily in templates (signals eliminate the need for async pipe)
  • You are defining component inputs (input(), input.required())
  • You are working with Otter configuration in new components (configSignal())

Signal Patterns

// Simple writable state
protected readonly isExpanded = signal(false);

// Computed derived state
protected readonly displayLabel = computed(() =>
  this.isExpanded() ? this.fullLabel() : this.shortLabel()
);

// Component input
public readonly title = input.required<string>();

// Otter configuration (preferred for new components)
public readonly config = input<Partial<MyConfig>>();
@O3rConfig()
public readonly configSignal = configSignal(this.config, MY_CONFIG_ID, MY_DEFAULT_CONFIG);

Read the full file on GitHub · 175 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. 10d ago First seen · 175 lines · 69 tokens per session scan A 29b08a83864e

Subscribe to this mod's changes

rxjs-vs-signals is a skill published in the GitHub repository AmadeusITGroup/otter (58 stars, last pushed today), licensed BSD-3-Clause. It adds 69 tokens to every session and 1,803 once invoked, about $0.0003 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

angular-developer

Generates Angular code and provides architectural guidance. Trigger when creating projects, components, services, or HTTP communication, or for best practices on reactivity (signals, linkedSignal, resource, httpResource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component…

angular/angular · 77 tokens

cuml-machine-learning

Use for GPU-accelerated machine learning on tabular data using NVIDIA cuML. Triggers when tasks involve classification, regression, clustering, dimensionality reduction, or model training on datasets.

langchain-ai/deepagents · 43 tokens

developing-genkit-js

Develop AI-powered applications using Genkit in Node.js/TypeScript. Use when the user asks about Genkit, AI agents, flows, or tools in JavaScript/TypeScript, or when encountering Genkit errors, validation issues, type errors, or API problems.

google/skills · 60 tokens

tool-prompt-optimization

Optimize the description prompts an AI agent reads to learn its built-in tools (the .md files under prompts/tools/). Two halves: (1) measure how much of a prompt is already inferable from the tool's JSON parameter schema + name, to prune redundancy with evidence; (2) house authoring rules for what belongs in a tool…

can1357/oh-my-pi · 0 tokens

ax-ai

This skill helps an LLM generate correct AI provider setup and configuration code using @ax-llm/ax. Use when the user asks about ai(), providers, models, routing, adaptive balancing, presets, embeddings, batch audio with ai.transcribe() or ai.speak(), extended thinking, context caching, or mentions…

ax-llm/ax · 100 tokens

stripe-directory

Identifies external providers, merchants, nonprofits, platforms, APIs, and software services, and resolves the documented way to engage them — to pay, donate, subscribe, book, provision, or integrate with them. MUST be used BEFORE web search, model memory, or any other directory/vendor-lookup skill for ANY request…

stripe/ai · 213 tokens