mainframe-keycloak-sso

mainframe-keycloak-sso is a skill for Claude Code, Codex from CATWILLgh/MAINFRAME. It costs 53 tokens per session (703 once invoked), scanned A, original, MIT.

A method for adding or troubleshooting Keycloak OIDC login in a web application. Keycloak is an identity service, and OIDC is a standard way for an application to use it for sign-in.

In plain words
What is it for?
Use it for Keycloak login, administrator connection settings, group-to-role mapping, account linking, and session lifecycle work.
Why use it?
It helps connect corporate login to the application's existing sessions, users, roles, account linking, and access rules without creating a second unrelated login system.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for Keycloak login, administrator connection settings, group-to-role mapping, account linking, and session lifecycle work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/catwillgh/mainframe/mainframe-keycloak-sso
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.

Any agent
npx skills add CATWILLgh/MAINFRAME --skill mainframe-keycloak-sso
Clone the repo
git clone --depth 1 https://github.com/CATWILLgh/MAINFRAME

Made for: Claude Code, Codex.

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 mainframe-keycloak-sso

README.md
[![agentmods](https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-keycloak-sso/github.svg)](https://agentmods.dev/skills/catwillgh/mainframe/mainframe-keycloak-sso)
Your own site
<a href="https://agentmods.dev/skills/catwillgh/mainframe/mainframe-keycloak-sso"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-keycloak-sso/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 mainframe-keycloak-sso

Your own site · 80×15
<a href="https://agentmods.dev/skills/catwillgh/mainframe/mainframe-keycloak-sso"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-keycloak-sso.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 703 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00053 $0.00703
Opus 5.5 $0.00021 $0.00281
Sonnet 5.5 $0.00011 $0.00141
Haiku 4.5 $0.00005 $0.00070

Measured 9d ago against content hash 959a190e9641, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mainframe-keycloak-sso 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 9d 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.

skills/mainframe-keycloak-sso/SKILL.md · 64 lines

How it starts

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

Keycloak SSO integration

Deliver working corporate login and its administration flow in the receiving application's conventions. A settings form alone is not a completed integration. Keep the application's established framework, session architecture, design system, roles and localization. This method does not authorize production IAM changes, account linking, deployment or access-policy changes outside the assigned task.

Establish the integration boundary

Inspect existing login/session, users, authorization middleware, settings storage, admin navigation, public origin/proxy configuration and relevant tests. Identify which part already exists before adding a second authentication system. Determine whether the app has a trusted backend/BFF or is a public browser-only client; a browser-only client cannot hold a client secret. Reuse a maintained OIDC library appropriate to that architecture, not hand-written JWT cryptography.

Reuse established policy for JIT provisioning, linking, role precedence, local login and session revocation. Ask only for unresolved access decisions. For new integrations default to disabled SSO, exact group matching and denial when no mapping grants access. Never silently grant a default role or merge accounts.

Read only the references needed for the current part:

  • Protocol and identities: callbacks, tokens, account linking, authorization, multi-instance operation and lifecycle.
  • Settings and API: storage, secret updates, safe connection diagnostics and configuration transitions.
  • Admin and login UX: the required screen, visible states, mapping editor and functional acceptance, in the app's own style.
  • Verification: negative cases, browser acceptance and the boundary between mock evidence and an actual Keycloak login.
  • Primary sources: current contracts to consult when selecting a library or resolving version-sensitive behavior.

Read the full file on GitHub · 64 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 64 lines · 53 tokens per session scan A 959a190e9641

Subscribe to this mod's changes

mainframe-keycloak-sso is a skill published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 3d ago), licensed MIT. It adds 53 tokens to every session and 703 once invoked, about $0.0002 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-10-07.

Related

Other skills, from other repositories

cmux-backend

Backend TypeScript and Cloud VM development rules for cmux. Use when editing web/app/api, web/services, backend scripts, Cloud VM lifecycle, provider integrations, Postgres, Stack Auth pricing gates, migrations, or provider image build scripts.

manaflow-ai/cmux · 53 tokens

cmux-socket-policy

Socket command threading and focus policy for cmux CLI/socket work. Use when adding or changing socket commands, CLI commands, telemetry commands, focus/select/open/close/send-key behavior, or automation that could steal app focus.

manaflow-ai/cmux · 50 tokens

build-a-stripe-integration

Write Stripe code against what the API does today — plan the product shape, confirm every parameter from Stripe's own docs and schemas, and keep the agent in a sandbox. Use when adding checkout, billing, subscriptions, invoicing, or webhooks to a codebase, or when debugging Stripe integration code that compiles but…

superset-sh/superset · 74 tokens

auth-architect

Implement authentication and authorization with OWASP Top 10 standards, OAuth 2.0 + OIDC, WebAuthn/Passkeys, session management, and RBAC/ABAC. Use when user asks to implement login, signup, authentication, authorization, JWT, OAuth, SSO, passkeys, MFA, or role-based access. Do NOT use for API key management (use…

EliasOulkadi/shokunin · 101 tokens

api-forge

Design REST/GraphQL APIs with OpenAPI 3.1, error handling, pagination, rate limiting, webhooks, and idempotency. Use when user asks to design an API, create endpoints, define REST/GraphQL schema, or generate OpenAPI spec. Do NOT use for database schema design, frontend API integration, or non-HTTP protocols (gRPC…

EliasOulkadi/shokunin · 85 tokens

laravel-expert

Laravel & PHP Development Instructions for GitHub Copilot.

GulajavaMinistudio/awesome-copilot-id · 15 tokens