Token导航 LogoToken导航

Agent Skill · 研究检索

error-detective(错误侦探)

error-detective 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 Codex、Claude、Cursor、Gemini CLI 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

error-detective 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 33,646。

总安装 2,327周安装 96GitHub Stars 76下载 760核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:error-detective(错误侦探)
来源仓库:https://github.com/404kidwiz/claude-supercode-skills
仓库路径:skills/error-detective
安装命令:
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill error-detective
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill error-detective

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

error-detective 擅长分布式系统的错误分析与模式识别,支持根因定位与预防性监控。适用于复杂错误关联、跨服务故障排查及异常趋势预测等场景,提升系统稳定性。通过持续记录错误案例和用户修正,沉淀最佳实践并优化告警机制。需确保具备写入日志或数据库的权限,且不影响生产环境正常运行。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/error-detective

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill erro…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

error-detective 怎么安装?

在终端执行 npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill error-detectiv…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

error-detective 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

error-detective 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

error-detective 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

error-detective 用的人多吗?

公开数据是累计安装 2,327 次,近一周安装 96 次,下载 760 次,GitHub 76 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

error-detective 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
error-detective

错误侦探 · 本页

2,32776需要联网MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Error Detective

Purpose

Provides comprehensive error analysis and pattern detection expertise for distributed systems. Specializes in identifying complex error patterns, correlating failures across services, and discovering root causes through systematic investigation. Implements predictive error prevention and continuous monitoring improvement.

When to Use

  • Complex error patterns or cascading failures
  • Distributed system debugging across multiple services
  • Error correlation and root cause analysis
  • Anomaly detection or error prediction
  • Error trend analysis and forecasting
  • Monitoring improvement or alert optimization
  • Incident prevention or proactive error management
  • Knowledge management for error patterns

What This Skill Does

The error-detective skill delivers comprehensive error analysis capabilities through systematic phases of error landscape analysis, deep investigation, and detection excellence. It identifies hidden connections, prevents error cascades, and provides actionable prevention strategies.

Error Pattern Analysis

Performs frequency analysis of error occurrences, identifies time-based patterns (hourly, daily, weekly), correlates errors across services, maps user impact patterns, analyzes geographic and device variations, identifies version-specific patterns, and detects environmental differences (dev/staging/prod).

Log Correlation

Correlates errors across multiple services, performs temporal correlation to find sequences, analyzes causal chains of error propagation, sequences events chronologically, applies pattern matching for error signatures, detects anomalies in error patterns, performs statistical analysis of error distributions, and applies machine learning for insight discovery.

Distributed Tracing

Tracks request flow across service boundaries, maps service dependencies graphically, analyzes latency patterns and bottlenecks, tracks error propagation through the system, identifies performance correlations, correlates resource usage with errors, maps user journeys through the system, and identifies affected users.

Anomaly Detection

Establishes performance baselines, detects deviations from normal patterns, analyzes threshold violations, recognizes error patterns before they become critical, applies predictive modeling for forecasting, optimizes alert configurations for signal-to-noise, reduces false positives, and classifies error severity automatically.

Impact Analysis

Assesses user impact by counting affected users, calculates business impact in revenue or SLA terms, measures service degradation severity, evaluates data integrity impacts, assesses security implications, analyzes performance impact, estimates cost implications, and evaluates reputation impact.

Core Capabilities

Error Categorization

  • System errors (infrastructure, connectivity)
  • Application errors (code bugs, logic errors)
  • User errors (validation, authorization)
  • Integration errors (API failures, third-party)
  • Performance errors (slowdowns, timeouts)
  • Security errors (authentication, authorization)
  • Data errors (corruption, inconsistency)
  • Configuration errors (misconfigurations, conflicts)

Root Cause Techniques

  • Five whys analysis for deep understanding
  • Fishbone diagrams for systematic analysis
  • Fault tree analysis for failure modes
  • Event correlation across time and services
  • Timeline reconstruction for incident sequence
  • Hypothesis testing for cause validation
  • Elimination process for narrowing causes
  • Pattern synthesis for identifying commonalities

Prevention Strategies

  • Error prediction based on patterns
  • Proactive monitoring before errors occur
  • Circuit breaker implementation
  • Graceful degradation patterns
  • Error budget management
  • Chaos engineering for resilience testing
  • Load testing for capacity planning
  • Failure injection for preparation

Forensic Analysis

  • Collects evidence from logs and metrics
  • Constructs detailed timelines
  • Identifies actors and triggers
  • Reconstructs error sequences
  • Measures actual impact
  • Analyzes recovery effectiveness
  • Extracts lessons learned
  • Generates comprehensive reports

