claude-handoff
MAmattpocock/skills337k4,217 new stars in the last 7 days
Check on, troubleshoot, or uninstall an installed Insomnia (the macOS menu bar app that keeps a Mac awake for a timed session). Use when the user asks why Insomnia shows a warning, whether a session cleaned up after itself, why the hotspot password stopped working, or how to remove it.
Reference pages in https://github.com/krishhgg/Insomnia: docs/recovery.md, docs/install.md, docs/lid-close.md and docs/extras.md.
sudo, pmset changes, kill or kill -CONT yourself. Show the
user the command, say why, and let them run it.~/Library/Application Support/Insomnia/.
state.json there is the recovery journal: the list of changes Insomnia
still has to undo.ps -o pid,stat,lstart,command -p <pid> first.brew uninstall --zap insomnia for that app moves this app's journal to the
Trash. Check which app the user means before anything like that.tail -n 100 ~/Library/Logs/Insomnia/insomnia.log shows what the app and
the recovery agent did last.
pmset -g | grep -i sleepdisabled shows 1 while sleep is turned off.
cat ~/Library/Application\ Support/Insomnia/state.json shows what is
still waiting to be undone. These entries are pending:
sleepDisabledByUs, lowPowerSetByUs or dockerFrozen set to truefrozenProcesses, appNapOverrides or savedAudioOutputssavedOutputVolume or savedMutedsavedDisplayBrightness or savedKeyboardBrightness, unless
displayRestoreRefused or keyboardRestoreRefused is trueOther keys, such as keptDisplayReadLit, keptDisplayUnderLowPower and
displayRestoredUnderLowPower, are records the app keeps, not changes to
undo. A brightness value kept after a refused restore blocks nothing.
Saved audio for an output that isn't connected waits for it to reconnect
and doesn't block ending a session.
launchctl print gui/$(id -u)/com.insomnia.backstop shows whether the
recovery agent is loaded.
Match the warning to docs/recovery.md, "Recovery limits and manual attention".
sudo kill <pid> the menu shows.ps and decides whether to run kill -CONT <pid>.sudo pmset -a disablesleep 0.Follow "Uninstall" in docs/install.md and hand the user the command, since it
asks for the password. It stops when something is still waiting to be
undone. Fix that first, then run it again. A failed uninstall does not mean
the power settings are back to normal, so check pmset -g afterward.
MAmattpocock/skills337k4,217 new stars in the last 7 days
MAmattpocock/skills337k4,217 new stars in the last 7 days
AFaffaan-m/ECC315k3,503 new stars in the last 7 days
AFaffaan-m/ECC315k3,503 new stars in the last 7 days
AFaffaan-m/ECC315k3,503 new stars in the last 7 days
DIDietrichGebert/ponytail203k4,226 new stars in the last 7 days