Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

list-symptoms

БесплатноЗапускает вложенные скриптыНе проверен

List, search, and inspect Sippy Symptoms and Labels — known CI failure signatures — via the public Sippy API

openshift-engот openshift-eng★ 123 звезды на GitHub

Об этом скилле

List Symptoms

Sippy Symptoms are known-failure signatures for OpenShift CI. A symptom is a rule made of a file pattern (a glob over a CI job run's artifact files, e.g. **/build-log.txt) and a matcher (string = substring, regex = regular expression, none = file merely exists, cel = a compound CEL expression over other label names). When a symptom matches a job run's artifacts, Sippy applies one or more Labels — human-readable tags that categorize failures — to that run. Labels appear in the Sippy UI and Spyglass and help everyone quickly recognize known failure modes without re-debugging them. You do not need any prior Sippy knowledge to use this skill.

This skill lists, searches, and fetches symptoms and labels using the public (read-only, no auth) Sippy API.

When to Use This Skill

Use this skill when you need to:

  • Browse the catalog of known CI failure signatures (symptoms)
  • Check whether a failure pattern already has a symptom before creating a new one (avoid duplicates)
  • Look up what a label means, including its title, explanation, and associated Jira issues
  • Find which symptoms apply a given label
  • Inspect a single symptom or label by its ID

Prerequisites

  1. Network Access: The Sippy API must be accessible at https://sippy.dptools.openshift.org

    • No authentication required
    • Check: curl -s https://sippy.dptools.openshift.org/api/jobs/labels | head -c 200
  2. Python 3: Python 3.6 or later

    • Check: python3 --version
    • Uses only standard library (no external dependencies)

Implementation Steps

Invoke the script with the flags that match the user's question:

script_path="plugins/ci/skills/list-symptoms/list_symptoms.py"

# List all symptoms (JSON by default)
python3 "$script_path"

# List all symptoms as a human-readable summary
python3 "$script_path" --format summary

# Search symptoms by text (matches id, summary, and match_string, case-insensitive)
python3 "$script_path" --search "credentials" --format summary

# Find all symptoms that apply a given label
python3 "$script_path" --label AWSAuthFailure --format summary

# Fetch a single symptom by ID
python3 "$script_path" --id AWSCouldNotValidateAccessCredentials

# List all labels instead of symptoms
python3 "$script_path" --labels --format summary

# Fetch a single label by ID
python3 "$script_path" --labels --id AWSAuthFailure

Flags:

  • --id <id>: fetch a single symptom (or label with --labels) by ID
  • --search <text>: case-insensitive text search over id/summary/match_string (for labels: id/label_title/explanation/bugs)
  • --label <label_id>: only symptoms that apply this label ID
  • --matcher-type {string,regex,none,cel}: only symptoms of this matcher type
  • --labels: operate on labels instead of symptoms
  • --format {json,summary}: output format (default json)

API Details

Endpoints

GET https://sippy.dptools.openshift.org/api/jobs/symptoms
GET https://sippy.dptools.openshift.org/api/jobs/symptoms/{id}
GET https://sippy.dptools.openshift.org/api/jobs/labels
GET https://sippy.dptools.openshift.org/api/jobs/labels/{id}

Example Symptom JSON

{
  "id": "AWSCouldNotValidateAccessCredentials",
  "summary": "AWS could not validate access credentials",
  "matcher_type": "string",
  "file_pattern": "build-log.txt",
  "match_string": "api error AuthFailure: AWS was not able to validate the provided access credentials",
  "label_ids": ["AWSAuthFailure"],
  "created_by": "kenzhang",
  "updated_by": "kenzhang",
  "updated_at": "2026-04-27T16:09:12.660547Z"
}

Symptom Fields

Field Description
id Immutable identifier (generated from the summary on create)
summary Short, unique human-readable description (≤200 chars)
matcher_type One of string, regex, none (file exists), cel (expression over label names)
file_pattern Glob over the job run's artifact files, e.g. **/build-log.txt (not used for cel)
match_string Substring, regular expression, or CEL expression depending on matcher_type
label_ids Label IDs applied to a run when the symptom matches
created_by, updated_by, updated_at Metadata about who created/last modified the symptom and when

Label Fields

Field Description
id Immutable identifier (≤80 chars)
label_title Unique human-readable title
explanation Markdown explanation of what the label means
bugs Jira issue keys associated with the label
hide_display_contexts UI contexts where the label is hidden (subset of spyglass, metrics, jaq-options)

Error Handling

Case 1: Not Found (404)

python3 list_symptoms.py --id NoSuchSymptom
# Error: not found: https://sippy.dptools.openshift.org/api/jobs/symptoms/NoSuchSymptom (use list mode to see valid IDs)

Exits 1 and suggests listing symptoms/labels to find valid IDs.

Case 2: Network Error

# Error: fail
Полный SKILL.md на GitHub

Установить list-symptoms в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

list_symptoms.pytest_list_symptoms.py

FAQ

Что делает скилл list-symptoms?

List, search, and inspect Sippy Symptoms and Labels — known CI failure signatures — via the public Sippy API

Как установить скилл list-symptoms?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл list-symptoms запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить list-symptoms с