/linux-debugging:inspect-oom-eventsfrom linux-debugging
Find past out-of-memory kill events in the journal — both kernel OOM killer invocations and userspace systemd-oomd / earlyoom kills — and reconstruct what was running at the time. Use when the user reports an unexplained freeze, lost work, or a process disappearing.
Ships in linux-debugging. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Three actors can kill a process for memory reasons: the kernel OOM killer (last resort, runs when allocations fail), systemd-oomd (userspace, PSI-based, fires earlier), and earlyoom (userspace, free-memory-threshold-based). Each leaves different log signatures.
journalctl -k --no-pager --grep "(killed process|out of memory|oom-kill|oom_reaper)" -b
journalctl -k --no-pager --grep "out of memory" --since "7 days ago"
Kernel OOM messages include:
Out of memory: Killed process <pid> (<comm>) total-vm:... rss:...The dumped process list shows which process the kernel chose and why (highest oom_score). Capture it for the report.
journalctl -u systemd-oomd --no-pager -b
journalctl -u systemd-oomd --no-pager --since "7 days ago" --grep "(Killed|kill)"
oomd messages look like:
Killed /user.slice/user-1000.slice/[email protected]/app.slice/app-firefox.scope due to memory used (...) / total (...)The cgroup path tells you exactly which session, app, or scope was killed.
journalctl -u earlyoom --no-pager -b --grep "sending SIGTERM"
journalctl -u earlyoom --no-pager --since "7 days ago"
For the time window of an OOM event, pull surrounding context:
T="2026-04-28 14:23"
journalctl --since "$T - 2 min" --until "$T + 2 min" --no-pager -p warning
If sysstat is installed (set up by install-debugging-stack script), look at memory + swap right before the kill:
sar -r -s 14:20:00 -e 14:25:00
sar -S -s 14:20:00 -e 14:25:00
sar -B -s 14:20:00 -e 14:25:00 # paging activity
For each OOM event found, report:
If the user has no userspace OOM protection and is hitting kernel OOM, recommend running setup-oom-protection.
What SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/boot-inspectInspect 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./interactive-debuggingCollaboratively debug a misbehaving Linux desktop app or service in real time with the user. Two modes — live (tail logs while the user reproduces) and retrospective (something just happened, capture evidence before it gets buried). Produces a diagnosis and optionally a written-up bug report with attached log excerpts. Use when the user says "something won't launch", "let's debug this together", "X just crashed", "a bug just happened", or describes an issue they want to reproduce./Other plugins' skills for the same job
linux-debugging@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin linux-debugging