relationship-query

Official

Query RBAC relationships

AuthorRedHatInsights
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps users query and understand complex relationships within the RBAC (Role-Based Access Control) system, specifically interacting with SpiceDB/Kessel via the RBAC relations API. It clarifies who has access to what, and how that access is granted.

Core Features & Use Cases

  • Relationship Querying: Retrieve tuples and resource information related to RBAC entities like groups, roles, and role bindings.
  • Access Chain Verification: Trace the path of access from a user to a resource, verifying each step in the chain (user -> group -> role binding -> role -> workspace).
  • Use Case: A security administrator needs to determine if a specific user has access to a particular workspace. This Skill can trace the user's group memberships, the role bindings associated with those groups, and the roles assigned to those bindings, ultimately confirming access to the target workspace.

Quick Start

Use the relationship skill to find all members of the group with UUID 'example-group-uuid' in the stage environment.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: relationship-query
Download link: https://github.com/RedHatInsights/insights-rbac/archive/main.zip#relationship-query

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.