Docker Pro Diagnostic

Analyze Docker container logs to identify root causes of failures.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/nakamotosai/chii --skill docker-pro-diagnostic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Docker Pro Diagnostic
Source: https://github.com/nakamotosai/chii/tree/main/skills/docker-diag
Command: npx skills add https://github.com/nakamotosai/chii --skill docker-pro-diagnostic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps engineers quickly diagnose why a Docker container is failing by extracting high-signal log events and presenting contextual evidence.

Core Features & Use Cases

  • High-signal log extraction from container logs
  • Contextual error signals with nearby lines
  • Actionable diagnostics and remediation suggestions

Quick Start

Run python3 {{skillDir}}/log_processor.py <container_name> to fetch and summarize the most relevant errors.

Frequently Asked Questions about Docker Pro Diagnostic

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

FAQPage Schema
How do I diagnose Docker container crashes using log analysis?

To diagnose Docker container crashes, this Skill analyzes recent log output for high-signal errors and extracts nearby contextual lines to pinpoint the root cause. It retrieves the last 1000 lines of container logs, detects error keywords, and deduplicates findings into a concise narrative with remediation recommendations.

What is the best way to find the root cause of a Docker container failure?

The best way to find the root cause of a Docker container failure is to extract high-signal error events from logs and review their surrounding context. This Skill processes the last 1000 log lines, filters for error keywords, and returns a diagnostic narrative with actionable remediation steps.

Do I need local Docker access to run container diagnostics?

Yes, you need local Docker access to run container diagnostics because the Skill uses a Python script to fetch live logs directly from the local environment. It retrieves the last 1000 lines of logs from the specified container to detect and contextualize error signals.

How do I extract contextual error lines from Docker logs?

You can extract contextual error lines from Docker logs by running the included Python script with your container name. The script fetches the last 1000 lines of logs, detects error keywords, deduplicates the findings, and contextualizes each error line with nearby log entries to provide a concise diagnostic summary.

Why does my Docker container crash without a clear error in the main logs?

If your Docker container crashes without a clear error in the main logs, high-signal error events might be buried in the output. This Skill processes the last 1000 log lines, detects specific error keywords, and contextualizes each finding to reveal the hidden root cause of the failure.