session-cleanup
100 / 100 · Low risk
Fine to try.
Identify stale and empty Claude Code sessions in the Agent Monitor and explain the cleanup endpoint (POST /api/settings/cleanup), always showing the exact list of what WOULD be removed before anything is deleted. Cleanup permanently deletes data, so this skill previews first and requires explicit user confirmation. Use when tidying the monitoring database.
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'session-cleanup' ] || [ -L ~/.agents/skills/'session-cleanup' ]; then echo 'A skill folder named session-cleanup already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/hoangsonww/Claude-Code-Agent-Monitor' "$d" && git -C "$d" checkout --quiet 'a46ad70f2715bd5f59634397f3e92dec71758492' -- 'plugins/ccam-sessions/skills/session-cleanup' && mkdir -p ~/.agents/skills && cp -R "$d"/'plugins/ccam-sessions/skills/session-cleanup' ~/.agents/skills/'session-cleanup' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'session-cleanup' ~/.claude/skills/'session-cleanup' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/hoangsonww/Claude-Code-Agent-Monitor/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-14 | a46ad70 | 100 |
| 2026-11-08 | 14907bd | 100 |
| 2026-11-06 | 14907bd | 100 |