Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/atretyak1985/swarmerynpx agentmods add skills/atretyak1985/swarmery/keycloakWrote 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/atretyak1985/swarmery/keycloak)<a href="https://agentmods.dev/skills/atretyak1985/swarmery/keycloak"><img src="https://agentmods.dev/badge/skills/atretyak1985/swarmery/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.
<a href="https://agentmods.dev/skills/atretyak1985/swarmery/keycloak"><img src="https://agentmods.dev/badge/skills/atretyak1985/swarmery/keycloak.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.00087 | $0.03271 |
| Opus 5 | $0.00044 | $0.01636 |
| Sonnet 5 | $0.00017 | $0.00654 |
| Haiku 4.5 | $0.00009 | $0.00327 |
Grade A, and why
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 7d 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.
- For `debug-auth`: ordered diagnosis steps with specific kubectl/curl commands How it starts
The opening of the file, as written. The whole thing — 288 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
Provide Keycloak identity and access management patterns for the platform. Cover realm setup, client configuration for Auth.js v5 in the web portal repo (project.json → mainApp), two-stage Helm deployment (init/full), bootstrap admin recovery, issuer mismatch fixes, and NetworkPolicy requirements. For Helm chart template authoring beyond Keycloak values, defer to helm-chart-expert. For GCP firewall or ingress debugging, defer to kubernetes-deployment.
When to use
- Configuring the
<keycloak-realm>realm, clients, roles, or groups in Keycloak - Integrating Auth.js v5 with Keycloak OIDC in the web portal
- Setting up Keycloak Helm values (init stage or full stage with ingress)
- Debugging Auth.js
error=Configurationor issuer mismatch (issclaim) - Recovering from bootstrap admin failures (existing database, OOM-kill)
- Configuring NetworkPolicy for ingress-to-Keycloak traffic
When NOT to use
- Authoring Helm chart templates or
_helpers.tpl-- usehelm-chart-expert - Debugging GCP firewall rules or minikube tunnel -- use
kubernetes-deployment - Checking migration safety -- use
migration-check - Detecting IaC config drift -- use
infrastructure-as-code
Required environment
- Runtime:
.claude/skills/keycloak/SKILL.md - Tools:
kubectl,helm,bash - Keycloak version: 26.x (codecentric/keycloakx Helm chart)
- Setup script: the infrastructure repo's
files/keycloak/setup-keycloak.sh(or the project's equivalent) - Namespace: environment-specific (
<infra-namespace>)
Inputs
operation: enum-- one of:realm-setup,auth-integration,debug-auth,bootstrap-recovery,helm-valuesenvironment: string-- target environment (localdev,<envAlias>, prod)symptom: string(optional) -- error message or behavior being debugged
Outputs
- Format: configuration YAML, Auth.js TypeScript code, or a diagnostic command sequence
- Length budget: max 150 lines per response; for multi-operation tasks, produce one section per operation
- For
debug-auth: ordered diagnosis steps with specific kubectl/curl commands - For
bootstrap-recovery: step-by-step recovery procedure with safety warnings
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.
- 7d ago First seen · 288 lines · 87 tokens per session scan A fba4d026c589
keycloak is a skill published in the GitHub repository atretyak1985/swarmery (5 stars, last pushed today), licensed Apache-2.0. It adds 87 tokens to every session and 3,271 once invoked, about $0.0004 per session on Opus 5. 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-09-03.
Other skills, from other repositories
gws-schema
Introspect any Google Workspace API schema — discover method parameters, request bodies, and response types before executing.
recipe-schema-explore
Discover and introspect any Google Workspace API before using it — explore methods, parameters, and types.
rust-network-module
Add Rust async networking modules with project-adapted listener lifecycle, protocol parsing, and meaningful tests. Includes Tokio TCP and example wire-protocol templates for nat464-sidecar or compatible Rust projects.
gws-shared
Shared gws CLI setup, schema discovery, shell quoting, pagination, and authorization conventions for Google Workspace operations.
cqrs-implementation
Implement Command Query Responsibility Segregation for scalable architectures. Use when separating read and write models, optimizing query performance, or building event-sourced systems.
azure-communication-common-java
Azure Communication Services common utilities for Java. Use when working with CommunicationTokenCredential, user identifiers, token refresh, or shared authentication across ACS services.