Linux Debugging Plugin

No description provided

About This Project

Linux-Debugging-Plugin is a Claude Code plugin that provides a set of skills for diagnosing problems on Linux desktops. Its live debugging skills cover journalctl queries filtered by unit, time, priority, and kernel scope with structured output, boot analysis including failed units, systemd-analyze output, and boot-to-boot comparison, and inspection of non-journal sources such as application state directories, /var/log, and dpkg, apt, snap, and flatpak history. Memory-related skills configure systemd-oomd or earlyoom and reconstruct past out-of-memory kills, correlating them with sar data. Crash forensics skills verify persistent journald, guide a post-mortem after a hard crash, stream kernel oops messages over netconsole, and review pstore panic logs.

The project also includes an idempotent shell installer, scripts/install-debugging-stack.sh, which uses apt to configure persistent journald, linux-crashdump (kdump-tools), sysstat, systemd-coredump, and a pstore check. The installer requires a reboot to activate kdump. The skills are largely systemd-portable and rely on ripgrep and jq for output processing, while the installer is specific to apt-based distributions and was tested on Ubuntu 25.10 with KDE Plasma on Wayland.

The plugin is aimed at Linux desktop users who experience freezes, crashes, or slow boots and want an AI assistant to help interpret system logs. It may also suit those who want to set up crash capture ahead of time so that evidence survives a hard lock. The project is released under the MIT license and can be forked and adapted for other distributions.

Project Details

Explore More Projects