angular-authentication

angular-authentication is a skill for Claude Code from AgenticPawan/FullStack-Pilot. It costs 88 tokens per session (2,689 once invoked), scanned A, original, MIT.

A set of review rules for how an Angular single-page app signs users in through an identity provider or a .NET backend. It checks token storage, request handling, and token renewal.

In plain words
What is it for?
Use it to review Angular login flows, cookie and token handling, automatic authentication headers, and renewal of expired sessions.
Why use it?
It helps find authentication weaknesses, such as keeping login tokens where injected browser code can read them. It also separates proving who a user is from checking what that user may do.

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 review Angular login flows, cookie and token handling, automatic authentication headers, and renewal of expired sessions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agenticpawan/fullstack-pilot/angular-authentication
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-authentication
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-authentication

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/agenticpawan/fullstack-pilot/angular-authentication"><img src="https://agentmods.dev/badge/skills/agenticpawan/fullstack-pilot/angular-authentication.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,689 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.00088 $0.02689
Opus 5.5 $0.00035 $0.01076
Sonnet 5.5 $0.00018 $0.00538
Haiku 4.5 $0.00009 $0.00269

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

Security

Grade A, and why

angular-authentication 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 1mo 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-authentication/SKILL.md · 319 lines

How it starts

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

Rule reference

ID Standard Severity
NGAUTH-001 OWASP A07 block
NGAUTH-002 InternalPolicy warn
NGAUTH-003 InternalPolicy warn
NGAUTH-004 InternalPolicy warn
NGAUTH-005 InternalPolicy warn
NGAUTH-006 OWASP A07 block

NGAUTH-001 — Tokens in localStorage/sessionStorage instead of httpOnly cookies

localStorage and sessionStorage are readable by any script running in the page — one XSS gap anywhere in the app (or in a third-party script, see angular-third-party-scripts) is enough to exfiltrate every stored token. An httpOnly cookie set by the .NET backend is invisible to JavaScript entirely; the token never touches app code.

BAD — token stored and read from localStorage

// auth.service.ts
login(credentials: LoginRequest) {
  return this.http.post<TokenResponse>('/api/auth/login', credentials).pipe(
    tap(res => {
      localStorage.setItem('access_token', res.accessToken); // readable by any injected script
      localStorage.setItem('refresh_token', res.refreshToken);
    })
  );
}

getToken(): string | null {
  return localStorage.getItem('access_token');
}

GOOD — backend sets an httpOnly, Secure, SameSite cookie; Angular never sees the token

// .NET backend — Program.cs / AuthController
Response.Cookies.Append("access_token", accessToken, new CookieOptions
{
    HttpOnly = true,
    Secure = true,
    SameSite = SameSiteMode.Strict,
    Expires = DateTimeOffset.UtcNow.AddMinutes(15)
});
// auth.service.ts — Angular sends credentials, cookie is set/read by the browser automatically
login(credentials: LoginRequest) {
  return this.http.post<void>('/api/auth/login', credentials, { withCredentials: true });
  // No token is ever stored or read in JS — the cookie rides along on every request.
}

Read the full file on GitHub · 319 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. 1mo ago First seen · 319 lines · 88 tokens per session scan A 9bc11ab90f93

Subscribe to this mod's changes

angular-authentication is a skill published in the GitHub repository AgenticPawan/FullStack-Pilot (2 stars, last pushed 2mo ago), licensed MIT. It adds 88 tokens to every session and 2,689 once invoked, about $0.0004 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

Other skills, from other repositories

release-notes

Generate user-facing release notes from tickets, PRDs, or changelogs. Creates clear, engaging summaries organized by category (new features, improvements, fixes). Use when writing release notes, creating changelogs, announcing product updates, or summarizing what shipped.

phuryn/pm-skills · 57 tokens

brainstorm-experiments-existing

Design experiments to test assumptions for an existing product — prototypes, A/B tests, spikes, and other low-effort validation methods. Use when validating assumptions, testing feature ideas cheaply, or planning product experiments.

phuryn/pm-skills · 48 tokens

azure-mgmt-apicenter-dotnet

Azure API Center SDK for .NET. Centralized API inventory management with governance, versioning, and discovery. Use for creating API services, workspaces, APIs, versions, definitions, environments, deployments, and metadata schemas. Triggers: "API Center", "ApiCenterService", "ApiCenterWorkspace", "ApiCenterApi", "API…

microsoft/skills · 97 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

fastapi-router-py

Create FastAPI routers with CRUD operations, authentication dependencies, and proper response models. Use when building REST API endpoints, creating new routes, implementing CRUD operations, or adding authenticated endpoints in FastAPI applications.

microsoft/skills · 46 tokens