System Health Check & Cleanup Skill

Diagnose Linux system health issues and automate cleanup in Claude Code environments.

3|1|Updated Nov 5, 2025
One-click install
npx skills add https://github.com/astoreyai/claude-skills --skill system-health-check-cleanup-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: System Health Check & Cleanup Skill
Source: https://github.com/astoreyai/claude-skills/tree/main/system-health-check
Command: npx skills add https://github.com/astoreyai/claude-skills --skill system-health-check-cleanup-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnoses Linux system health issues and performance bottlenecks, surfaces bottlenecks, and automates routine maintenance to keep Claude Code environments responsive and stable.

Core Features & Use Cases

  • System diagnostics: memory, disk, CPU, and top resource consumers.
  • Issue detection: crash loops, orphaned services, stale processes, and cache bloat.
  • Automated cleanup: disable crashing services, kill old claude/python processes, purge development caches, vacuum the journal, and reload systemd.

Quick Start

Run /system-health to perform a read-only diagnostic, then /system-cleanup to apply fixes.

Frequently Asked Questions about System Health Check & Cleanup Skill

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

FAQPage Schema
How do I diagnose Linux system health issues and performance bottlenecks?

Run a read-only diagnostic to check Linux system health by analyzing memory, disk, CPU, and top resource consumers. This process surfaces performance bottlenecks, crash loops, orphaned services, and stale processes keeping environments stable.

What is the best way to automate Linux system cleanup and journal optimization?

Automate Linux system cleanup by purging development caches, vacuuming the systemd journal, disabling crashing services, and killing stale processes. This maintenance resolves cache bloat, frees disk space, and reloads systemd with safe defaults.

Can I detect crash loops and orphaned systemd services on a Linux server?

Yes, automated diagnostics detect crash loops and orphaned systemd services on Linux servers. The system identifies failing units and stale processes, allowing you to safely disable crashing services and reload systemd.

Does this system health check work with Claude Code environments?

Yes, this system health check specifically diagnoses Linux system issues within Claude Code environments. It maintains responsiveness by automating server health monitoring, crash detection, cache cleanup, and systemd reloads.

Why does my Linux system experience cache bloat and how do I clear it?

Linux systems experience cache bloat from accumulated development caches and journal logs. Clear it by purging development caches and vacuuming the systemd journal, which removes stale data and optimizes system performance.

When should I avoidAutomated cleanup on Linux servers?

Avoid automated cleanup on Linux servers when preserving specific development caches or journal logs for debugging. The diagnostic phase is read-only, but cleanup modifies systemd services and purges cached data using safe defaults.