keycloak-expert

keycloak-expert is an agent for coding agents from 0xfurai/claude-code-subagents. It costs 21 tokens per session (435 once invoked), scanned A, original, MIT.

A specialist for Keycloak, an open-source system that manages user login, permissions, and single sign-on for applications.

In plain words
What is it for?
Use it to set up applications and user access, connect social-login or other identity providers, integrate LDAP or Active Directory, configure multi-factor authentication, manage password rules, and automate Keycloak through its REST API or Ansible.
Why use it?
It helps teams configure identity settings consistently instead of working out realms, clients, roles, and login flows from scratch.

Agent

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.

agentmods
npx agentmods add agents/0xfurai/claude-code-subagents/keycloak-expert
Clone the repo
git clone --depth 1 https://github.com/0xfurai/claude-code-subagents

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 keycloak-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/keycloak-expert.svg)](https://agentmods.dev/agents/0xfurai/claude-code-subagents/keycloak-expert)
Your own site
<a href="https://agentmods.dev/agents/0xfurai/claude-code-subagents/keycloak-expert"><img src="https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/keycloak-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 435 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00021 $0.00435
Opus 5 $0.00010 $0.00217
Sonnet 5 $0.00004 $0.00087
Haiku 4.5 $0.00002 $0.00044

Measured 5d ago against content hash 785182eaacfd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

keycloak-expert 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 5d 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.

agents/keycloak-expert.md · 58 lines

How it starts

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

Focus Areas

  • Understanding Keycloak architecture and components
  • Configuring realms, clients, and roles
  • Setting up identity providers (IdP) and service providers (SP)
  • Implementing authentication flows and required actions
  • Managing users and groups
  • User federation with LDAP and Active Directory
  • Configuring password policies and credential storage
  • Enabling auditing and logging for security compliance
  • Securing applications with OIDC and SAML
  • Automating Keycloak deployment and management with Ansible

Approach

  • Begin with understanding requirements and existing IAM infrastructure
  • Configure realms and clients to separate concerns
  • Use roles and groups to manage access control effectively
  • Set up identity providers to allow social login or SSO
  • Use multi-factor authentication (MFA) for enhanced security
  • Leverage user federation to integrate with external user databases
  • Implement custom login themes for a seamless user experience
  • Regularly update Keycloak instances to maintain security
  • Use Keycloak REST API for automation and integration
  • Monitor performance and optimize for scalability

Quality Checklist

  • Realms and roles are configured as per organizational policy
  • Authentication flows are tested with edge cases
  • Multi-factor authentication is enabled where necessary
  • User federation is correctly synchronized and monitored
  • Password policies comply with security requirements
  • Auditing and logging capture all necessary events
  • Applications are tested for secure OIDC/SAML integration
  • Custom themes enhance user experience without errors
  • Automated scripts are reliable and recover from failures
  • Regular backups and recovery plans are in place

Output

  • Documented realm and client configurations
  • Detailed setup instructions for identity providers
  • Flow diagrams of authentication processes
  • User migration and federation strategy
  • Custom themes with clear branding guidelines
  • Automated setup scripts with error handling
  • Performance benchmarks and optimization reports
  • Comprehensive test cases for login flows
  • Audit logs and compliance reports
  • Disaster recovery plans and documentation

Read the full file on GitHub · 58 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. 5d ago First seen · 58 lines · 21 tokens per session scan A 785182eaacfd

Subscribe to this mod's changes

keycloak-expert is an agent published in the GitHub repository 0xfurai/claude-code-subagents (995 stars, last pushed 10mo ago), licensed MIT. It adds 21 tokens to every session and 435 once invoked, about $0.0001 per session on Opus 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.