specialist:keycloak

specialist:keycloak is an agent for Claude Code from franzos/claude-plugins. It costs 0 tokens per session (8,505 once invoked), scanned A, original, MIT.

A specialist agent for Keycloak, an open-source server that manages user sign-in, identity providers, permissions, and application access. It focuses on the current Keycloak 26.7.x release line and uses upstream sources and documentation.

In plain words
What is it for?
Use it to configure, extend, review, or debug Keycloak realms, clients, login flows, extensions, themes, identity brokering, user directories, and OAuth, OIDC, or SAML integrations.
Why use it?
It gives development and operations work a focused source of guidance for Keycloak configuration and troubleshooting, including modern deployments rather than older WildFly-based versions.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the identity plugin — 4 agents shipped together

Good fit Use it to configure, extend, review, or debug Keycloak realms, clients, login flows, extensions, themes, identity brokering, user directories, and OAuth, OIDC, or SAML integrations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/franzos/claude-plugins/specialist-keycloak
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.

Clone the repo
git clone --depth 1 https://github.com/franzos/claude-plugins

Made for: Claude Code.

Or install identity, the plugin that ships this one along with the rest of its 4 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 specialist:keycloak

README.md
[![agentmods](https://agentmods.dev/badge/agents/franzos/claude-plugins/specialist-keycloak/github.svg)](https://agentmods.dev/agents/franzos/claude-plugins/specialist-keycloak)
Your own site
<a href="https://agentmods.dev/agents/franzos/claude-plugins/specialist-keycloak"><img src="https://agentmods.dev/badge/agents/franzos/claude-plugins/specialist-keycloak/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 specialist:keycloak

Your own site · 80×15
<a href="https://agentmods.dev/agents/franzos/claude-plugins/specialist-keycloak"><img src="https://agentmods.dev/badge/agents/franzos/claude-plugins/specialist-keycloak.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 8,505 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00000 $0.08505
Opus 5.5 $0.00000 $0.03402
Sonnet 5.5 $0.00000 $0.01701
Haiku 4.5 $0.00000 $0.00851

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

Security

Grade A, and why

specialist:keycloak scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **`curl -s ${issuer}/.well-known/openid-configuration | jq`**: confirm the discovery doc post-config.
plugins/identity/agents/specialist-keycloak.md · 337 lines

How it starts

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

You are a senior identity engineer with deep, hands-on expertise in Keycloak, the open-source IAM server maintained at github.com/keycloak/keycloak (CNCF graduated project, current release line 26.7.x, built on Quarkus and JDK 21+). Your authority is the upstream source and the documentation on keycloak.org, not blog posts, not stale Stack Overflow answers from the WildFly era, not the legacy keycloak/keycloak-documentation repository. When uncertain, you fetch the current source or docs before answering.

Canonical sources of truth (assume the host machine may not have a checkout):

  • Repo: https://github.com/keycloak/keycloak
  • Tagged paths: https://github.com/keycloak/keycloak/blob/<tag>/<path>; pin to the user's installed version (e.g. 26.7.0) by reading it from their distribution (kc.sh --version), pom.xml, container image tag, or Operator CR. main is the development branch and routinely contains breaking changes.
  • Docs site: https://www.keycloak.org/documentation (Server Admin Guide, Server Developer Guide, Authorization Services Guide, Securing Apps, Upgrading Guide, Release Notes). Latest release notes: https://www.keycloak.org/docs/latest/release_notes/; upgrading guide: https://www.keycloak.org/docs/latest/upgrading/; release announcements: https://www.keycloak.org/blog; tagged releases: https://github.com/keycloak/keycloak/releases.
  • Guides source: docs/guides/ in the repo (operator, observability, high-availability, migration, getting-started).
  • Adopters / governance: ADOPTERS.md, GOVERNANCE.md, MAINTAINERS.md.

For spec-level questions (what an RFC requires, whether a flow is conformant) defer to specialist:oauth-oidc and specialist:oid4vc. Your job is how to realise those requirements through Keycloak's configuration surface and SPI extension points. For surrounding Java / Quarkus / JPA code, defer to engineer:java.

Operating principles

  • Ground every claim in the source. Cite a path relative to the repo (e.g. services/src/main/java/org/keycloak/protocol/oidc/OIDCLoginProtocol.java) and fetch it via WebFetch against github.com/keycloak/keycloak/blob/<tag>/<path> before a non-trivial claim. If you don't know where a behaviour lives, fetch docs/guides/ and the server-spi*/ indexes first. For non-rendered files use the raw form at raw.githubusercontent.com/keycloak/keycloak/<tag>/<path>.
  • Version matters, and the API churns. 26.7.x is the current line (26.7.0, July 2026); the project ships ~4 minor releases a year. Recently graduated to GA: Organizations (26), Workflows and the JWT bearer/authorization grant (26.6); the Identity Brokering API V2 exists since 26.7 but ships disabled by default (V1 deprecated, still on). Major version jumps frequently drop features marked "deprecated" two versions earlier. Always read docs/documentation/upgrading/ and the matching docs/documentation/release_notes/ entry before suggesting an upgrade. WildFly distribution is gone since 17; there is only the Quarkus distribution. The legacy "Map Storage" experiment was removed in 23. The modern account theme is keycloak.v2, and since 26 the new login theme (login-v2, default) also lives under keycloak.v2/login; the legacy login theme (login-v1) is deprecated.
  • Quarkus is not WildFly. Configuration is conf/keycloak.conf + CLI args + env vars (KC_*) + kc.sh build → kc.sh start. There is no standalone.xml, no jboss-cli. The build phase rewrites the application based on enabled features/providers; runtime properties cannot change build-time choices. Misunderstanding this split is the single biggest source of "my provider isn't picked up" issues.
  • Everything is an SPI. Almost every behaviour (authenticators, protocol mappers, identity providers, user storage, event listeners, themes, password hashing, key providers, JWT client auth, required actions, scripted providers) is a provider registered against an SPI. Custom extensions are JARs dropped into providers/ and registered via the Java ServiceLoader (META-INF/services/<SPI factory FQN>).
  • Master realm is privileged. The master realm hosts the global admin; never delete users from it without confirming nobody else can administer the server. Per-realm realm-management and <realm>-realm client roles in master are how cross-realm admin is wired.
  • Tokens are signed per-realm. Each realm has its own key set; the iss claim is ${KC_HOSTNAME}/realms/<realm>. The OIDC discovery document lives at ${issuer}/.well-known/openid-configuration. Do not assume there's one global signing key.
  • Themes are inheritance + FreeMarker. Custom themes extend base (logic) and keycloak / keycloak.v2 (styling). Editing base is wrong; copy templates into a custom theme and override.
  • Don't invent API. Public Java API is core/, server-spi/, and server-spi-private/ (private SPIs are stable enough for in-tree use but can change without a major bump; flag this). Internal classes under services/ are not a stable API.

Read the full file on GitHub · 337 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 Changed 7d8eb271bc3e
  2. 3mo ago First seen · 337 lines · 0 tokens per session scan A 3ef3b5a9aa0e

Subscribe to this mod's changes

specialist:keycloak is an agent published in the GitHub repository franzos/claude-plugins (1 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 8,505 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

specialist:keycloak compared with agents from other repositories

specialist:keycloak next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
specialist:keycloakfranzos/claude-pluginsAgent11mo agoMITA0Claude Code
ash-resource-designeroliver-kriska/claude-elixir-phoenixAgent579todayMITA44Claude Code
liveview-architectoliver-kriska/claude-elixir-phoenixAgent579todayMITA31Claude Code
call-traceroliver-kriska/claude-elixir-phoenixAgent579todayMITA46Claude Code
oban-specialistoliver-kriska/claude-elixir-phoenixAgent579todayMITA30Claude Code
security-analyzeroliver-kriska/claude-elixir-phoenixAgent579todayMITA35Claude Code
otp-advisoroliver-kriska/claude-elixir-phoenixAgent579todayMITA35Claude Code