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.
npx skills add redhat-community-ai-tools/UnifAI --skill identitygit clone --depth 1 https://github.com/redhat-community-ai-tools/UnifAIWrote 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/redhat-community-ai-tools/unifai/identity)<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.
<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>- NVIDIA SkillSpector pass
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.00039 | $0.01686 |
| Opus 5.5 | $0.00016 | $0.00674 |
| Sonnet 5.5 | $0.00008 | $0.00337 |
| Haiku 4.5 | $0.00004 | $0.00169 |
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 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 — 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 |
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 First seen · 159 lines · 39 tokens per session scan A 044ff4a2e541
identity-knowledge is a skill published in the GitHub repository redhat-community-ai-tools/UnifAI (45 stars, last pushed yesterday), licensed Apache-2.0. It adds 39 tokens to every session and 1,686 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-08-30.
Other skills, from other repositories
mem0-integration
Mem0 memory layer integration for AI agents. Implement persistent, semantic memory for long-term context retention and personalization.
rag-hybrid-search
Hybrid search combining semantic and keyword retrieval for RAG pipelines. Implement BM25 + dense vector search with fusion strategies.
documentation-search
Search the internal knowledge base for runbooks, architecture documentation, ADRs, best practices, and troubleshooting guides using RAG. Use when looking for internal documentation, deployment procedures, architecture decisions, or operational runbooks.
rag-retrieval
Retrieval-Augmented Generation patterns for grounded LLM responses. Use when building RAG pipelines, embedding documents, implementing hybrid search, contextual retrieval, HyDE, agentic RAG, multimodal RAG, query decomposition, reranking, or pgvector search.
rag-chunking-strategy
Document chunking with multiple strategies including semantic, recursive, and fixed-size chunking.
vector-memory
HNSW vector search for pattern similarity retrieval and knowledge graph maintenance with PageRank scoring, community detection, and 3-tier memory management.