kernel-debug-loop

Community

Rapid kernel debugging, instant feedback.

Authorryanbreen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Traditional kernel debugging often involves long boot times and manual log analysis, slowing down development. This Skill provides a rapid feedback loop by running the Breenix kernel in short, time-bounded sessions, automatically detecting specific log signals and terminating quickly. This dramatically accelerates iterative debugging and verification.

Core Features & Use Cases

  • Signal-Based Termination: Automatically stops the kernel when a predefined log message (signal) is detected.
  • Time-Bounded Execution: Limits kernel runtime to a specified timeout, preventing endless hangs.
  • Real-time Output Monitoring: Streams kernel logs directly to your console, providing immediate visibility.
  • Use Case: You're developing a new interrupt handler and need to quickly verify it initializes correctly. Use this Skill with a signal like "Interrupt handler initialized" and a 10-second timeout. The kernel will run, print its logs, and stop as soon as the signal appears (or timeout), giving you instant feedback on your changes.

Quick Start

Run kernel, stop when "KERNEL_INITIALIZED" appears (max 15s)

kernel-debug-loop/scripts/quick_debug.py --signal "KERNEL_INITIALIZED"

Run kernel for 30 seconds without specific signal

kernel-debug-loop/scripts/quick_debug.py --timeout 30

Run in BIOS mode, watching for "Boot complete"

kernel-debug-loop/scripts/quick_debug.py --signal "Boot complete" --mode bios

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: kernel-debug-loop
Download link: https://github.com/ryanbreen/breenix/archive/main.zip#kernel-debug-loop

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository