identity-knowledge

identity-knowledge is a skill for Claude Code, Cursor from redhat-community-ai-tools/UnifAI. It costs 39 tokens per session (1,686 once invoked), scanned A, original, Apache-2.0.

A set of project instructions for an identity and authentication service. It covers login, sessions, teams, OAuth, single sign-on, and access control.

In plain words
What is it for?
It is for working on login flows, protected endpoints, team management, OAuth connections, and related configuration under shared-resources/identity/.
Why use it?
It helps an agent make changes in the correct part of the service while following its authentication design.

Skill for Claude CodeCursor

Written for Claude Code and Cursor: paths in frontmatter, but also installed under .cursor/.

Good fit It is for working on login flows, protected endpoints, team management, OAuth connections, and related configuration under shared-resources/identity/.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redhat-community-ai-tools/unifai/identity
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 redhat-community-ai-tools/UnifAI --skill identity
Clone the repo
git clone --depth 1 https://github.com/redhat-community-ai-tools/UnifAI

Made for: Claude Code, Cursor.

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 identity-knowledge

README.md
[![agentmods](https://agentmods.dev/badge/skills/redhat-community-ai-tools/unifai/identity/github.svg)](https://agentmods.dev/skills/redhat-community-ai-tools/unifai/identity)
Your own site
<a href="https://agentmods.dev/skills/redhat-community-ai-tools/unifai/identity"><img src="https://agentmods.dev/badge/skills/redhat-community-ai-tools/unifai/identity/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 identity-knowledge

Your own site · 80×15
<a href="https://agentmods.dev/skills/redhat-community-ai-tools/unifai/identity"><img src="https://agentmods.dev/badge/skills/redhat-community-ai-tools/unifai/identity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,686 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.01686
Opus 5 $0.00019 $0.00843
Sonnet 5 $0.00008 $0.00337
Haiku 4.5 $0.00004 $0.00169

Measured 11d ago against content hash 044ff4a2e541, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

identity-knowledge 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 11d 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.

.cursor/skills/codebase/domains/identity/SKILL.md · 159 lines

How it starts

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

Identity Knowledge System

Authentication and session bridge between the UI and Keycloak. OAuth2 Authorization Code flow, server-side session management, and team management for shared workspaces.

Component Routing

Path prefix Component Description
adapters/inbound/flask/endpoints/ Flask endpoints health, protected, credentials, teams, identity, directory
utils/auth_manager.py Core OAuth Authlib client, session store, /api/auth/* routes, require_auth
utils/dev_oauth_client.py Dev Auth Dev-only Keycloak stub
teams/ Teams domain models.py, service.py, repository/
bootstrap/ Bootstrap flask_app.py (factory), factories.py (wiring)
config/ Config app_config.py, logging_config.py, directory.yaml

Landmarks

Landmark Location
Composition root shared-resources/identity/bootstrap/factories.py
Flask factory shared-resources/identity/bootstrap/flask_app.py
App config shared-resources/identity/config/app_config.py
Endpoint registration shared-resources/identity/adapters/inbound/flask/endpoints/__init__.py
Auth manager shared-resources/identity/utils/auth_manager.py
Team models shared-resources/identity/teams/models.py
Team service shared-resources/identity/teams/service.py
Mongo adapter shared-resources/identity/teams/repository/mongo_repository.py

Key Classes

Class File Role
AuthManager utils/auth_manager.py OAuth integration, session store, /api/auth/*, refresh, admin check
DevOAuthClient utils/dev_oauth_client.py Dev-only Keycloak stub (fake redirect, tokens, userinfo)
Team teams/models.py Team aggregate: id, name, created_by, members, timestamps
TeamMember teams/models.py Member model: user or group, with cached group_members
TeamService teams/service.py Team CRUD, membership checks, group member caching
MongoTeamRepository teams/repository/mongo_repository.py MongoDB: users.teams collection
AppConfig config/app_config.py Keycloak URL, realm, client creds, session flags

Read the full file on GitHub · 159 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. 11d ago First seen · 159 lines · 39 tokens per session scan A 044ff4a2e541

Subscribe to this mod's changes

identity-knowledge is a skill published in the GitHub repository redhat-community-ai-tools/UnifAI (44 stars, last pushed today), licensed Apache-2.0. It adds 39 tokens to every session and 1,686 once invoked, about $0.0002 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.