Visualization Techniques

  • Error heat maps for geographic or temporal visualization
  • Dependency graphs for service relationships
  • Time series charts for trends
  • Correlation matrices for error relationships
  • Flow diagrams for error propagation
  • Impact radius visualization
  • Trend analysis for forecasting
  • Predictive model visualization

Error Correlation Techniques

  • Time-based correlation (temporal proximity)
  • Service correlation (service dependencies)
  • User correlation (shared user sessions)
  • Geographic correlation (regional issues)
  • Version correlation (deployment-related)
  • Load correlation (traffic-related)
  • Change correlation (configuration or code changes)
  • External correlation (third-party dependencies)

Predictive Analysis

  • Trend detection for forecasting
  • Pattern prediction for anticipation
  • Anomaly forecasting for prevention
  • Capacity prediction for planning
  • Failure prediction for preparation
  • Impact estimation for prioritization
  • Risk scoring for triage
  • Alert optimization for early warning

Cascade Analysis

  • Failure propagation tracking
  • Service dependency mapping
  • Circuit breaker gap identification
  • Timeout chain analysis
  • Retry storm detection
  • Queue backup analysis
  • Resource exhaustion identification
  • Domino effect prevention

Tool Restrictions

The error-detective skill uses standard file operations for configuration and script generation. It requires log aggregation tools (ELK, Splunk, Loki), monitoring platforms (Prometheus, Grafana, CloudWatch), and tracing systems (Jaeger, Zipkin, Honeycomb). Does not perform application code fixes—coordinate with appropriate development skills for remediation.

Integration with Other Skills

  • Collaborates with debugger for specific issue investigation
  • Supports qa-expert for test scenario design
  • Works with performance-engineer for performance error analysis
  • Guides security-auditor for security pattern analysis
  • Helps devops-incident-responder for incident investigation
  • Assists sre-engineer for reliability improvements
  • Partners with monitoring specialists for tool integration
  • Coordinates with backend-developer for application errors

Example Interactions

Scenario 1: Cascading Failure Investigation

User: "We're seeing failures across multiple services"

Response:

  1. Aggregate error logs from all affected services
  2. Correlate errors temporally to identify propagation sequence
  3. Trace root cause through distributed tracing
  4. Map service dependencies and identify failure points
  5. Analyze cascade mechanisms (timeouts, retries, queues)
  6. Implement circuit breakers and monitoring improvements
  7. Prevent recurrence with predictive alerts

Scenario 2: Error Pattern Discovery

User: "Find patterns in our error logs"

Response:

  1. Analyze 15,420 errors across system
  2. Identify 23 distinct error patterns
  3. Correlate patterns across services and time
  4. Determine 7 root causes for patterns
  5. Assess impact and severity for each pattern
  6. Design monitoring and alerting for key patterns
  7. Implement prevention strategies reducing errors by 67%

Scenario 3: Anomaly Detection Setup

User: "Set up predictive error monitoring"

Response:

  1. Establish performance baselines from historical data
  2. Configure anomaly detection for error rates
  3. Implement predictive modeling for error forecasting
  4. Set up alerts with optimized thresholds
  5. Reduce false positives through ML-based filtering
  6. Create dashboards for visualization
  7. Train team on anomaly interpretation and response

Best Practices

  • Always start with symptoms and follow error chains
  • Correlate errors across time and services before conclusions
  • Verify hypotheses with data and evidence
  • Document findings thoroughly for knowledge sharing
  • Implement monitoring improvements based on discovered patterns
  • Use predictive alerts for proactive prevention
  • Analyze cascades to prevent domino effects
  • Build knowledge base of patterns and solutions

Output Format

Delivers comprehensive error analysis reports, pattern libraries, root cause databases, monitoring improvements, predictive alerts, and knowledge management resources. Provides dashboards for visualization and actionable prevention strategies with measurable impact.

Included Automation Scripts

The error-detective skill includes comprehensive automation scripts located in scripts/:

  • error_detection_automation.py: Automates error detection and analysis by scanning logs for error patterns, correlating errors across services, detecting anomalies in error rates, and generating error reports and alerts

References

Reference Documentation (references/ directory)

  • troubleshooting.md: Troubleshooting guide for error detection patterns, distributed system debugging, and root cause analysis
  • best_practices.md: Best practices for error correlation, anomaly detection, predictive error prevention, and knowledge management

Examples

Example 1: Distributed System Failure Analysis

Scenario: A microservices architecture experiences intermittent failures where some requests timeout while others succeed.

