bwfc-identity-migration

bwfc-identity-migration is a skill for Claude Code, Codex from FritzAndFriends/BlazorWebFormsComponents. It costs 122 tokens per session (4,421 once invoked), scanned A, original, MIT.

A workflow guide for moving Web Forms login and user-management systems to Blazor Server Identity, the ASP.NET Core system for accounts, passwords, cookies, and roles. It covers older Membership, Forms Authentication, and OWIN-based Identity setups.

In plain words
What is it for?
Use it to migrate login, registration, logout, cookies, roles, authorization, and Web Forms login controls. It also maps older authentication systems to ASP.NET Core Identity.
Why use it?
It avoids authentication failures caused by using browser component events for cookie-based login operations and helps preserve existing login-control behavior and authorization rules.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to migrate login, registration, logout, cookies, roles, authorization, and Web Forms login controls. It also maps older authentication systems to ASP.NET Core Identity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fritzandfriends/blazorwebformscomponents/bwfc-identity-migration
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 FritzAndFriends/BlazorWebFormsComponents --skill bwfc-identity-migration
Clone the repo
git clone --depth 1 https://github.com/FritzAndFriends/BlazorWebFormsComponents

Made for: Claude Code, Codex.

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 bwfc-identity-migration

README.md
[![agentmods](https://agentmods.dev/badge/skills/fritzandfriends/blazorwebformscomponents/bwfc-identity-migration/github.svg)](https://agentmods.dev/skills/fritzandfriends/blazorwebformscomponents/bwfc-identity-migration)
Your own site
<a href="https://agentmods.dev/skills/fritzandfriends/blazorwebformscomponents/bwfc-identity-migration"><img src="https://agentmods.dev/badge/skills/fritzandfriends/blazorwebformscomponents/bwfc-identity-migration/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 bwfc-identity-migration

Your own site · 80×15
<a href="https://agentmods.dev/skills/fritzandfriends/blazorwebformscomponents/bwfc-identity-migration"><img src="https://agentmods.dev/badge/skills/fritzandfriends/blazorwebformscomponents/bwfc-identity-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,421 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 149
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
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.00122 $0.04421
Opus 5.5 $0.00049 $0.01768
Sonnet 5.5 $0.00024 $0.00884
Haiku 4.5 $0.00012 $0.00442

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

Security

Grade A, and why

bwfc-identity-migration 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 2mo 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.

migration-toolkit/skills/bwfc-identity-migration/SKILL.md · 504 lines

How it starts

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

Web Forms Identity → Blazor Identity Migration

Overview

Web Forms Auth System Era Blazor Migration Path
ASP.NET Identity (OWIN) 2013+ ASP.NET Core Identity (closest match)
ASP.NET Membership 2005-2013 Core Identity (schema migration required)
FormsAuthentication 2002-2005 Core Identity or cookie auth

Related: /bwfc-migration (markup), /bwfc-data-migration (EF/architecture)

Critical Rules

  1. Cookie auth requires HTTP endpoints — login/register/logout MUST use <form method="post"> + minimal API endpoints. Component event handlers (@onclick) silently fail for cookie operations in interactive mode.
  2. NEVER replace LoginView with AuthorizeView — BWFC LoginView uses AuthenticationStateProvider natively with same template names (AnonymousTemplate, LoggedInTemplate).
  3. DisableAntiforgery required — Blazor forms don't include antiforgery tokens. All auth endpoints must call .DisableAntiforgery().
  4. Session-based auth data works — Session["key"] via WebFormsPageBase.Session / SessionShim. Don't inject IHttpContextAccessor.

Quick Reference

BWFC Login Controls (drop-in replacements)

<Login />, <LoginName />, <LoginStatus />, <LoginView>, <CreateUserWizard />, <ChangePassword />, <PasswordRecovery />

Auth Endpoint Pattern

// Program.cs — login via HTTP POST (required for cookie auth)
app.MapPost("/Account/LoginHandler", async (HttpContext ctx, SignInManager<IdentityUser> sm) =>
{
    var form = await ctx.Request.ReadFormAsync();
    var result = await sm.PasswordSignInAsync(form["email"]!, form["password"]!, false, false);
    return result.Succeeded ? Results.Redirect("/") : Results.Redirect("/Account/Login?error=failed");
}).DisableAntiforgery();

Companion Documents

Document Content
IDENTITY-PATTERNS.md Cookie auth details, identity config steps, BWFC login controls, authorization patterns, endpoint templates, OWIN mapping, gotchas

Read the full file on GitHub · 504 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 504 lines · 122 tokens per session scan A adca366f8f1a

Subscribe to this mod's changes

bwfc-identity-migration is a skill published in the GitHub repository FritzAndFriends/BlazorWebFormsComponents (455 stars, last pushed 4mo ago), licensed MIT. It adds 122 tokens to every session and 4,421 once invoked, about $0.0005 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-30.

Related

bwfc-identity-migration compared with skills from other repositories

bwfc-identity-migration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bwfc-identity-migrationFritzAndFriends/BlazorWebFormsComponentsSkill4554mo agoMITA122Claude Code, Codex
vue-best-practicesTenon-Net/TenonAdminSkill4114d agoApache-2.0A81Claude Code, Codex
lumeoBrain2k-0005/LumeoSkill221mo agoMITA133Claude Code, Codex
agui-dotnet-streaming-chatag-ui-protocol/ag-uiSkill17kyesterdayMITA223Claude Code
azure-maps-search-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA91Claude Code
azure-mgmt-apicenter-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA97Claude Code
azure-ai-voicelive-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA92Claude Code