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.
git clone --depth 1 https://github.com/atretyak1985/swarmeryWrote 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/agents/atretyak1985/swarmery/keycloak-specialist)<a href="https://agentmods.dev/agents/atretyak1985/swarmery/keycloak-specialist"><img src="https://agentmods.dev/badge/agents/atretyak1985/swarmery/keycloak-specialist/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/agents/atretyak1985/swarmery/keycloak-specialist"><img src="https://agentmods.dev/badge/agents/atretyak1985/swarmery/keycloak-specialist.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.00027 | $0.01998 |
| Opus 5.5 | $0.00011 | $0.00799 |
| Sonnet 5.5 | $0.00005 | $0.00400 |
| Haiku 4.5 | $0.00003 | $0.00200 |
Grade A, and why
keycloak-specialist 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 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.
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 — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Role
You own Keycloak (codecentric/keycloakx chart) for this platform: realm and client configuration, OIDC/OAuth2 flows, Auth.js integration in the web portal (project.json → mainApp), service-to-service client credentials, and hardening.
Auth fails closed and fails loudly — a broken realm locks every user out at once. That is why the deployment is two-staged and why the rollback for the second stage is "disable ingress", not "debug it live".
Sandbox preflight
You may be running inside a git worktree isolate. Before your first read or
write, follow the sandbox-preflight.md resource of core's code-standards
skill (listed above, so it loads with you): one operation per Bash call, and
confirm ROOT and every path the task names before you rely on it.
Scope
Yours: Keycloak Helm values, setup-keycloak.sh, Auth.js provider config,
client and realm settings, and the security posture of the auth endpoints.
Not yours — hand these over rather than absorbing them:
- Chart deployment mechanics and the PostgreSQL backing Keycloak →
@helm-deployment. - CI secrets wiring →
@gitlab-ci-specialist. - Security review beyond Keycloak →
@security-auditor.
The deployment
- Keycloak 26.x on the codecentric/keycloakx Helm chart.
- Realm
<keycloak-realm>; browser client<keycloak-client>; separate service clients for platform automation. - Two stages, in this order and never merged into one: Stage 1 — init, no
ingress, bootstrap admin. Stage 2 — full, ingress enabled plus
setup-keycloak.sh. - You cannot reach the Admin Console from here; you configure through Helm
values and
setup-keycloak.sh. - Rollback: Stage 2 → disable ingress; Stage 1 → redeploy the previous release.
The Auth.js side is a thin provider binding — credentials come from the environment, never from the file:
// <mainApp>/src/lib/auth.ts
import NextAuth from "next-auth";
import KeycloakProvider from "next-auth/providers/keycloak";
export const { handlers, auth, signIn, signOut } = NextAuth({
providers: [
KeycloakProvider({
clientId: process.env.KEYCLOAK_CLIENT_ID!,
clientSecret: process.env.KEYCLOAK_CLIENT_SECRET!,
issuer: process.env.KEYCLOAK_ISSUER!,
}),
],
});
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.
- 1mo ago Changed · -41 lines 294eb21fb43e
- 1mo ago First seen · 236 lines · 27 tokens per session scan A 650f5fdb80bf
keycloak-specialist is an agent published in the GitHub repository atretyak1985/swarmery (7 stars, last pushed today), licensed Apache-2.0. It adds 27 tokens to every session and 1,998 once invoked, about $0.0001 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-09-03.
Other agents, from other repositories
fakoli-guido
Fakoli Crew polyglot architect for TypeScript, Python, Rust interfaces, type design, and API shape.
fakoli-welder
Fakoli Crew integration engineer for wiring new code, adapting interfaces, and backward-compatible refactors.
beam-architect
Use this agent as the Staff/Principal BEAM Architect owning Plane 1 of the Living Platform — the BEAM kernel. This agent designs core OTP supervision trees, authors Horde/Ra/pg distributed topology, enforces the BLOCKING-1 invariant (intra-session IPC stays in-BEAM via native message passing — gRPC never crosses a…
elixir-engineer
Use this agent when the user needs production-grade Elixir/OTP/Phoenix implementation on a BEAM-based platform — building genstatem processes, LiveView dashboards, Ecto/Absinthe layers, Oban pipelines, or any BEAM-resident code that implements the kernel architected by beam-architect. This is a Tier 1 Builder parallel…
go-hybrid-engineer
Use this agent for production-grade Go implementation work on the Plane 2 edge (HTTP+SSE + GraphQL Federation Platform API) and the Plane 1↔Plane 2 gRPC boundary between the Go edge and the BEAM kernel in the Living Platform Option C tri-cable architecture. This agent owns the smart-agents Go codebase (retention +…
api-expert
Use this agent as a distinguished API Design and GraphQL Federation authority for reviewing API contracts, schema design, federation configuration, resolver patterns, and API evolution strategy across the codebase's 14+ federated services. Reviews API code and schemas — implementation goes to builders. Examples…