identity-knowledge
Skill by redhat-community-ai-tools
Gives the assistant domain knowledge about the Identity and Authentication service, covering auth, teams, OAuth, SSO and access control. Meant for developers working on files under shared-resources/identity/.
Install identity-knowledge
Built from the published package, never by AI.
git clone --depth 1 https://github.com/redhat-community-ai-tools/UnifAI /tmp/UnifAI && mkdir -p ~/.claude/skills && cp -r /tmp/UnifAI/.cursor/skills/codebase/domains/identity ~/.claude/skills/identity-knowledgeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/redhat-community-ai-tools/UnifAI /tmp/UnifAI && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/UnifAI/.cursor/skills/codebase/domains/identity ~/.gemini/antigravity-cli/skills/identity-knowledgeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a domain knowledge guide for the Identity and Authentication service. It describes the service as the authentication and session bridge between the UI and Keycloak. It covers the OAuth2 Authorization Code flow, server-side session management, and team management for shared workspaces. It also maps component paths, key classes, landmarks, MongoDB collections and Redis keys.
Sessions and tokens are stored in Redis under identity:session:<uuid> keys, and only the session ID is kept in a cookie. The skill lists domain rules, such as checking auth only at the inbound adapter layer, treating tokens as opaque outside the identity service, and scoping team resources by team identity. It points to a dev guide for deeper class and endpoint details. It is aimed at developers working on files under shared-resources/identity/.
Written from the project's SKILL.md and checked against it.
What it can do
- Component routingMaps identity code paths such as teams/ and utils/auth_manager.py to their components.
- OAuth login flowExplains the redirect path from the UI through Keycloak and back to the callback.
- Session storageDescribes how tokens and user profiles are kept in Redis under session keys.
- Team modelCovers the Team and TeamMember classes and the MongoDB teams collection.
- Domain rulesLists rules such as auth at the boundary, token opacity and team scoping.
- Cross-service integrationNotes how other services call identity endpoints for session and membership checks.
- Established patternsLists architecture patterns that reviewers are told not to flag as violations.
Try asking
- How does the OAuth login flow work in the identity service?
- Where are team memberships checked in the identity code?
- Which Redis keys does identity use to store sessions?
Good to know
- Applies to files under shared-resources/identity/ only.
- DevOAuthClient is a dev-only Keycloak stub.
- Written for the internal identity code layout described in the source.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .cursor/skills/codebase/domains/identity/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to identity-knowledge
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
identity-knowledge: common questions
What does the identity-knowledge skill cover?
It covers auth, teams, OAuth, SSO and access control for the Identity and Authentication service.
Where are identity sessions stored?
Tokens and the user profile are stored in Redis under identity:session:<uuid> keys. Only the session ID is stored in the cookie.
Where can I find more detail on identity classes and endpoints?
The source points to .cursor/unifai-dev-guide/docs/services/identity.md for class architecture, endpoint signatures and full auth flow details.
How do I install identity-knowledge?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is identity-knowledge free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is identity-knowledge safe to use?
It scores 58 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to identity-knowledge?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
