Skip to content
Kitbay
Skill

diagnose-crash

MITUpdated on Nov 11, 202646,774GitHub stars

A skill shipped with Omarchy, DHH's Arch-based Linux desktop, for working out why a program crashed on the local machine from its systemd core dump.

What the skill teaches

A skill shipped with Omarchy, DHH's Arch-based Linux desktop, for working out why a program crashed on the local machine from its systemd core dump. The agent reads the backtrace and command line with coredumpctl, checks whether crashes repeat, rules out memory exhaustion, compares the crash time with file changes, journal warnings and package updates, and looks at all threads for work in flight. Where it can, it extracts the core to a temporary file and symbolises it with gdb and Arch's debuginfod server, never inventing frames. It reports what crashed, the likely cause with facts kept apart from inference, any data loss and the risk of recurrence, and changes nothing except an optional notification mute.

Capabilities

  • Read a crash's backtrace with coredumpctl
  • Rule out out-of-memory kills
  • Symbolise the core with gdb and debuginfod
  • Report the cause and recurrence risk