os-restart-diagnosis

Diagnoses Linux OS restart failures by tracing fault chains to root causes.

1|1|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/linfordWu/owls --skill os-restart-diagnosis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: os-restart-diagnosis
Source: https://github.com/linfordWu/owls/tree/main/skills/os-restart-diagnosis
Command: npx skills add https://github.com/linfordWu/owls --skill os-restart-diagnosis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ipmitool, ausearch, crash, ras-mc-ctl, smartctl, last, journalctl, sar, and includes scripts (resource) components.

What problem does it solve?

Diagnoses Linux OS restart failures by collecting signals, kernel messages, power events and hardware indicators, then constructs a verifiable fault chain to reveal root causes.

Core Features & Use Cases

  • End-to-end four-stage diagnostic workflow: information gathering, hypothesis drilling, cross-validation, and root-cause output.
  • Multi-source data fusion: system logs, hardware telemetry, and power/environment signals to determine cause and impact.
  • Use case: when a server reboots unexpectedly, run the skill to produce a reproducible root-cause report with recommended mitigations.

Quick Start

Run the diagnostic to collect signals and output a reproducible root-cause chain.

Frequently Asked Questions about os-restart-diagnosis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose a Linux server that rebooted unexpectedly?

To diagnose an unexpected Linux OS restart, run the skill to collect system logs and hardware telemetry. It applies a four-stage diagnostic workflow to aggregate fault fingerprints and output a structured root-cause analysis.

How do I perform root-cause analysis on a Linux kernel panic or hardware fault?

Perform root-cause analysis on a Linux kernel panic or hardware fault by gathering signals and kernel messages. The skill cross-validates hardware indicators and power events to construct a verifiable fault chain revealing the true root cause.

Does Linux restart diagnosis work with ipmitool and smartctl for hardware faults?

Yes, Linux restart diagnosis works with ipmitool and smartctl to collect hardware indicators. It coordinates these dependencies alongside system logs to cross-validate hardware faults and power events during the diagnostic workflow.

What is the best way to trace why a Linux workstation lost power and restarted?

The best way to trace why a Linux workstation lost power and restarted is using a multi-source data fusion approach. The skill gathers power and environment signals, system logs, and hardware telemetry to determine the cause and impact of power loss.

Can I use journalctl and ausearch to investigate unexpected OS reboots?

Yes, you can use journalctl and ausearch to investigate unexpected OS reboots. The skill leverages these dependencies during its information gathering stage to collect system logs before drilling into hypotheses and cross-validating data.

When should I not rely solely on sar and last for OS restart diagnosis?

You should not rely solely on sar and last for OS restart diagnosis when hardware faults or kernel panics are suspected. Accurate root-cause analysis requires cross-validating these tools' data with kernel messages and hardware telemetry from ipmitool.