duende-skills
Health Warn
- License — License: NOASSERTION
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 6 GitHub stars
Code Fail
- rm -rf — Recursive force deletion command in scripts/run-all-evals.sh
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
A set of skills focused on helping agents build Duende IdentityServer solutions.
Duende Agent Skills
A set of agent skills and specialized agents for Duende IdentityServer, Backend-for-Frontend (BFF), and identity/access management development. Covers OAuth 2.0, OpenID Connect, Duende, token management, ASP.NET Core authentication and authorization, and related skills needed to build production-grade identity infrastructure.
Your Feedback 🗣️
We would love to hear your feedback about these skills! What's working? What's not? What's missing?
For questions, feedback, or community discussions, visit the Duende Community.
Installation
You can use several AI coding assistants that support skills/agents.
Claude Code (CLI)
Run these commands inside the Claude Code CLI:
/plugin marketplace add DuendeSoftware/duende-skills
/plugin install duende-skills
To update:
/plugin marketplace update
Recommended: Also install dotnet-skills for general .NET development coverage:
/plugin marketplace add Aaronontheweb/dotnet-skills /plugin install dotnet-skills
GitHub Copilot
Clone or copy skills to your project or global config:
Project-level (recommended):
git clone https://github.com/DuendeSoftware/duende-skills.git /tmp/duende-skills
cp -r /tmp/duende-skills/skills/* .github/skills/
Global (all projects):
mkdir -p ~/.copilot/skills
cp -r /tmp/duende-skills/skills/* ~/.copilot/skills/
Recommended: Also install dotnet-skills for general .NET development coverage.
OpenCode
git clone https://github.com/DuendeSoftware/duende-skills.git /tmp/duende-skills
# Global installation (directory names must match frontmatter 'name' field)
mkdir -p ~/.config/opencode/skills ~/.config/opencode/agents
for skill_file in /tmp/duende-skills/skills/*/SKILL.md; do
skill_dir=$(dirname "$skill_file")
skill_name=$(grep -m1 "^name:" "$skill_file" | sed 's/name: *//')
mkdir -p ~/.config/opencode/skills/$skill_name
cp "$skill_file" ~/.config/opencode/skills/$skill_name/SKILL.md
# Copy bundled resources (docs/, references/, etc.) if present
find "$skill_dir" -mindepth 1 -maxdepth 1 -type d -exec cp -r {} ~/.config/opencode/skills/$skill_name/ \;
done
cp /tmp/duende-skills/agents/*.md ~/.config/opencode/agents/
Recommended: Also install dotnet-skills for general .NET development coverage.
Skills Library
Identity & OAuth
| Skill | Description |
|---|---|
aspnetcore-authentication |
ASP.NET Core authentication middleware — OIDC, JWT Bearer, cookies, schemes, external providers |
aspnetcore-authorization |
ASP.NET Core authorization — policies, IAuthorizationHandler, scope-based API authz, minimal APIs |
claims-authorization |
Claims-based authorization — policies, requirement handlers, resource-based authz, claims transformation |
duende-bff |
Backend-for-Frontend security framework for SPAs — session management, API proxying, token management |
identity-security-hardening |
Security hardening — key rotation, HTTPS, CORS, CSP, rate limiting, token lifetime tuning |
identity-testing-patterns |
Testing IdentityServer integrations — WebApplicationFactory, mock token issuance, protocol validation |
identityserver-api-protection |
Protecting APIs — JWT bearer authentication, reference token introspection, scope-based authorization, DPoP/mTLS proof-of-possession, local API auth |
identityserver-aspire |
Aspire AppHost orchestration — dependency graphs, authority URL wiring, health checks, multi-instance |
identityserver-configuration |
IdentityServer host configuration — clients, resources, scopes, signing credentials, server-side sessions, client types (M2M, interactive, SPA), grant types, API Scopes vs API Resources vs Identity Resources, and client authentication methods |
identityserver-dcr |
Dynamic Client Registration — endpoint setup, validation, software statements, client stores |
identityserver-deployment |
Production deployment — reverse proxy configuration, data protection, health checks, distributed caching, OpenTelemetry, logging |
identityserver-hosting-setup |
Setting up and hosting IdentityServer — DI registration, middleware pipeline, hosting patterns, license configuration, ASP.NET Identity integration |
identityserver-key-management |
Cryptographic signing keys — automatic key management, data protection at rest, static key configuration, multi-instance deployment |
identityserver-saml |
SAML 2.0 Identity Provider — service provider registration, SSO/SLO flows, claim mappings, extensibility, production stores |
identityserver-sessions-providers |
Server-side sessions, session management/querying, inactivity timeout, dynamic identity providers, CIBA |
identityserver-stores |
Persistent stores — EF Core configuration/operational stores, migrations, custom implementations |
identityserver-token-lifecycle |
Token types, refresh token management, token exchange (RFC 8693), extension grants, IProfileService claims, lifetime best practices |
identityserver-token-security |
Advanced token security — DPoP, mTLS certificate binding, Pushed Authorization Requests (PAR), JAR, FAPI 2.0 compliance |
identityserver-ui-flows |
Login, logout, consent, error, and federation gateway UI pages — IIdentityServerInteractionService, external providers, Home Realm Discovery |
identityserver-upgrade-v7-to-v8 |
Upgrading from IdentityServer v7 to v8 — HybridCache, TimeProvider, CancellationToken, EF migrations, breaking changes |
identityserver-usermanagement |
Duende User Management — passwordless auth (OTP, TOTP, passkeys), storage, IdentityServer integration, ASP.NET Identity migration |
identityserver4-migration |
Migrating from IdentityServer4 to Duende IdentityServer v8 — NuGet packages, namespaces, API changes, EF Core schema migrations, signing keys, license configuration |
oauth-oidc-protocols |
OAuth 2.0 and OpenID Connect fundamentals — flows, PKCE, discovery, JWKS, introspection |
token-management |
Token lifecycle with Duende.AccessTokenManagement — caching, refresh, DPoP, HttpClientFactory integration |
Looking for general .NET skills? C# coding standards, concurrency patterns, EF Core, database performance, Aspire configuration, dependency injection, Playwright testing, snapshot testing, project structure, package management, and more are available in dotnet-skills.
Agents
| Agent | Description |
|---|---|
identity-server-specialist |
Expert in Duende IdentityServer configuration, deployment, and troubleshooting. Clients, token flows, stores, key rotation, protocol compliance. |
oauth-oidc-specialist |
Expert in OAuth 2.0 and OpenID Connect specifications. RFC guidance, flow selection, protocol debugging, security analysis, FAPI compliance. |
Skill Evaluation Benchmarks
Each skill is evaluated using 5–12 realistic prompts with concrete assertions. Every prompt is answered with the skill loaded and without it (baseline), then graded against the assertions. This measures the incremental value each skill provides over general LLM knowledge.
Run evals for all skills using GitHub Models (via gh CLI):
./scripts/run-evals.sh --iteration 3 --verbose
Results — June 1, 2026 (claude-opus-4-20250514)
227 evals across 24 skills — 1011 total assertions
| With Skill | Without Skill | Delta | |
|---|---|---|---|
| Overall | 1011/1011 (100%) | 585/1011 (57.9%) | +42.1% |
| Skill | Evals | With Skill | Without Skill | Delta | Prev Delta |
|---|---|---|---|---|---|
identityserver-saml |
8 | 35/35 (100%) | 4/35 (11.4%) | +88.6% | +77.1% |
identityserver-token-security |
8 | 36/36 (100%) | 9/36 (25.0%) | +75.0% | +75.0% |
identityserver-aspire |
7 | 32/32 (100%) | 9/32 (28.1%) | +71.9% | +71.9% |
identityserver-usermanagement |
7 | 29/29 (100%) | 9/29 (31.0%) | +69.0% | new |
duende-bff |
14 | 63/63 (100%) | 25/63 (39.7%) | +60.3% | +60.3% |
identityserver-api-protection |
7 | 31/31 (100%) | 14/31 (45.2%) | +54.8% | +54.8% |
identityserver-deployment |
8 | 34/34 (100%) | 16/34 (47.1%) | +54.0% | +54.0% |
identityserver-dcr |
8 | 39/39 (100%) | 18/39 (46.2%) | +53.8% | +53.8% |
identityserver-upgrade-v7-to-v8 |
7 | 29/29 (100%) | 14/29 (48.3%) | +51.7% | new |
token-management |
13 | 57/57 (100%) | 30/57 (52.6%) | +48.0% | +48.0% |
identityserver-ui-flows |
7 | 30/30 (100%) | 16/30 (53.3%) | +46.7% | +46.7% |
identityserver-token-lifecycle |
8 | 36/36 (100%) | 20/36 (55.6%) | +44.4% | +44.4% |
identityserver-stores |
12 | 56/56 (100%) | 33/56 (58.9%) | +41.1% | +41.1% |
identityserver-hosting-setup |
8 | 36/36 (100%) | 21/36 (58.3%) | +41.0% | +41.0% |
claims-authorization |
9 | 40/40 (100%) | 25/40 (62.5%) | +37.0% | +37.0% |
identityserver-sessions-providers |
8 | 37/37 (100%) | 24/37 (64.9%) | +35.1% | +35.1% |
aspnetcore-authentication |
8 | 32/32 (100%) | 22/32 (68.8%) | +31.3% | +31.3% |
identityserver4-migration |
15 | 69/69 (100%) | 50/69 (72.5%) | +27.0% | +27.0% |
identity-security-hardening |
8 | 37/37 (100%) | 29/37 (78.4%) | +22.0% | +22.0% |
identityserver-configuration |
16 | 71/71 (100%) | 56/71 (78.9%) | +21.1% | +21.1% |
identity-testing-patterns |
10 | 47/47 (100%) | 38/47 (80.9%) | +19.2% | +19.2% |
identityserver-key-management |
8 | 32/32 (100%) | 30/32 (93.8%) | +6.0% | +6.0% |
oauth-oidc-protocols |
8 | 37/37 (100%) | 35/37 (94.6%) | +5.4% | +5.4% |
aspnetcore-authorization |
7 | 31/31 (100%) | 30/31 (96.8%) | +3.2% | +3.2% |
Key findings:
- Highest-value skills (>50% delta): SAML (+88.6%), token security, Aspire, User Management (+69.0% new), BFF, API protection, deployment, DCR, Upgrade v7→v8 (+51.7% new) — deeply Duende-specific knowledge where baseline LLM knowledge falls short.
- Moderate-value skills (20–50% delta): Token management, UI flows, token lifecycle, stores, hosting setup, claims authorization, sessions, authentication, migration, security hardening, configuration, testing patterns — specialized patterns that improve precision significantly.
- Lower-delta skills (<20%): Key management, OAuth/OIDC protocols, authorization — well-known patterns where baseline model knowledge is already strong, but skills still close remaining gaps.
- New skills (v8 update): SAML rewrite improved delta from +77.1% to +88.6% (v8 APIs are even more specialized). User Management and Upgrade skills both show high value as expected for brand-new Duende-specific APIs.
Key Principles
- Security by Default — PKCE enforced, no implicit flow, short-lived access tokens, refresh token rotation
- Protocol Compliance — OAuth 2.0 Security BCP, OpenID Connect Core, RFC-grounded guidance
- Type Safety — Strongly-typed IDs for clients, resources, scopes; nullable reference types throughout
- Testable Architecture — DI everywhere, WebApplicationFactory for integration tests, no static state
- Production Patterns — Key rotation, data protection, health checks, structured logging
Support
For questions, feedback, or community discussions, visit the Duende Community.
Contributing
When adding new skills, use the appropriate prefix:
identityserver-*for IdentityServer configuration/storesduende-*for Duende product integrations (BFF, AccessTokenManagement)aspnetcore-*for ASP.NET Core auth/authzidentity-*for cross-cutting identity concernsoauth-*/token-*/claims-*for protocol and authz skills
General .NET skills (C#, EF Core, Aspire, DI, etc.) belong in dotnet-skills, not here. This repo focuses exclusively on identity, authentication, and authorization.
See CLAUDE.md for the full contribution workflow.
License
MIT License — Copyright (c) Duende Software.
Based on dotnet-skills, Copyright (c) Aaron Stannard.
Disclaimer
Duende's AI developer tools (including the Duende Documentation MCP Server and Duende Agent Skills) are designed
to provide Large Language Models (LLMs) with verified, structured context from Duende's documentation and product knowledge.
These tools improve the quality and relevance of AI-assisted development with Duende products, including IdentityServer,
BFF and our Open Source offerings, but they do not guarantee the correctness, security, or completeness
of AI-generated output. All code, configuration, and architectural decisions produced with the assistance of these tools
must be reviewed and validated by qualified developers before deployment to any environment.
Duende Software is not responsible for AI-generated output that results from the use of these tools.
Duende Agent Skills provide structured task capabilities to LLM agents for common development workflows.
Skills are designed to reduce implementation errors, but they operate within the LLM's reasoning process and are subject
to the LLM's limitations. Skill outputs (including generated code, configuration, and recommendations) should be treated
as developer assistance, not as production-ready artifacts. Test all skill outputs thoroughly in your own environment
before deploying to staging or production.
Skills Index
The following is metadata about the skills that can be used and parsed by various AI agents/tools. This section is maintained by the ./scripts/generate-skills-index.sh script.
[duende-skills]|IMPORTANT: Prefer retrieval-led reasoning over pretraining for any identity/auth/.NET work.
|flow:{skim repo patterns -> consult duende-skills by name -> implement smallest-change -> note conflicts}
|route:
|identity:{duende-bff,identity-security-hardening,identityserver-api-protection,identityserver-aspire,identityserver-configuration,identityserver-dcr,identityserver-deployment,identityserver-hosting-setup,identityserver-key-management,identityserver-saml,identityserver-sessions-providers,identityserver-stores,identityserver-token-lifecycle,identityserver-token-security,identityserver-ui-flows,identityserver-upgrade-v7-to-v8,identityserver-usermanagement,identityserver4-migration}
|oauth:{claims-authorization,oauth-oidc-protocols,token-management}
|aspnetcore:{aspnetcore-authentication,aspnetcore-authorization}
|testing:{identity-testing-patterns}
|agents:{identity-server-specialist,oauth-oidc-specialist}
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found