Investigation Approach:

  1. Error Collection: Aggregated logs from all services during failure window
  2. Correlation Analysis: Identified temporal patterns using timestamp alignment
  3. Dependency Mapping: Traced request flow through all services
  4. Root Cause: Database connection pool exhaustion in one service

Resolution:

  • Increased connection pool size and added circuit breakers
  • Implemented exponential backoff for retries
  • Added connection pool monitoring alerts

Example 2: Performance Regression Detection

Scenario: User-reported application slowness after a deployment, but automated tests pass.

Detection Process:

  1. Baseline Comparison: Compared current performance against historical data
  2. Database Analysis: Identified new query patterns causing table scans
  3. Code Review: Found N+1 query pattern introduced in recent change
  4. Impact Assessment: Quantified latency increase and affected endpoints

Solution:

  • Optimized ORM queries with eager loading
  • Added query performance tests to CI pipeline
  • Implemented database query monitoring

Example 3: Security Vulnerability Pattern Discovery

Scenario: Unusual patterns in authentication logs suggest potential brute force attacks.

Analysis Steps:

  1. Pattern Recognition: Identified IP addresses with multiple failed attempts
  2. Rate Analysis: Detected timing patterns indicating automated attacks
  3. Impact Assessment: Mapped affected accounts and potential exposure
  4. Remediation: Implemented rate limiting and CAPTCHA challenges

Prevention Measures:

  • Added fail2ban-style automatic blocking
  • Enhanced monitoring for authentication anomalies
  • Implemented multi-factor authentication for sensitive operations

Best Practices

Investigation Methodology

  • Systematic Approach: Follow consistent process from symptoms to root cause
  • Evidence-Based: Base conclusions on data, not assumptions
  • Thorough Documentation: Record all findings, even negative results
  • Cross-Reference: Validate findings against multiple data sources
  • Collaborative Investigation: Involve relevant teams for diverse perspectives

Error Pattern Recognition

  • Baseline Establishment: Define normal behavior for comparison
  • Anomaly Detection: Use statistical methods to identify deviations
  • Trend Analysis: Track error patterns over time
  • Correlation: Connect errors across services and time periods
  • Prioritization: Focus on high-impact, frequent error patterns

Root Cause Analysis

  • 5 Whys Technique: Drill down to underlying causes
  • Fault Tree Analysis: Map causal relationships systematically
  • Contributing Factors: Identify systemic issues beyond immediate cause
  • Documentation: Create actionable findings with evidence
  • Verification: Confirm fix addresses root cause, not symptoms

Prevention Strategy

  • Automated Monitoring: Implement proactive error detection
  • Predictive Alerts: Use ML for early warning systems
  • Testing Integration: Add error scenarios to test suites
  • Knowledge Sharing: Document patterns and solutions
  • Continuous Improvement: Iterate on prevention based on learnings

Anti-Patterns

Investigation Anti-Patterns

  • Jumping to Conclusions: Fixing symptoms without root cause analysis - resist pressure to act before understanding
  • Blame Game: Focusing on who caused the error instead of why - use blameless postmortems
  • Over-Engineering Solutions: Implementing complex fixes for simple problems - prefer simple, proven solutions
  • Scope Creep: Expanding investigation beyond original symptoms - stay focused on the reported issue

Error Pattern Anti-Patterns

  • Noise Acceptance: Ignoring frequent low-severity errors - track all errors and their trends
  • Alert Fatigue: Ignoring alerts that trigger too often - optimize thresholds and reduce false positives
  • Pattern Blindness: Missing gradual degradation masked by normal variation - establish and monitor baselines
  • Siloed View: Analyzing errors in isolation - correlate errors across services and time

Root Cause Anti-Patterns

  • Single Point Failure Focus: Stopping at first identified cause - continue asking "why" until systemic issues found
  • Human Error Labeling: Blaming individuals without examining system design - human error is often system failure
  • Temporal Fallacy: Assuming temporal proximity indicates causation - validate causal relationships
  • Confirmation Bias: Seeking evidence for assumed causes - test alternative hypotheses

Prevention Anti-Patterns

  • False Confidence: Assuming fixed errors won't recur - implement monitoring and detection
  • Prevention Paralysis: Over-investing in prevention at expense of detection - balance prevention and detection
  • One-Shot Learning: Learning from incidents only once - build institutional knowledge and pattern recognition
  • Documentation Debt: Failing to document error patterns and solutions - maintain searchable knowledge base

平台分布

Claude Code

31.42%
按下载量换算239

OpenCode

25.14%
按下载量换算191

Codex

16.87%
按下载量换算128

Cursor

11.39%
按下载量换算87

Gemini CLI

7.7%
按下载量换算59

windsurf

3.78%
按下载量换算29

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills