rhecosystemappeng/agentic-collections/ai-observability
Claude Code and agent skill by rhecosystemappeng/agentic-collections
- community
Checking that the SKILL.md file is still in the repository.
Analyze AI model performance, GPU utilization, and cluster health on OpenShift AI. Use when: - "How is my model performing?" - "What GPUs are available in the cluster?" - "Show me inference latency for Llama" - "Check OpenShift cluster health metrics" - "Trace a slow inference request" - "Correlate errors across my inference stack" Query-driven, read-only analysis. Routes to the appropriate observability domain based on user intent. NOT for deploying models (use /model-deploy). NOT for debugging failed deployments (use /debug-inference).
Install
npx vskill@latest install rhecosystemappeng/agentic-collections/ai-observabilitySKILL.md
The same SKILL.md was published earlier as rhecosystemappeng/agentic-collections/ai-observability.
/ai-observability Skill
Analyze AI model inference performance, GPU utilization, OpenShift cluster health, and distributed traces on Red Hat OpenShift AI. This is a query-driven, read-only skill: the user asks a question, and the skill routes to the appropriate observability domain (vLLM metrics, OpenShift health, Tempo traces, or cross-domain correlation via Korrel8r).
Prerequisites
Required MCP Server: ai-observability (AI Observability MCP)
Required MCP Tools:
list_models(from ai-observability) - Discover served modelslist_vllm_namespaces(from ai-observability) - List monitored namespacesget_gpu_info(from ai-observability) - GPU inventory and utilizationget_deployment_info(from ai-observability) - Deployment health statusanalyze_vllm(from ai-observability) - Model performance analysischat_vllm(from ai-observability) - Conversational follow-up on vLLM metricsanalyze_openshift(from ai-observability) - Cluster/namespace health metricslist_openshift_metric_groups(from ai-observability) - Available metric categorieslist_openshift_namespaces(from ai-observability) - Namespaces in Prometheusquery_tempo_tool(from ai-observability) - Distributed trace queriesget_trace_details_tool(from ai-observability) - Trace span detailssearch_metrics(from ai-observability) - Metric discovery by patternexecute_promql(from ai-observability) - Custom PromQL querieskorrel8r_get_correlated(from ai-observability) - Cross-domain signal correlation
Optional MCP Server: rhoai (RHOAI MCP Server)
Optional MCP Tools (from rhoai):
list_data_science_projects- Discover RHOAI projects for scope selectionlist_inference_services- List deployed models with structured status for contextget_inference_service- Get InferenceService status for context
If rhoai is unavailable or returns errors: Use openshift tools as fallback — resources_list with apiVersion: serving.kserve.io/v1beta1, kind: InferenceService replaces list_inference_services; resources_list with apiVersion: v1, kind: Namespace, labelSelector: opendatahub.io/dashboard=true replaces list_data_science_projects.
Optional MCP Server: openshift (OpenShift MCP Server)
Optional MCP Tools (from openshift):
resources_get(from openshift) - Get raw resource details for contextresources_list(from openshift) - List InferenceServices, Namespaces (fallback for rhoai tools)pods_list(from openshift) - List predictor pods for correlation context
Common prerequisites (KUBECONFIG, OpenShift+RHOAI cluster, verification protocol): See skill-conventions.md.
Additional environment variables:
AI_OBSERVABILITY_MCP_URL- URL for the AI Observability MCP server (e.g.,http://aiobs-mcp.apps.cluster.example.com)
Additional cluster requirements:
- AI Observability MCP server deployed on-cluster (from
quay.io/ecosystem-appeng/aiobs-mcp-server) - Prometheus configured with vLLM and OpenShift metrics
- Tempo configured for distributed tracing (optional, for trace analysis)
- Korrel8r deployed (optional, for cross-domain correlation)
When to Use This Skill
Use this skill when you need to:
- Check model inference performance (latency, throughput, error rates)
- View GPU inventory and utilization across the cluster
- Analyze OpenShift cluster health metrics by category
- Trace slow inference requests with distributed tracing (Tempo)
- Correlate signals across logs, metrics, traces, and alerts (Korrel8r)
- Run custom PromQL queries against cluster Prometheus
Do NOT use this skill when:
- You need to troubleshoot a failed deployment (use
/debug-inference) - You want to deploy or redeploy a model (use
/model-deploy) - You need to create or modify a ServingRuntime (use
/serving-runtime-config)
Workflow
Step 1: Verify MCP and Triage Intent
Verify ai-observability MCP server is reachable. If any tool call fails with a connection error:
WAIT for user decision if MCP is unavailable.
Classify user query into one of these domains:
| Domain | Trigger Phrases | Primary Tool(s) | |
|---|---|---|---|
| Model Discovery | "what models", "list models", "what's deployed" | list_models, list_vllm_namespaces | |
| GPU Inventory | "GPU", "GPU utilization", "what GPUs", "available hardware" | get_gpu_info | |
| vLLM Performance | "latency", "throughput", "performance", "how is [model]", "slow" | analyze_vllm | |
| OpenShift Health | "cluster health", "namespace metrics", "node health", "pods" | analyze_openshift | |
| Tracing | "trace", "latency trace", "slow request", "spans" | query_tempo_tool | |
| Correlation | "correlate", "root cause", "what's related to" | korrel8r_get_correlated | |
| Custom PromQL | "PromQL", "custom query", "specific metric" | execute_promql |
If the intent is ambiguous, present the domain options and ask the user to choose.
If the user specifies a model name, use list_models first to verify it exists and get the correct identifier. If the user does not specify a namespace, use list_vllm_namespaces or list_openshift_namespaces to discover available namespaces and present them.
Project context (if rhoai MCP available): For "what's running" or "what's deployed" queries, use list_data_science_projects (from rhoai) to provide project-level overview. Use list_inference_services (from rhoai) per project to show deployed models with status.
WAIT for user to confirm scope before proceeding to analysis.
Step 2: Execute Analysis
Branch based on the domain determined in Step 1.
Step 2a: Model Discovery
MCP Tool: list_models (from ai-observability)
Parameters: None
MCP Tool: list_vllm_namespaces (from ai-observability)
Parameters: None
Present results:
| Model Name | Namespace | |
|---|---|---|
| [model] | [namespace] |
Offer: "Would you like to analyze performance for a specific model, or check GPU inventory?"
WAIT for user decision.
Step 2b: GPU Inventory
MCP Tool: get_gpu_info (from ai-observability)
Parameters: None
Present results:
| Node | GPU Type | Count | Temperature | Power Usage | |
|---|---|---|---|---|---|
| [node] | [type] | [count] | [temp] | [watts] |
If GPUs are near capacity, note: "Some GPUs are heavily utilized. Check model performance or consider scaling."
Offer: "Would you like to check which models are using these GPUs, or analyze a specific model's performance?"
WAIT for user decision.
Step 2c: vLLM Performance Analysis
Requires: model name (from user or discovered via list_models in Step 1).
MCP Tool: get_deployment_info (from ai-observability)
Parameters:
namespace: model's namespace - REQUIREDmodel: model name - REQUIRED
Report deployment status (is_new_deployment, deployment_date).
MCP Tool: analyze_vllm (from ai-observability)
Parameters:
model_name: vLLM model identifier - REQUIREDsummarize_model_id: LLM for analysis (use server default if not specified) - REQUIREDtime_range: natural language time range, e.g.,"15m","1h","24h"- OPTIONAL (default:"15m")start_datetime: ISO datetime string - OPTIONAL (alternative to time_range)end_datetime: ISO datetime string - OPTIONAL (alternative to time_range)
Present the LLM-generated analysis covering: latency (p50/p95/p99), throughput (requests/sec), token rates (input/output tokens/sec), error rate, queue depth.
Offer:
WAIT for user decision.
If user asks a follow-up question:
MCP Tool: chat_vllm (from ai-observability)
Parameters:
model_name: same model name - REQUIREDprompt_summary: the analysis output fromanalyze_vllm- REQUIREDquestion: the user's follow-up question - REQUIREDsummarize_model_id: LLM for response - REQUIRED
Step 2d: OpenShift Health Analysis
MCP Tool: list_openshift_metric_groups (from ai-observability)
Parameters: None
Present available metric categories to user if they did not specify one.
WAIT for user to select a category.
MCP Tool: analyze_openshift (from ai-observability)
Parameters:
metric_category: the selected category (e.g.,"Fleet Overview","GPU & Accelerators","Workloads & Pods","Storage & Networking") - REQUIREDscope:"cluster_wide"or"namespace_scoped"- OPTIONAL (default:"cluster_wide")namespace: required when scope is"namespace_scoped"- CONDITIONALtime_range: natural language time range - OPTIONALstart_datetime: ISO datetime string - OPTIONALend_datetime: ISO datetime string - OPTIONAL
Present the health assessment and key metrics.
Offer: "Would you like to check another metric category, drill into a specific namespace, or exit?"
WAIT for user decision.
Step 2e: Distributed Tracing
Requires: service name or operation name, and time range.
MCP Tool: query_tempo_tool (from ai-observability)
Parameters:
query: TraceQL query string (e.g.,"{resource.service.name=\"[service]\"}") - REQUIREDstart_time: ISO datetime string (e.g.,"2024-01-01T00:00:00Z") - REQUIREDend_time: ISO datetime string - REQUIREDlimit: max traces to return - OPTIONAL (default: 10)
Present traces:
| Trace ID | Duration (ms) | Root Service | Span Count | Start Time | |
|---|---|---|---|---|---|
| [id] | [duration] | [service] | [spans] | [time] |
Ask: "Would you like to drill into a specific trace? Enter a Trace ID."
WAIT for user decision.
If user selects a trace:
MCP Tool: get_trace_details_tool (from ai-observability)
Parameters:
trace_id: the trace ID string - REQUIRED
Present span waterfall:
| Span | Service | Operation | Duration (ms) | Status | |
|---|---|---|---|---|---|
| [span-id] | [service] | [operation] | [duration] | [ok/error] |
Offer: "Would you like to view another trace, correlate this trace with logs/metrics, or exit?"
WAIT for user decision.
Step 2f: Cross-Domain Correlation (Korrel8r)
Requires: a starting point (pod name and namespace, or other Korrel8r domain query).
MCP Tool: korrel8r_get_correlated (from ai-observability)
Parameters:
query: Korrel8r domain query string - REQUIRED- Example:
k8s:Pod:{"namespace":"llm-serving","name":"vllm-predictor-abc"} goals: array of target domain class names - REQUIRED- Example:
["log:application", "metric:metric", "trace:span", "alert:alert"]
Present correlated signals grouped by domain:
Related Logs: [count] log entries found Related Metrics: [count] metric series Related Traces: [count] trace spans Related Alerts: [count] active alerts
Offer: "Would you like to drill into any of these correlated signals?"
WAIT for user decision.
Step 2g: Custom PromQL Query
For advanced users who want to run specific PromQL.
MCP Tool: search_metrics (from ai-observability)
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingrh-ai-engineer/skills/ai-observability/SKILL.md
Popularity
- Repository stars
- 48
- Repository forks
- 32
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rhecosystemappeng/agentic-collections/ai-observability)