/lid-guard:lid-guard [off|task|session]from lid-guard
Keep the laptop awake with the lid closed while the agent works. Show or set the lid-guard mode (off, task, session). Use for /lid-guard, "lid guard", or keeping a Linux laptop from sleeping on lid close.
Ships in lid-guard. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Run scripts/lid-guard.sh (it sits next to this file) and show its output verbatim. Do nothing else.
scripts/lid-guard.sh statusoff, task or session: scripts/lid-guard.sh set <mode>Add --agent claude or --agent codex before the subcommand if you are Claude Code or Codex. Otherwise add --agent <your name> if you keep config in ~/.<your name>/, or omit it (mode file is then ~/.agents/lid-guard-mode).
| Mode | Effect |
|---|---|
off | Disabled |
task | Lid guard only while a prompt is being worked on |
session | Lid guard from the first prompt until the agent exits (default) |
No hooks installed (agent without a hook system)? Run scripts/lid-guard.sh [--agent NAME] acquire before long work and release when done. Best effort. The reliable way is starting the agent as scripts/lid-guard.sh [--agent NAME] run -- <agent command>.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
lid-guard@duckysmacky is listed by duckysmacky/duckysmacky-plugin-marketplace — review the source before installing
npx claudepluginhub duckysmacky/duckysmacky-plugin-marketplace --plugin lid-guard