Claude Autoshutdown
Description
Shut down Windows only after every Claude Code session and its subagents have really finished. Reads agent turn state instead of guessing from CPU, 14 safety gates, no UAC prompt. Python + Tkinter, zero runtime dependencies.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Claude AutoShutdown — shut down Windows only after every Claude Code session has really finished
Leave your AI agents running overnight and let the machine turn itself off — but only once **every** Claude Code / Cowork session, including its subagents, has genuinely stopped working.
A small Windows desktop app (Python + Tkinter, **no third-party runtime dependencies**) that watches Claude Code sessions and triggers shutdown, hibernate, sleep or lock when they are all idle. Built for unattended overnight agent runs.
[](https://www.python.org/) [](#requirements) [](#tests) [](#requirements) [](LICENSE)

The UI is currently in Polish. The screenshot above reads: *Live Claude sessions* — state (WORKING / IDLE), session, directory, **why**, silence, CPU, subagents, PID — and below, *Shutdown conditions (all must be green)*. English localisation is not done yet; PRs welcome.
The problem
You start a long agent run, go to sleep, and want the PC off when it's done. Every naive approach gets this wrong in a way that either **kills work in progress** or **never fires at all**:
| Naive signal | Why it fails |
|---|---|
| "No CPU usage" | An idle Claude Code session and a working one occupy the same CPU range — measured below |
| "Log file hasn't changed in N minutes" | During /compact or an API rate-limit wait the transcript is frozen for minutes while the agent is very much alive |
| "The process exited" | Sessions stay resident between turns; the process living tells you nothing |
| "Window title / focus" | Says nothing about background subagents |
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11