smithery/openshift-eng

list-teams

List all teams from the team component mapping

Installation

$ npx skills add smithery/openshift-eng --skill list-teams

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/openshift-eng · top by installs.

npx skills add smithery/openshift-eng

Browse all from smithery/openshift-eng

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 4,078 B
  • docs SUMMARY.md 64 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

List Teams

This skill provides functionality to list all teams from the team component mapping, including rich metadata about each team (components, description, repos, team size, slack channels).

When to Use This Skill

Use this skill when you need to:

  • Display all available team names
  • Validate team names before using them in other commands
  • Get a complete list of teams with OCPBUGS components
  • Count how many teams are in the system
  • Find team names for team-based analysis

Prerequisites

  1. Python 3 Installation

- Check if installed: which python3 - Python 3.6 or later is required

  1. Team Component Mapping File

- The mapping file should be in the repository - Located at: plugins/teams/teamcomponentmap.json - This file is committed to the repository

Implementation Steps

Step 1: Run the list-teams Script

python3 plugins/teams/skills/list-teams/list_teams.py

Step 2: Process the Output

The script outputs JSON in one of two formats:

New Format (after regeneration with updated script):

{
  "total_teams": 29,
  "teams": {
    "API Server": {
      "components": ["kube-apiserver", "openshift-apiserver", "..."],
      "description": "Team responsible for API server components",
      "team_size": 15,
      "repos": ["openshift/origin", "openshift/kubernetes"],
      "slack_channels": ["forum-apiserver"]
    },
    "Authentication": {
      "components": ["oauth-apiserver", "..."],
      "description": "...",
      "team_size": 10,
      "repos": ["..."],
      "slack_channels": ["..."]
    }
  }
}

Old Format (before regeneration):

{
  "total_teams": 29,
  "teams": [
    "API Server",
    "Authentication",
    "..."
  ]
}

Step 3: Display to User

Important: When displaying results to the user via the /teams:list-teams command:

  • Show only a concise list of team names
  • Do NOT display the full team metadata unless the user specifically asks for it
  • Keep the output brief and scannable

For AI Agent Use:

  • Full team metadata is available for answering follow-up questions
  • Can use components, repos, slack_channels to provide context
  • Can use team_size and description for additional insights

Examples

Example 1: List All Teams

python3 plugins/teams/skills/list-teams/list_teams.py

Example 2: Count Teams

python3 plugins/teams/skills/list-teams/list_teams.py | jq '.total_teams'

Notes

  • Team data is extracted from the committed mapping file
  • Team names are case-sensitive
  • Teams are returned in alphabetical order by team name
  • Very fast execution (< 100ms)
  • Typical count: ~29 teams (teams with OCPBUGS components only)
  • Script automatically detects format (new vs old) and handles both
  • Rich metadata includes:

- components: List of OCPBUGS components owned by the team - description: Team's purpose/responsibility - teamsize: Number of team members (count only, no personal info) - repos: GitHub repositories the team owns - slackchannels: Forum-type Slack channels (names only)

Data Source

The team and component mapping data originates from:

If data looks wrong or missing:

  1. Submit a PR to https://gitlab.cee.redhat.com/hybrid-platforms/org to correct the source data
  2. After the PR merges, regenerate the mapping file in this repository:

`` python3 plugins/teams/generateteamcomponent_map.py ``

  1. Commit the updated teamcomponentmap.json file

See Also

  • Related Skill: plugins/teams/skills/list-components/SKILL.md
  • Related Command: /teams:list-teams
  • Mapping File: plugins/teams/teamcomponentmap.json
  • Generator Script: plugins/teams/generateteamcomponent_map.py