error-detective

Correlate logs, traces, and metrics to diagnose root causes in distributed systems.

30|7|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/saeed-vayghan/gemini-agent-skills --skill error-detective-saeed-vayghan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-detective
Source: https://github.com/saeed-vayghan/gemini-agent-skills/tree/main/.gemini/skills/error-detective
Command: npx skills add https://github.com/saeed-vayghan/gemini-agent-skills --skill error-detective-saeed-vayghan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This Skill tackles the complex challenge of identifying, correlating, and resolving errors in distributed systems, preventing cascading failures and improving overall system stability.

Core Features & Use Cases

  • Deep Error Analysis: Analyzes error patterns, correlates failures across services, and identifies root causes.
  • Predictive Prevention: Focuses on anomaly detection and proactive monitoring to prevent future incidents.
  • Use Case: When a critical service experiences intermittent failures, this Skill can trace the issue through multiple microservices, pinpointing a subtle database performance degradation as the root cause before it impacts more users.

Quick Start

Use the error-detective skill to investigate the recent spike in 5xx errors reported by the user.

Frequently Asked Questions about error-detective

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the root cause of cascading failures in distributed systems?

Root cause analysis for cascading failures involves correlating logs, traces, and metrics across microservices to pinpoint the originating issue. This Skill diagnoses complex error patterns to identify subtle performance degradations before they impact wider system stability.

What is the best way to trace intermittent 5xx errors across microservices?

Tracing intermittent 5xx errors requires analyzing distributed traces and system logs to correlate failures across affected services. This Skill identifies the underlying database or service degradation causing the errors, preventing them from cascading to additional endpoints.

How does anomaly detection work for preventing incidents in distributed architectures?

Anomaly detection for incident prevention works by continuously analyzing system metrics and tracing data to identify deviations from expected patterns. This Skill uses predictive prevention strategies to flag and resolve potential failures before they trigger active incidents.

Do I need access to system logs and tracing data for comprehensive error detection?

Yes, comprehensive error detection requires access to system logs, tracing data, and performance metrics. This Skill uses these inputs to correlate failures, identify cascading effects, and implement proactive monitoring across your distributed environment.

Can I use this for predictive prevention when a critical service experiences intermittent failures?

Yes, this Skill is designed for predictive prevention when critical services fail intermittently. It analyzes performance metrics and traces to identify subtle degradations, like database issues, stopping them before they impact more users or cause cascading failures.