Install
$ agentstack add skill-david-vrba-claude-power-skills-monitor-claude ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Run a read-only health check of all Claude Code sessions on this Windows machine and present the results. The check never kills anything — it only reports and suggests commands.
Run it
Execute the bundled PowerShell script (it lives next to this SKILL.md):
powershell.exe -NoProfile -NonInteractive -File "/monitor-claude.ps1"
Replace ` with the absolute path to the folder containing this skill (e.g. ~/.claude/skills/monitor-claude`).
What it reports
- System totals — count of
claude.exe,cmd.exe, andnode.exe, each markedOKorWARNagainst a threshold, with the expected count for the number of active sessions. - Session breakdown — one row per
claude.exesession: PID, age, its childcmd/nodecounts, and status. - Anomalies — orphaned sessions (parent process gone), sessions spawning far more node processes than expected, and stale orphaned
cmd.exeleft running for hours. - Snapshot history — last few recorded session starts, if a snapshot log exists (optional; degrades gracefully when absent).
- Suggested actions — ready-to-paste
taskkillcommands for any flagged session.
Thresholds live at the top of the script ($WARN_CLAUDE, $WARN_NODE, $WARN_CMD, $WARN_AGE_H, $EXPECTED_PER_SESSION) — tune them to your machine.
After showing the output
Present the script output to the user as-is (it is already formatted). Then:
- If anomalies or
WARNstates are present, briefly explain what each means and what the suggested kill commands will do. - If the user asks to kill a specific session, remind them to run the
taskkillcommand in elevated PowerShell or CMD (not Git Bash — the/T /Fflags get path-mangled there). - If the user asks to kill all sessions, remind them this will terminate all Claude Code windows, including the current one.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: david-vrba
- Source: david-vrba/claude-power-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.