Agent skill

List Teams

by openshift-eng in openshift-eng/ai-helpers

List all teams from the team component mapping. An agent skill from openshift-eng/ai-helpers.

Apache-2.0Auto-check passed

Install List Teams

skills CLI
$ npx skills add openshift-eng/ai-helpers --skill list-teams -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install openshift-eng/ai-helpers list-teams --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/teams/skills/list-teams .claude/skills/list-teams && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
list-teams
GitHub stars
120
Token cost
~1k tokens
SKILL.md length
401 words
Files
2
Skills in repo
118
Repo updated
First seen
Licence
Apache-2.0

At a glance

List all teams from the team component mapping. An agent skill from openshift-eng/ai-helpers.

  • Works in 3 steps: Run the list-teams Script → Process the Output → Display to User
  • SKILL.md covers When to Use This Skill, Prerequisites, Implementation Steps and Examples, plus 3 more sections
  • Runs Python scripts from its folder; calls python3 and jq

What it does

List Teams is an agent skill from openshift-eng/ai-helpers. List all teams from the team component mapping

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `list_teams.py`).

It works with Python and Slack. The repository describes itself as: Developer productivity tools for Claude Code & other AI assistants. The licence is Apache-2.0.

Example prompts

  • “/list-teams”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Run the list-teams Script
  2. Process the Output
  3. Display to User

What it can do on your machine

Read from SKILL.md and the folder at commit a627176. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • gitlab.cee.redhat.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

List Teams loads about 1k tokens when it runs. Until then it costs about 14 tokens; SKILL.md has 401 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~14
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from openshift-eng/ai-helpers at commit a627176, republished under its Apache-2.0 licence (© openshift-eng). 401 words, ~1,020 tokens.

Download SKILL.mdSave it as .claude/skills/list-teams/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
list-teams
description
List all teams from the team component mapping

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
  2. Team Component Mapping File

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

Implementation Steps

Step 1: Run the list-teams Script
bash
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):

