KS
Killer-Skills

auto-debug-command — how to use auto-debug-command how to use auto-debug-command, auto-debug-command setup guide, auto-debug-command vs manual debugging, what is auto-debug-command, auto-debug-command install, auto-debug-command alternative, automated shell command debugging, run_shell_command in detached mode, docker-compose command debugging

v1.0.0
GitHub

About this Skill

Perfect for Development Agents needing automated shell command debugging and execution. auto-debug-command is a skill that automates the execution and debugging of shell commands, utilizing technologies like run_shell_command in detached mode.

Features

Executes shell commands using run_shell_command in detached mode
Monitors command output for errors and attempts to debug
Fixes identified issues and re-runs the command until successful
Supports commands like docker-compose up with --build and -d flags
Utilizes detached mode for long-running commands

# Core Topics

kimthiphuongthao kimthiphuongthao
[0]
[0]
Updated: 3/7/2026

Quality Score

Top 5%
44
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add kimthiphuongthao/failover_openig/auto-debug-command

Agent Capability Analysis

The auto-debug-command MCP Server by kimthiphuongthao is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use auto-debug-command, auto-debug-command setup guide, auto-debug-command vs manual debugging.

Ideal Agent Persona

Perfect for Development Agents needing automated shell command debugging and execution.

Core Value

Empowers agents to automate shell command execution, monitoring, and debugging using detached mode, providing error detection and correction capabilities with protocols like docker-compose, and file formats like shell scripts.

Capabilities Granted for auto-debug-command MCP Server

Debugging failed shell commands
Automating command execution workflows
Monitoring and fixing errors in detached mode

! Prerequisites & Limits

  • Requires shell access
  • Limited to shell command execution
Project
SKILL.md
3.0 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Auto-Debug Command Execution

This skill automates the process of executing a shell command, monitoring its output for errors, attempting to debug and fix identified issues, and re-running the command until it succeeds.

Workflow

When this skill is activated with a shell command, follow these steps:

  1. Execute Command (Detached Mode):

    • Run the provided command using run_shell_command in detached mode (-d) if applicable (e.g., docker-compose up --build -d). This prevents the command from blocking the agent's execution.
    • If the command is not a long-running process and doesn't support detached mode, execute it directly and capture its output.
  2. Monitor and Collect Logs:

    • Immediately after executing the command, use appropriate tools to collect logs. For Docker Compose, this means docker-compose logs --no-log-prefix. For other commands, analyze the direct output or relevant log files.
  3. Analyze Logs for Errors:

    • Scan the collected logs for keywords indicating errors (e.g., ERROR, Failed, Exception, cannot, not found).
    • Identify the most recent or critical error message and its context (e.g., file path, line number, class name).
  4. Diagnose and Propose Fix (Internal Reasoning):

    • Based on the identified error, diagnose the root cause.
    • Formulate a concrete plan to fix the error. This may involve:
      • Modifying configuration files (write_file or replace).
      • Renaming files (run_shell_command mv).
      • Adjusting environment variables.
      • Updating Dockerfile contents.
      • Consulting internal knowledge (e.g., OpenIG configuration patterns).
    • Crucially: If the fix involves code/config modification, ensure it adheres to project conventions and existing patterns.
  5. Apply Fix:

    • Execute the necessary tool calls (e.g., write_file, replace, run_shell_command) to apply the proposed fix.
  6. Clean Up (if necessary):

    • If the command involves Docker containers, always bring them down (docker-compose down) before attempting to re-run docker-compose up --build -d with a new configuration. This ensures a clean state.
  7. Loop or Conclude:

    • Go back to Step 1 (Execute Command) and repeat the cycle until the logs indicate successful completion of the initial command without critical errors.
    • If a series of attempts (e.g., 3-5 iterations) fails to resolve the issue, or if the error seems unresolvable given current tools/context, report the unresolvable state and the last error to the user, seeking further guidance.
  8. Report Success: Once the command runs successfully and logs show no errors, report success to the user and present any relevant output or next steps (e.g., how to verify the environment).

Usage

Activate this skill when a shell command needs to be executed with automated error detection and self-correction.

Example: Use the auto-debug-command skill to run "docker-compose up --build"

Related Skills

Looking for an alternative to auto-debug-command or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication