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.
npx agentmods add agents/sap/fundamental-ngx/angular-patternsgit clone --depth 1 https://github.com/SAP/fundamental-ngxWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.03847 |
| Opus 5 | $0.00000 | $0.01924 |
| Sonnet 5 | $0.00000 | $0.00769 |
| Haiku 4.5 | $0.00000 | $0.00385 |
Grade A, and why
angular-patterns 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 661 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Angular 22+ Patterns - Detailed Reference
This document provides detailed patterns and examples for Angular 22+ development in the Fundamental NGX project.
Table of Contents
- Signal Inputs, Outputs, and Models
- Computed Signals
- LinkedSignal - Mutable Derived State
- Effects
- Host Bindings
- Queries
- Render Lifecycle Hooks
- Resource API (Experimental)
- Migrating from CssClassBuilder
- Component Member Ordering
Signal Inputs, Outputs, and Models
input() - Read-only signal inputs
// Optional with default value
readonly name = input<string>('');
// Required input (throws if not provided)
readonly id = input.required<string>();
// With transform function
readonly count = input(0, { transform: numberAttribute });
readonly disabled = input(false, { transform: booleanAttribute });
// Reading the value (call like a function)
const currentName = this.name();
output() - Event emitters
// Define outputs
readonly clicked = output<MouseEvent>();
readonly valueChange = output<string>();
readonly closed = output<void>();
// Emit events
this.clicked.emit(event);
this.valueChange.emit('new value');
this.closed.emit();
model() - Two-way binding
// Optional with default
readonly value = model<number>(0);
// Required model
readonly selected = model.required<boolean>();
// Update model value
this.value.set(10);
this.value.update(v => v + 1);
// In parent template:
<child [(value)]="parentValue" />
Computed Signals
Basic Usage
protected readonly fullName = computed(() =>
`${this.firstName()} ${this.lastName()}`
);
// Multiple dependencies
protected readonly total = computed(() =>
this.price() * this.quantity()
);
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.
- yesterday First seen · 661 lines · 0 tokens per session scan A 43df71639741
angular-patterns is an agent published in the GitHub repository SAP/fundamental-ngx (294 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 3,847 tokens. 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.
Other agents, from other repositories
bug-fixing-orchestrator-agent
Orchestrates bug fixing for igniteui-angular. Discovers scope and root cause, routes work to specialist agents, verifies completeness. Handles edge cases, escalation, and multi-branch fixes.
feature-orchestrator-agent
Orchestrates feature implementation for igniteui-angular. Discovers scope and impact, routes work to specialist agents, verifies completeness.
bug-fixing-implementer-agent
Implements the minimum fix (GREEN phase) for bugs in igniteui-angular. Preserves the public API, accessibility, and localization. Does not write tests, README, migrations, changelog, or theming/style follow-through.
feature-implementer-agent
Implements features (GREEN phase) and refactors for quality in igniteui-angular. Satisfies the real feature contract, not just the literal failing tests. Does not own theming/style follow-through.
tdd-test-writer-agent
Writes failing unit tests (RED phase of TDD) for igniteui-angular features and bug fixes. Creates tests before any production code exists.
theming-styles-agent
Implements component theming and style changes for igniteui-angular, including in-repo SCSS, theme wiring, and style validation.