json
{
  "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):

json
{
  "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
bash
python3 plugins/teams/skills/list-teams/list_teams.py
Example 2: Count Teams
bash
python3 plugins/teams/skills/list-teams/list_teams.py | jq '.total_teams'
Show full SKILL.md (171 more words)Show less

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
    • team_size: Number of team members (count only, no personal info)
    • repos: GitHub repositories the team owns
    • slack_channels: 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/generate_team_component_map.py
  3. Commit the updated team_component_map.json file

See Also

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

© openshift-eng, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in plugins/teams/skills/list-teams of openshift-eng/ai-helpers.

  • SKILL.md
  • list_teams.py

Open the folder on GitHubat commit a627176

Compare with similar skills

List Teams next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

List Teams compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
List Teams this skillopenshift-eng/ai-helpers120—~1kAutomated safety check: PassApache-2.0
Slack GIF Creatoranthropics/skills180k29 repos~2kAutomated safety check: PassApache-2.0
Cao Pluginawslabs/cli-agent-orchestrator1.4k—~3.1kAutomated safety check: NotesApache-2.0
Soul Interviewldbumble/taskuary137—~1.4kAutomated safety check: PassMIT
Create Slack Appslackapi/slack-skills-plugin145—~3.1kAutomated safety check: PassMIT
Taskuary Setupldbumble/taskuary137—~1.5kAutomated safety check: PassMIT

Similar skills

  • Slack GIF Creator

    anthropics/skills

    Official

    Provides Slack size and frame limits, Python animation helpers and validators for building animated GIFs sized for emoji and messages.

    180k GitHub starsUsed in 29 repos~2k tokens
    Media & CreativeAuto-check passed
  • Cao Plugin

    awslabs/cli-agent-orchestrator

    Official

    Create a new CAO (CLI Agent Orchestrator) plugin. An agent skill from awslabs/cli-agent-orchestrator.

    1.4k GitHub stars~3.1k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • Soul Interview

    ldbumble/taskuary

    Conduct a seven-question adaptive interview and turn the answers into Taskuary's SOUL.md.

    137 GitHub stars~1.4k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Create Slack App

    slackapi/slack-skills-plugin

    Official

    A skill your agent uses when a developer wants to create, scaffold, or bootstrap a new Slack app or agent from scratch with the Slack CLI.

    145 GitHub stars~3.1k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Taskuary Setup

    ldbumble/taskuary

    Walk the owner through setting Taskuary up - the AI brain, where work arrives, the operator documents, reports and workflows - by reading the install's real state and using the screens that already…

    137 GitHub stars~1.5k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Slack Bot Builder

    davila7/claude-code-templates

    Build Slack apps using the Bolt framework across Python, JavaScript, and Java.

    32k GitHub starsUsed in 5 repos~2.2k tokens
    Agent WorkflowsAuto-check passed

More from openshift-eng/ai-helpers

All 118 skills in this repo
  • Investigate CI Reliability

    openshift-eng/ai-helpers

    Find and independently validate actionable reliability defects across OpenShift release jobs and presubmits, then export portable issue handoffs.

    120 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Address Review PR

    openshift-eng/ai-helpers

    Fetch and address all PR review comments — categorize by priority, make code changes, post replies, and push.

    120 GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Categorize Activity Types

    openshift-eng/ai-helpers

    Categorize Jira issues into Red Hat Sankey Activity Type categories using MCP Jira tools.

    120 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Has Review Work

    openshift-eng/ai-helpers

    Decide whether a GitHub PR has unanswered authorized review comments or new required CI failures worth a follow-up agent.

    120 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Must Gather Analyzer

    openshift-eng/ai-helpers

    Analyze OpenShift must-gather diagnostic data including cluster operators, pods, nodes, and network components.

    120 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Payload Autodl JSON

    openshift-eng/ai-helpers

    Schema for the autodl JSON data file produced by payload-analysis for database ingestion — you must use this skill whenever generating the autodl JSON file

    120 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about List Teams

What does List Teams do?

List all teams from the team component mapping. An agent skill from openshift-eng/ai-helpers. List Teams is an agent skill from openshift-eng/ai-helpers.

How do I install List Teams in Claude Code?

Run `npx skills add openshift-eng/ai-helpers --skill list-teams -a claude-code`. Or copy the skill folder (plugins/teams/skills/list-teams in openshift-eng/ai-helpers) into .claude/skills/list-teams in your project. Claude Code loads it when a task matches its description.

How do I install List Teams in Codex?

Run `npx skills add openshift-eng/ai-helpers --skill list-teams -a codex`. Or copy the skill folder (plugins/teams/skills/list-teams in openshift-eng/ai-helpers) into .agents/skills/list-teams in your project. Codex loads it when a task matches its description.

Can I use List Teams in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add openshift-eng/ai-helpers --skill list-teams -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/list-teams, .gemini/skills/list-teams, .github/skills/list-teams and .opencode/skills/list-teams in your project.

What does List Teams need to run?

Going by SKILL.md and its folder, List Teams needs Python for the scripts in its folder and the command-line tools its instructions call (python3 and jq). Our summary lists: Python 3.

Does List Teams access the network?

SKILL.md names 1 domain. As links in the text: gitlab.cee.redhat.com. This is read from the text; nothing was executed.

Is List Teams safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does List Teams use?

List Teams is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does List Teams use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to List Teams?

Skills that share tags, products or a category with List Teams: Slack GIF Creator (anthropics/skills, 180k stars), Cao Plugin (awslabs/cli-agent-orchestrator, 1.4k stars), Soul Interview (ldbumble/taskuary, 137 stars) and Create Slack App (slackapi/slack-skills-plugin, 145 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains List Teams?

openshift-eng (a GitHub organization) maintains it in openshift-eng/ai-helpers, which has 120 GitHub stars. The repository holds 118 skills in this directory. The repository was last updated on October 6, 2026.

Source: openshift-eng/ai-helpers on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.