Andes.Extensions.AI: Command for Claude Code

.claude/commands/ngrx-signals-sync.md

ngrx-signals-sync is a command for Claude Code from Andes-Software-Solutions/Andes.Extensions.AI. It costs 24 tokens per session (991 once invoked), scanned A, original, MIT.

A command that checks whether the official NgRx Signals documentation has changed since the local guidance was recorded.

In plain words
What is it for?
Use it to check for documentation drift and, when changes are found, refresh the ngrx-signal-store guidance from the affected sources.
Why use it?
It prevents the related SignalStore guidance from quietly becoming outdated and avoids editing it when the check itself fails.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

This is Andes-Software-Solutions/Andes.Extensions.AI's own configuration. It tells Claude Code how to work on Andes.Extensions.AI 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 Andes.Extensions.AI configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node .claude/skills/ngrx-signal-store/scripts/check-updates.mjs --json.

Reuse

Borrowing it

Nothing to install: this file belongs to Andes-Software-Solutions/Andes.Extensions.AI. 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/Andes-Software-Solutions/Andes.Extensions.AI/main/.claude/commands/ngrx-signals-sync.md
Clone the repo
git clone --depth 1 https://github.com/Andes-Software-Solutions/Andes.Extensions.AI

Made for: Claude Code.

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 ngrx-signals-sync

README.md
[![agentmods](https://agentmods.dev/badge/commands/andes-software-solutions/andes.extensions.ai/ngrx-signals-sync/github.svg)](https://agentmods.dev/commands/andes-software-solutions/andes.extensions.ai/ngrx-signals-sync)
Your own site
<a href="https://agentmods.dev/commands/andes-software-solutions/andes.extensions.ai/ngrx-signals-sync"><img src="https://agentmods.dev/badge/commands/andes-software-solutions/andes.extensions.ai/ngrx-signals-sync/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 ngrx-signals-sync

Your own site · 80×15
<a href="https://agentmods.dev/commands/andes-software-solutions/andes.extensions.ai/ngrx-signals-sync"><img src="https://agentmods.dev/badge/commands/andes-software-solutions/andes.extensions.ai/ngrx-signals-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 991 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00024 $0.00991
Opus 5 $0.00012 $0.00495
Sonnet 5 $0.00005 $0.00198
Haiku 4.5 $0.00002 $0.00099

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

Security

Grade A, and why

ngrx-signals-sync scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Bash(node:*), Bash(curl:*), Bash(git status:*), Bash(git diff:*), Read, Edit, Glob, Grep
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/commands/ngrx-signals-sync.md · 67 lines

How it starts

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

Refresh the ngrx-signal-store skill against the official NgRx docs.

The skill is pinned to a snapshot recorded in .claude/skills/ngrx-signal-store/sources.json: a blob sha per upstream doc page, the @ngrx/signals version, and a mapsTo list saying which skill file each page feeds.

1. Check for drift

node .claude/skills/ngrx-signal-store/scripts/check-updates.mjs --json

Branch on the exit code — it is the contract:

  • 0 — up to date. Print the one-line summary and stop immediately. Do not read files, do not edit anything, do not touch git. This is the path that runs almost every week and it should cost close to nothing. Resist the urge to "just double-check" the references; the shas already did.
  • 1 — the check failed (network, rate limit, bad JSON). Report the error and stop. Do not edit anything on the basis of a failed check — a rate-limited run tells you nothing about upstream.
  • 10 — drift detected. Continue below.

If the user passed --check-only, print the drift report and stop here without editing.

2. Read what actually changed

The report gives you changed (pages whose content moved), added, removed, affectedFiles (the union of the changed pages' mapsTo), rawUrls, and a version delta.

Fetch only the changed pages:

curl -sSL <rawUrl>

Upstream markdown wraps code in ngrx-code-example, ngrx-code-tabs, and ngrx-docs-alert web components. Strip the wrappers, but read the inform and warn alerts carefully — that is where the official best-practice guidance lives, and a change to one of those is usually the most important thing in the diff.

3. Propagate only what matters

Read the affected skill file(s) named in affectedFiles and compare semantically.

Propagate: new, renamed, or removed APIs; a changed default; a changed recommendation; a new idiom in an example; a deprecation; a version bump.

Ignore: prose reflow, typo fixes, link changes, and site-chrome churn. A blob sha moves for all of those. Rewriting a reference file on every sha change is how the skill slowly degrades into a bad paraphrase of the docs — the sha tells you where to look, not what to write.

Read the full file on GitHub · 67 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 · 67 lines · 24 tokens per session scan A e750dd533b65

Subscribe to this mod's changes

ngrx-signals-sync is a command published in the GitHub repository Andes-Software-Solutions/Andes.Extensions.AI (9 stars, last pushed 7d ago), licensed MIT. It adds 24 tokens to every session and 991 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.