agentleFS
crazysscrazyss/linux-kernel-crash-debug/CLAUDE.md

linux-kernel-crash-debug

CLAUDE.md9 starsChanged 8 months agoMIT-0View on GitHub

This is a Claude Code skill repository for Linux kernel crash debugging using the crash utility. The skill provides comprehensive guidance for analyzing kernel crashes, panics, and vmcore dumps. Note: The .skill file is a standard zip archive. Use unzip -l to inspect contents. Note: The .skill package is whitelist-only. Do NOT include LICENSE, CONTRIBUTING.md, .github/, or any repository metadata. All skills published on ClawHub are licensed under MIT-0 (MIT No Attribution) by default, so the LICENSE file is not…

  • Reads credentials

The file

Files
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

This is a Claude Code skill repository for Linux kernel crash debugging using the crash utility. The skill provides comprehensive guidance for analyzing kernel crashes, panics, and vmcore dumps.

Repository Structure

linux-kernel-crash-debug/
├── SKILL.md                        # Main skill definition (YAML frontmatter + Markdown)
├── SKILL_CN.md                     # Chinese version of the skill
├── README.md                       # Installation and usage instructions
├── scripts/                        # Utility scripts
│   └── agent-crash.sh              # Agent-safe crash wrapper
├── references/                     # Detailed reference documents
│   ├── advanced-commands.md        # Advanced crash commands reference
│   ├── agentic-heuristics.md       # Agent debugging heuristics
│   ├── evidence-first-workflow.md  # Evidence gates, routing, verification, report template
│   ├── case-studies.md             # Debugging case studies
│   ├── debug-tools-guide.md        # KASAN, Kprobes, Kmemleak guide
│   └── vmcore-format.md            # vmcore file format details
└── linux-kernel-crash-debug.skill  # Packaged skill file (zip format)

Note: The .skill file is a standard zip archive. Use unzip -l to inspect contents.

Development Commands

Package the skill (full)

cd linux-kernel-crash-debug
zip -r ../linux-kernel-crash-debug.skill SKILL.md SKILL_CN.md scripts/ references/

Note: The .skill package is whitelist-only. Do NOT include LICENSE, CONTRIBUTING.md, .github/, or any repository metadata. All skills published on ClawHub are licensed under MIT-0 (MIT No Attribution) by default, so the LICENSE file is not needed for upload.

Update existing package

zip -u linux-kernel-crash-debug.skill SKILL.md

Install locally

claude skill install linux-kernel-crash-debug.skill

Skill Architecture

The skill follows the standard Claude Code skill format:

  • YAML frontmatter: name and description fields control skill identification and triggering
  • Description field: Primary triggering mechanism - should be "pushy" to avoid undertriggering
  • Body: Step-by-step debugging workflow, command reference tables, and case studies

ClawHub Metadata Format

For ClawHub registry compatibility, use this frontmatter structure:

---
name: <skill-name>
description: <triggering description>
metadata:
  openclaw:
    requires:
      bins:          # Required binary tools
        - tool1
        - tool2
      env:           # Required environment variables (optional)
        - API_KEY
    homepage: https://github.com/<repo>
---

Important: ClawHub expects metadata.openclaw.requires.bins, not a top-level requires field. Every entry in requires.bins is a hard requirement that must be installed. Keep this list to cross-distro runtime essentials; do not add conditional helpers such as RHEL's kdumpctl or Debian's kdump-config as global requirements. Use metadata.openclaw.os: [linux] for this skill.

Key Resources

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.