From linux-debugging
Inspect boot health on a systemd Linux system — failed units, slow services, kernel boot messages, and boot-to-boot comparison. Use when the user reports slow boot, services not starting, or wants to check post-reboot health. Targets Ubuntu/Debian + Wayland desktops but works on any systemd host.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin linux-debuggingThis skill uses the workspace's default tool permissions.
Systematic boot-time inspection. Run these in order; stop when you find the cause.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
Systematic boot-time inspection. Run these in order; stop when you find the cause.
systemctl --failed --no-pager
For each failed unit, get its log:
journalctl -u <unit> -b --no-pager -p warning
Also check user-scope units (Wayland desktop session services often live here):
systemctl --user --failed --no-pager
systemd-analyze
systemd-analyze blame --no-pager | head -20
systemd-analyze critical-chain --no-pager
blame shows per-unit start time. critical-chain shows the dependency path that determined total boot time — fixing the slowest unit on the chain is what actually shortens boot.
dmesg --level=err,warn --ctime
journalctl -k -b -p warning --no-pager
Look for: firmware errors, ACPI warnings, GPU driver issues (especially relevant on Wayland — amdgpu/i915/nvidia messages), thermal events, USB errors.
If a regression appeared after a recent reboot:
journalctl --list-boots --no-pager | head -10
journalctl -k -b -1 -p warning --no-pager > /tmp/prev-boot.log
journalctl -k -b 0 -p warning --no-pager > /tmp/curr-boot.log
diff /tmp/prev-boot.log /tmp/curr-boot.log
Requires persistent journald. If --list-boots only shows one entry, run validate-persistent-journal.
For KDE Plasma on Wayland:
journalctl -u sddm -b --no-pager -p warning
journalctl --user -t plasmashell -b --no-pager -p warning
journalctl --user -t kwin_wayland -b --no-pager -p warning
For GNOME on Wayland:
journalctl -u gdm -b --no-pager -p warning
journalctl --user -t gnome-shell -b --no-pager -p warning
Structure findings as: