memory-guardian

Installation
SKILL.md

Memory Guardian Skill

Purpose

Monitors WSL2 memory usage and enforces safe scaling limits for Claude Code instances and parallel agents.

When This Skill Activates

  • Before spawning 3+ parallel Task agents
  • Before running npm run build or other memory-heavy operations
  • When SessionStart hook reports WARNING or CRITICAL memory status
  • When user mentions running multiple CC instances

Memory Check Command

free -m | awk '/^Mem:/{printf "RAM: %dMB/%dMB (%d%%)\n", $3, $2, $3*100/$2} /^Swap:/{if($3>0) printf "Swap: %dMB/%dMB\n", $3, $2}'

Scaling Rules

Installs
1
GitHub Stars
11
First Seen
Sep 25, 2026