From teams
Lists all OCPBUGS-tracked components from team_component_map.json or filters by team via Python CLI script. Useful for validating names, counting, or preparing bug queries.
How this skill is triggered — by the user, by Claude, or both
Slash command
/teams:list-componentsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides functionality to list all OCPBUGS component names from the team component mapping, with optional filtering by team.
This skill provides functionality to list all OCPBUGS component names from the team component mapping, with optional filtering by team.
Use this skill when you need to:
Python 3 Installation
which python3jq Installation
which jqbrew install jqsudo apt-get install jq or sudo yum install jqTeam Component Mapping File
team_component_map.json should be in the repositoryplugins/teams/team_component_map.jsonpython3 plugins/teams/generate_team_component_map.pyEnsure you are in the repository root directory:
# Verify you are in the repository root
pwd
# Expected output: /path/to/ai-helpers
List all OCPBUGS components:
python3 plugins/teams/skills/list-components/list_components.py
List OCPBUGS components for a specific team:
python3 plugins/teams/skills/list-components/list_components.py --team "API Server"
Note: Use the exact team name from the list-teams command output.
The script outputs JSON with the following structure:
All components:
{
"total_components": 87,
"components": [
"Auth",
"apiserver-auth",
"config-operator",
"..."
]
}
Components filtered by team:
{
"total_components": 8,
"components": [
"apiserver-auth",
"config-operator",
"kube-apiserver",
"kube-controller-manager",
"kube-storage-version-migrator",
"openshift-apiserver",
"openshift-controller-manager / controller-manager",
"service-ca"
],
"team": "API Server"
}
Field Descriptions:
total_components: Total number of OCPBUGS components foundcomponents: Alphabetically sorted list of OCPBUGS component namesteam: (Optional) The team name used for filteringThe script handles several error scenarios:
Mapping file missing:
Error: Team component mapping file not found at ...
This file should be in the repository. Please check your installation.
Solution: Verify repository checkout or regenerate with generate_team_component_map.py
Invalid JSON in mapping:
Error: Failed to parse mapping file. File may be corrupted.
Solution: Regenerate the mapping file
Team not found:
Error: Team 'Invalid Team' not found in mapping.
Use list-teams to see available teams.
Solution: Run list-teams to get correct team name, ensure exact match (case-sensitive)
No OCPBUGS components for team:
Warning: No OCPBUGS components found for team 'Team Name'.
The team may not have any OCPBUGS components assigned.
Note: This is a warning, not an error. Some teams may not have OCPBUGS components.
The script outputs JSON to stdout:
python3 plugins/teams/skills/list-components/list_components.py
Output:
{
"total_components": 87,
"components": [
"Auth",
"apiserver-auth",
"..."
]
}
python3 plugins/teams/skills/list-components/list_components.py --team "API Server"
Output:
{
"total_components": 8,
"components": [
"apiserver-auth",
"config-operator",
"kube-apiserver",
"..."
],
"team": "API Server"
}
python3 plugins/teams/skills/list-components/list_components.py | jq '.total_components'
Output:
87
python3 plugins/teams/skills/list-components/list_components.py | jq '.components[] | select(contains("apiserver"))'
Output:
"apiserver-auth"
"kube-apiserver"
"openshift-apiserver"
plugins/teams/team_component_map.jsonpython3 plugins/teams/generate_team_component_map.pyThe team and component mapping data originates from:
If data looks wrong or missing:
python3 plugins/teams/generate_team_component_map.py
team_component_map.json fileplugins/teams/skills/list-teams/SKILL.md/teams:list-componentsplugins/teams/team_component_map.jsonplugins/teams/generate_team_component_map.pynpx claudepluginhub openshift-eng/ai-helpers --plugin teamsLists all teams from team_component_map.json with OCPBUGS components, metadata including repos, team size, Slack channels. Use to display teams, validate names, count, or analyze ownership.
Manages RHDH release logistics — dates, status, team coordination, freeze announcements, blocker bugs, CVEs, release notes. Triggered by RHDH release management questions.
Creates and manages dynamic teams of domain-specific agents. Analyzes project to propose 5-20 agents with tracking framework. Modes: create, update, status, cleanup.