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 skills add landim32/awesome-ai-skills --skill dotnet-authgit clone --depth 1 https://github.com/landim32/awesome-ai-skillsWrote 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.
[](https://agentmods.dev/skills/landim32/awesome-ai-skills/dotnet-auth)<a href="https://agentmods.dev/skills/landim32/awesome-ai-skills/dotnet-auth"><img src="https://agentmods.dev/badge/skills/landim32/awesome-ai-skills/dotnet-auth/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.
<a href="https://agentmods.dev/skills/landim32/awesome-ai-skills/dotnet-auth"><img src="https://agentmods.dev/badge/skills/landim32/awesome-ai-skills/dotnet-auth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00089 | $0.04447 |
| Opus 5.5 | $0.00036 | $0.01779 |
| Sonnet 5.5 | $0.00018 | $0.00889 |
| Haiku 4.5 | $0.00009 | $0.00445 |
Grade A, and why
dotnet-auth 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.
How it starts
The opening of the file, as written. The whole thing — 480 lines — stays where its author put it; the contents beside it link to each section on GitHub.
dotnet-auth — autenticação JWT em .NET
Padrão consolidado dos projetos .NET da emagine (finami, Roll6, ambrosio). Encaixa nas camadas
da skill dotnet-architecture (DTO → Infra.Interfaces → Domain → Infra → Application → API).
Entrada
Contexto opcional em $ARGUMENTS (ex.: "só login por email", "com roles", "SignalR"). Sem argumentos,
aplique o padrão completo: cadastro, login, me, roles opcionais.
0. Antes de começar
-
Leia a solução: nomes dos projetos (
{Project}.DTO,.Domain,.Infra.Interfaces,.Infra,.Application,.API), oStartup.csda Application, a entidade de usuário (se existir) e a forma como os controllers tratam erros. Siga o que já existe; este padrão preenche o que falta. -
A autenticação é sempre própria do projeto, com este padrão. Não usar NAuth (sistema legado): nada de pacote
NAuth,NAuthHandler,IUserClientou chamadas à API do NAuth em código novo. Multi-tenant com secret por tenant: combine comdotnet-multi-tenant. -
Pacotes:
Projeto Pacote {Project}.InfraSystem.IdentityModel.Tokens.Jwt8.x,Microsoft.Extensions.Identity.Core8.x{Project}.Application(ou API, onde estiver o DI)Microsoft.AspNetCore.Authentication.JwtBearer8.x
1. Decisões do padrão
| Item | Padrão |
|---|---|
| Esquema | Authorization: Bearer {token} — JwtBearerDefaults.AuthenticationScheme |
| Algoritmo | HS256 (SecurityAlgorithms.HmacSha256), chave Encoding.UTF8 do Jwt:Secret |
| Tamanho mínimo do secret | 32 bytes — a API não sobe com secret menor (fail-fast) |
| Expiração | 90 dias (Jwt:ExpirationDays = 90), configurável por ambiente (Jwt__ExpirationDays) |
| Validação | issuer, audience, lifetime e assinatura; ClockSkew = 1 min |
| Claims | sub (userId), email, name, jti; role (uma por papel) quando houver roles |
| Mapeamento de claims | MapInboundClaims = false (claims chegam com o nome curto: sub, email, role) |
| Senha | PasswordHasher<T> do ASP.NET Core Identity (PBKDF2-HMAC-SHA256 com salt), com rehash |
| Resposta do login | { token, expiresAt, user } — expiresAt em UTC, igual ao exp do token |
| Usuário logado | User.GetUserId() (claim sub) — nunca aceitar userId do body/query para "quem sou eu" |
| Refresh token | não há: ao expirar, o cliente faz login de novo |
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.
- 2d ago First seen · 480 lines · 89 tokens per session scan A baf1a42d60b4
dotnet-auth is a skill published in the GitHub repository landim32/awesome-ai-skills (1 stars, last pushed 2d ago), licensed MIT. It adds 89 tokens to every session and 4,447 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-11-28.
dotnet-auth compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dotnet-authlandim32/awesome-ai-skills | Skill | 1 | 2d ago | MIT | A | 89 | Claude Code |
| flask-expertJeffallan/claude-skills | Skill | 13k | today | MIT | A | 197 | Claude Code |
| api-designerJeffallan/claude-skills | Skill | 13k | today | MIT | A | 39 | Claude Code |
| laravel-specialistJeffallan/claude-skills | Skill | 13k | today | MIT | A | 86 | Claude Code |
| nestjs-expertJeffallan/claude-skills | Skill | 13k | today | MIT | A | 107 | Claude Code |
| firebase-expertJeffallan/claude-skills | Skill | 13k | today | MIT | A | 188 | Claude Code |
| django-expertJeffallan/claude-skills | Skill | 13k | today | MIT | A | 96 | Claude Code |