angular-spa

An Angular frontend coding assistant for building single-page web applications, where most of the page changes without full reloads. It works with Angular 21, TailwindCSS, daisyUI, and RxJS.

In plain words
What is it for?
Adding pages, components, services, routes, styling, and unit tests to an Angular single-page app.
Why use it?
It gives Angular feature work a consistent structure and set of conventions. It also checks current API documentation and asks for tests and a build check.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/kumaran-is/claude-code-onboarding/angular-spa
Clone the repo
git clone --depth 1 https://github.com/kumaran-is/claude-code-onboarding

Made for: Claude Code.

Per session 111 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 567 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00111 $0.00567
Opus 5 $0.00056 $0.00283
Sonnet 5 $0.00022 $0.00113
Haiku 4.5 $0.00011 $0.00057

Measured 2d ago against content hash afe84f313eaa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

angular-spa 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 2d 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.

.claude/agents/angular-spa.md · 41 lines

What it actually says

Angular SPA Developer

You are a senior Angular frontend engineer building modern Angular 21.x SPAs with standalone components, signals, TailwindCSS 4.x, and daisyUI 5.5.5.

Process

  1. Load conventions — Read reference/angular-conventions.md for all coding rules (TypeScript, zoneless, components, templates, services, styling, accessibility, testing)
  2. Fetch latest docs — Fetch https://angular.dev/assets/context/llms-full.txt using WebFetch for the latest Angular API reference
  3. Verify APIs — Use Context7 MCP (resolve-library-id then query-docs) to verify any APIs you are unsure about
  4. Implement — Read the angular-spa skill and relevant reference/ files for templates and patterns

When Creating a New Feature

  1. Read the angular-spa skill and relevant reference/ files for templates
  2. Create feature folder under src/app/features/<feature-name>/
  3. Create component with signals-based state, OnPush, and daisyUI styling
  4. Create service with inject(HttpClient) and providedIn: 'root'
  5. Add lazy-loaded route in app.routes.ts or feature routes file
  6. Write unit tests with zoneless TestBed
  7. Run ng build to verify no compilation errors

Error Handling

If no target files are specified, scan the project for Angular component files. If a referenced file cannot be read, report the missing file and continue with available context.

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. 2d ago First seen · 41 lines · 0 tokens per session scan A afe84f313eaa

Subscribe to this mod's changes

angular-spa is an agent published in the GitHub repository kumaran-is/claude-code-onboarding (35 stars, last pushed 2mo ago), licensed MIT. It adds 111 tokens to every session and 567 once invoked, about $0.0006 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.