/linux-debugging:review-pstorefrom linux-debugging
Inspect /sys/fs/pstore for kernel oops and panic messages captured in firmware-backed storage (EFI vars, ACPI ERST, or ramoops) that survive a reboot. Use when the user says "check pstore", "any firmware-saved crash logs", or after a hard freeze on a system where kdump may not have worked.
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.
pstore is a kernel subsystem that saves the last kernel messages to non-volatile storage (EFI variables, ACPI ERST, or ramoops-reserved RAM) so they survive a crash + reboot even when disk-based logging is unavailable. Complementary to kdump; more likely to capture very early or very hard hangs.
ls -la /sys/fs/pstore/
mount | grep pstore
If the directory is empty but pstore is mounted, no crash data has been captured (or it was cleared). If /sys/fs/pstore does not exist, the backend is not enabled.
Typical file naming:
dmesg-<backend>-<id> — kernel log fragmentsconsole-<backend>-<id> — console outputpmsg-<backend>-<id> — userspace messages via /dev/pmsg0<backend> is one of efi, erst, ramoops.
# View
sudo less /sys/fs/pstore/dmesg-*
# Archive before the kernel auto-clears (some backends clear on read)
sudo cp /sys/fs/pstore/* ~/crash-archive/pstore-$(date +%Y%m%d-%H%M%S)/
Concatenate multi-part dumps in order — pstore splits long oops across multiple files numbered sequentially.
Look for:
Tainted: G OE indicates out-of-tree modules (nvidia, vbox, etc.) were loaded.Machine Check Exception, Hardware Error, MCE: ... point at CPU/RAM/firmware faults rather than software bugs.Once archived, clear to make room for the next crash:
sudo rm /sys/fs/pstore/*
If pstore is unavailable, enable one of:
EFI vars (most common on modern UEFI):
sudo modprobe efi_pstore
Add efi_pstore to /etc/modules-load.d/pstore.conf for persistence.
ramoops (works without UEFI, needs reserved memory):
Add to kernel cmdline: ramoops.mem_address=0x8000000 ramoops.mem_size=0x200000 ramoops.ecc=1
ACPI ERST — automatic if firmware supports it; check dmesg | grep -i erst.
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./inspect-oom-eventsFind 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./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