skills/hermit-takeover/SKILL.md
Stops the Docker container running the autonomous hermit, marks the session as operator takeover, loads full hermit context, and presents a summary. Run locally (outside Docker) when you want to drive interactively.
npx skillsauth add gtapps/claude-code-hermit hermit-takeoverInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Stop the autonomous hermit and take the wheel. This skill is for Docker-based always-on setups — it stops the container, preserves all session state, and loads the hermit's context so you can work interactively with full continuity.
Read .claude-code-hermit/config.json to get:
tmux_session_name — resolve {project_name} with the actual project directory nameagent_name — for displayRun docker compose -f docker-compose.hermit.yml ps --status running --format '{{.Name}}' in the project root.
docker compose fails (Docker not installed or no compose file): inform the operator: "No docker-compose.hermit.yml found. This skill is for Docker-based setups." and stop.Run docker compose -f docker-compose.hermit.yml stop (not down — we want to preserve the container for restart).
This sends SIGTERM, which triggers the entrypoint to exit cleanly. If hermit-stop runs inside the container, it archives the current report before exiting.
Wait briefly for the container to stop: check docker compose -f docker-compose.hermit.yml ps --status running up to 3 times with 5-second intervals. If it's still running after 15 seconds, warn: "Container is still stopping — it may take a moment for the session to archive."
Read .claude-code-hermit/sessions/SHELL.md.
If the file exists and has content:
**Status:** line and change the value to operator_takeover- **Takeover:** YYYY-MM-DD HH:MM with the current timestampIf SHELL.md doesn't exist or is empty: note this for the summary — the hermit may have been idle with no active session.
Read these files (all in parallel):
.claude-code-hermit/OPERATOR.md — the project rulebook.claude-code-hermit/sessions/SHELL.md — current/last session stateS-*-REPORT.md in .claude-code-hermit/sessions/ (by filename sort, descending)Print a structured summary for the operator:
Takeover complete.
Session: S-NNN | was: in_progress
Task: "Add input validation to API endpoints"
Progress: 2/4 tasks completed (via TaskList)
Blockers: none
Cost so far: $1.80
You're now driving. The hermit's full context is loaded.
When you're done, run /claude-code-hermit:hermit-hand-back to restart the hermit.
Adapt based on what's actually in SHELL.md:
The session continues normally from here. The operator works interactively with the full hermit context loaded.
tools
Composes and delivers the daily fitness brief — a forward-looking morning read (readiness + today's plan) or a backward-looking evening read (today's training, or an earned-rest note, + tomorrow's setup) — in the operator's configured voice. Invoke with /claude-code-fitness-hermit:fitness-brief --morning|--evening|--slot <name>. Becomes the plugin's two daily beats — the morning Strava connectivity check and the evening activity sync, RPE binding, and Run deep-dive.
development
Renew the hermit's long-lived Claude login token over the channel, before it expires. Relays a one-time sign-in link to the operator, takes the code back, installs the new token, and restarts. Activates on messages like 'relogin', 'renew my login', 'reauth', 'the login is expiring', or when doctor's credential-expiry check flags setup-token.
development
Synthesizes the past 7 days of archived briefs into a weekly digest — top stories, emerging vs faded themes, category activity, and per-source performance built from archive frontmatter. Delivers to the operator's configured channel and archives a weekly note. Designed as a weekly routine. Invoke with /feed-hermit:weekly-digest.
development
Manage developing story arcs tracked across briefs — add, resolve, and list active arcs in compiled/story-arcs-*.md. Arc Watch keywords drive the feed-brief arc-tagging enrichment. Invoke with /feed-hermit:story-arcs add|resolve|list.