julianobarbosa/claude-code-skills/holmesgpt
Claude Code and agent skill by julianobarbosa/claude-code-skills
- community
Checking that the SKILL.md file is still in the repository.
Guide for implementing HolmesGPT - an AI agent for troubleshooting cloud-native environments. Use when investigating Kubernetes issues, analyzing alerts from Prometheus/AlertManager/PagerDuty, performing root cause analysis, configuring HolmesGPT installations (CLI/Helm/Docker), setting up AI providers (OpenAI/Anthropic/Azure), creating custom toolsets, or integrating with observability platforms (Grafana, Loki, Tempo, DataDog).
Install
npx vskill@latest install julianobarbosa/claude-code-skills/holmesgptSKILL.md
HolmesGPT Skill
AI-powered troubleshooting for Kubernetes and cloud-native environments.
Overview
HolmesGPT is a CNCF Sandbox project that connects AI models with live observability data to investigate infrastructure problems, find root causes, and suggest remediations. It operates with read-only access and respects RBAC permissions, making it safe for production environments.
Quick Reference
| Topic | Reference | |
|---|---|---|
| Installation | references/installation.md | |
| Configuration | references/configuration.md | |
| Data Sources | references/data-sources.md | |
| Commands | references/commands.md | |
| Troubleshooting | references/troubleshooting.md | |
| HTTP API | references/http-api.md | |
| Integrations | references/integrations.md |
Key Features
- Root Cause Analysis: Investigates alerts and cluster issues
- Multi-Source Integration: 30+ toolsets (K8s, Prometheus, Grafana)
- Alert Integration: AlertManager, PagerDuty, OpsGenie, Jira, Slack
- Interactive Mode: Troubleshooting with
/run,/show,/clear - Custom Toolsets: Extend with proprietary tools via YAML configuration
- CI/CD Integration: Automated deployment failure investigation
Installation Quick Start
CLI (Homebrew)
Kubernetes (Helm)
Docker
Essential Commands
Supported AI Providers
| Provider | Environment Variable | Models | |
|---|---|---|---|
| Anthropic | ANTHROPIC_API_KEY | Sonnet 4, Opus 4.5 | |
| OpenAI | OPENAI_API_KEY | GPT-4.1, GPT-4o | |
| Azure OpenAI | AZURE_API_KEY | GPT-4.1 | |
| AWS Bedrock | AWS credentials | Claude 3.5 Sonnet | |
| Google Gemini | GEMINI_API_KEY | Gemini 1.5 Pro | |
| Vertex AI | VERTEXAI_PROJECT | Gemini 1.5 Pro | |
| Ollama | Local install | Llama 3.1, Mistral |
Basic Helm Values Structure
Interactive Mode Commands
| Command | Description | |
|---|---|---|
/clear | Reset context when changing topics | |
/run | Execute custom commands and share output with AI | |
/show | Display complete tool outputs | |
/context | Review accumulated investigation information |
Custom Toolset Example
Use with: holmes ask "check health" -t custom-toolset.yaml
Kubernetes Annotations for Integration
Environment Variables Reference
| Variable | Description | Default | |
|---|---|---|---|
HOLMES_CONFIG_PATH | Config file path | ~/.holmes/config.yaml | |
HOLMES_LOG_LEVEL | Log verbosity | INFO | |
PROMETHEUS_URL | Prometheus server URL | - | |
GITHUB_TOKEN | GitHub API token | - | |
DATADOG_API_KEY | DataDog API key | - | |
CONFLUENCE_BASE_URL | Confluence URL | - |
Best Practices
- Use Specific Queries: Include namespace, deployment name, symptoms
- Start with Claude Sonnet 4.0/4.5: Best accuracy for complex investigations
- Enable Relevant Toolsets: Only enable what you need to reduce noise
- Use Interactive Mode: For complex multi-step investigations
- Set Up Runbooks: Provide context for known alert types
- CI/CD Integration: Automate deployment failure analysis
Security Considerations
- HolmesGPT uses read-only access (
get,list,watchonly) - Respects existing RBAC permissions
- Never modifies, creates, or deletes resources
- API keys stored in Kubernetes Secrets
- Data not used for model training
Official Resources
- Documentation: <https://holmesgpt.dev/>
- GitHub: <https://github.com/robusta-dev/holmesgpt>
- Helm Chart: <https://github.com/robusta-dev/holmesgpt/tree/master/helm/holmes>
- Slack Community: Cloud Native Slack
Gotchas
- Read-only RBAC means HolmesGPT can't see Secrets by default: Investigations involving misconfigured Secret refs return "no permission to read" even though the agent flags it as a possible cause. Either grant
secrets:geton a specific namespace or accept the blind spot — don't broaden cluster-wide. - Toolset enablement is cumulative and noisy at scale: Enabling all 30+ toolsets makes the LLM scan irrelevant data and dilutes accuracy. Enable only the toolsets matching your stack — every extra one costs tokens and adds noise to root-cause analysis.
- Model temperature MUST be 0 for reproducible investigations: Default Helm values sometimes ship with temperature > 0; same alert gives different root causes across runs. Pin
temperature: 0inmodelListor compare results between runs and lose trust. - AlertManager URL must be reachable from the HolmesGPT pod, not the CLI:
holmes investigate alertmanager --alertmanager-url http://localhost:9093works from a laptop but fails inside the cluster — use the in-cluster service DNS (http://kube-prometheus-stack-alertmanager.monitoring:9093). - `/clear` doesn't reset toolset context, only conversation history: Cached tool outputs from prior investigation persist within the session. Long interactive sessions accumulate stale Prometheus data that contaminates new questions. Restart the CLI between unrelated incidents.
- Anthropic model names in `modelList` need the `anthropic/` prefix:
model: claude-sonnet-4-20250514fails silently with provider-not-found; correct form ismodel: anthropic/claude-sonnet-4-20250514. LiteLLM error message says "model not found" without naming the missing prefix.
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 repositoryCheckingskills/holmesgpt/SKILL.md
Popularity
- Repository stars
- 84
- Repository forks
- 18
- 7-day trend score
- 22
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/julianobarbosa/claude-code-skills/holmesgpt)