system-performance-remediation

Diagnose and remediate resource-wasting processes with PID-level confirmation.

Updated Jul 15, 2013
One-click install
npx skills add https://github.com/oysteinkrog/dotfiles --skill system-performance-remediation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: system-performance-remediation
Source: https://github.com/oysteinkrog/dotfiles/tree/main/.claude/skills/system-performance-remediation
Command: npx skills add https://github.com/oysteinkrog/dotfiles --skill system-performance-remediation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps you diagnose and remove slow, resource-wasting processes that accumulate when running multiple coding agents. It identifies zombie processes, long-running commands, and other cruft while protecting active coding agents.

Core Features & Use Cases

  • Detect and terminate stuck processes (zombies, long-running git, test runners) safely.
  • Audit system load, memory, and swap to inform remediation decisions.
  • Provide a recommended action plan and optional execution of cleanup.

Quick Start

Use the diagnosis workflow to identify and clean up resource-wasting processes. Example:

  • Run: echo "=== Load ===" && uptime && echo "=== Cores ===" && nproc && echo "=== Memory ===" && free -h
  • List candidates: ps aux --sort=-%cpu | head -40
  • Review identified PIDs and confirm before killing; follow the safe kill sequence.

Frequently Asked Questions about system-performance-remediation

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

FAQPage Schema
How do I find and kill zombie processes slowing down my system?

To find and kill zombie processes, use the ps command to enumerate processes sorted by CPU usage, identify zombie PIDs, and terminate them safely. This skill audits system load and proposes targeted process termination actions for your confirmation.

Why does my system become slow after running multiple coding agents?

System sluggishness from long coding sessions is often caused by zombie processes and long-running commands accumulating after multiple agents run. This skill diagnoses the system load and identifies specific resource-wasting processes to remediate the hang.

How do I safely terminate stuck git or test runner processes without killing active agents?

To safely terminate stuck processes without killing active agents, apply a rules-driven workflow that categorizes process risks, estimates impact, and shows explicit PID-level details for your confirmation before any termination occurs.

What is the safe kill sequence for remediating system performance issues?

A safe kill sequence involves auditing memory and swap, listing top CPU-consuming processes with ps, categorizing risks to protect active coding agents, and proposing targeted terminations that require your explicit confirmation before execution.

Can I diagnose system load and memory usage before terminating processes?

You can diagnose system load and memory usage before terminating processes by running uptime, nproc, and free commands. This skill uses that system audit data to inform its recommended remediation action plan.

Does this process cleanup approach protect active coding agents from being terminated?

Yes, safe process cleanup is designed for scenarios where developers experience slow performance after long coding sessions with multiple agents. It enumerates and categorizes stuck processes while explicitly protecting your active coding agents.