/ClaudeWatch:unattendedfrom ClaudeWatch
Work while the user is away, making best-judgment calls, logging them, and never waiting on a question, a permission prompt, or a ClaudeWatch ask.
Ships in ClaudeWatch. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The user has delegated work and stepped away. They will review the result later rather than discuss it now. For the rest of this session, until they return and start interacting turn-by-turn again, operate in decide-document-proceed mode.
When the user is present, a blocking question is cheap and a wrong guess is expensive, so you ask. When the user is away it inverts: a blocking question stalls the entire window (nothing happens until they return, wasting exactly the time the delegation was meant to use), while a wrong guess gets caught and corrected at review. So when you would normally stop and ask, instead make the call, write it down, and keep going.
Invoking the skill marks the session unattended, subagents included. While it is marked:
ask tier is a block. A command or file write a watch rule
would ask about is denied with "unattended session: escalated to block", in
every permission mode, auto included. Nobody is here to answer it, and in
auto it would otherwise run unconfirmed.AskUserQuestion is denied before it is shown. Make the call, record it
in NOTES.md, and keep going.Both are guarded operations, not shape gates: there is no rewrite that clears them. Leave the step prepared in the review map.
Four local git operations still go through, so the work can be segmented into
commits. Each one has to be a bare command (optionally behind git -C <path>);
a chained or piped form is denied like any compound. Every use is written as an
ALLOW line to the session's unattended log, so the user sees each one on
return.
| Works | For |
|---|---|
git add <paths> | staging a batch |
git commit -F <path> | committing it (not --amend) |
git switch -c <branch>, git checkout -b <branch> | starting a branch |
git switch <branch> | moving between branches (not -f / --discard-changes) |
Plan the run inside that set. Any other git command that would prompt is denied,
whether or not ClaudeWatch has a rule for it: that covers git checkout <branch>, merge, rebase, restore, rm, mv, branch, stash, reset,
push, and commit --amend. Read-only commands (status, diff, log,
show) are unaffected unless your session would have prompted on them. Reach
for these instead:
| Instead of | Do |
|---|---|
git checkout <branch> | git switch <branch> |
git commit --amend | a new commit; note in the review map that it should be squashed |
git stash | commit the work in progress on its own branch |
git restore --staged, git reset | leave it staged, or fix it in the next commit, and log the decision |
git rm, git mv | plain rm / mv, then git add the old and new paths (which stages the removal); if that prompts too, leave it prepared |
git merge, git rebase, git push | leave them prepared in the review map |
Any prompt the user types turns the mark off, a message sent mid-turn included, and a line in your context says so ("unattended: off"). Background task notifications and subagent hand-backs leave it on. When the user sends a mid-turn instruction and goes again ("carry on, back later"), turn it back on:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/unattended.py" on
Check … unattended.py status at the start and before you yield to background
work; it counts the calls denied and the ones allowed, which are the real
numbers for Permission gates hit.
Ask the grant question while the user is still there, as one question before any
work. Commits land on a local branch and are never pushed; dependency installs,
pushes, and other asked-about steps will be left prepared. Confirm which branch
the work goes on (a new one via git switch -c is the default), so the user
knows where to look on return.
Commit each batch without the review pause. A commit skill that shows the
diff and waits for approval (/anchor:commit) needs a person at the desk.
Commit with a bare git commit -F <path>, the message written to a mktemp -u
file first, and list the commits in the review map as awaiting review so the
user can amend or reword them while they are still unpushed.
Warn when the machine is on battery. A laptop that sleeps stops the window as
surely as a prompt does, and nothing inside the turn shows it. Run
pmset -g batt (macOS) at the grant. If the first line reads
Now drawing from 'Battery Power', warn them in the same message as the grant
question, with the charge percentage: the run may slow or stop when the machine
sleeps, so plug in before leaving. On 'AC Power', say nothing. Staying awake
is the user's setting to manage, so leave power management alone.
Then create the file the review will land on: NOTES.md in the working
directory (or a path the user named). Append to it throughout. Each decision
entry:
Render the path as a clickable link when you surface it so the user can open it.
A gate that fires on a command's shape (a pipe, an && chain, a $(…))
clears by reshaping, and ClaudeWatch's ambient note "Before you pipe or chain,
check the lead command" carries the rewrites. Two that matter most when nobody
is watching:
mktemp -u path
and passing the path as a bare call does not.NOTES.md with the Write tool, never a cat > … <<'EOF' heredoc.
The rules scan the whole command line, payload included, so a decision entry's
Reverse field trips them: "how to undo it if it's wrong" is exactly where
git reset --hard or git push --force gets quoted, and the scanner can't tell
a quoted example from an invocation. Use the Write tool and the destructive
string never reaches a shell.When a shape gate fires, it is not a decision to log and route around: reshape the command and carry on. When a guarded operation is what fired, there is nothing to reshape: leave it prepared in the review map.
You cannot see how long a call waited. There is no clock between issuing a tool call and receiving its result. Never write "the gate cleared" or "no time lost": those are claims about wall-clock you have no access to.
Anything verifiable (does the flag exist, what does the schema say, what's the API shape) you still verify yourself. Unattended mode changes the calculus only for judgment and preference decisions that genuinely need the user. And "do your best" covers the requested work, not a license to expand scope: tempting adjacent improvements go in the notes as suggestions, not into the diff.
Keep a ## Run log block at the top of NOTES.md and update it as you go, so
the review opens on what the window actually produced rather than on your
account of it:
## Run log
- Deliverables landed: <commits / files / artifacts>
- Decisions logged: <n>
- Permission gates hit: <n denied, n allowed> (from `unattended.py status`, plus each shape gate and its reshape)
- Turns yielded with work still runnable: <n> <- the one to drive to zero
- In flight at close: <what was still running>
Turns yielded with work still runnable is the metric that matters. The others describe output; that one measures whether the window was used. A run with four deliverables and three yields spent most of its time waiting for a user who was away.
Before writing the review map, list the calls that waited:
python3 "${CLAUDE_PLUGIN_ROOT}/skills/unattended/scripts/tool-waits.py" "$CLAUDE_CODE_SESSION_ID"
It pairs each tool call with its result across the session and its subagents
and prints every call that took three minutes or more. A long wait on a quick
command (a mv, an Edit) is a prompt that got through to nobody; with the
session marked, there should be none.
None of these are targets to game. They exist so the next run can be compared to this one, and so a run that stalled can be told apart from a run that was simply given hard work.
When the work is done (or the window closes), end with a review map the returning user reads first:
3.1 check nuget.org first); the
same content in prose costs them a paragraph of re-orientation before they
can reply to any of it.The Unverified list is what earns the review map. Everything above it describes work that exists and can be read off the diff; only this section carries what the diff looks fine about and isn't. It is also the section the window is structurally worst at producing, because an unattended run ends when the work stops, not when the checking finishes, so the untested edges are freshest in your head and about to be forgotten.
What SKILL.md sets; muted values are Claude Code's defaults
Use when the user says brb or that they're stepping away.
3 skills in this plugin
/learnAnalyze the ClaudeWatch decision log to find the rules that ask most and the blocks that get in the way, and propose overrides (move a rule between ask and block, or turn it off) reviewed as one batch, then reset the log.
/rulesView ClaudeWatch's rules and change how they apply to you: move a rule between block and ask, turn a rule or a whole rule set off, or restore the shipped tier, kept in an overrides file that survives plugin upgrades.
Other plugins' skills for the same job
Generated from the plugin's indexed repository (chris-peterson/claudewatch) — no native marketplace selected
npx claudepluginhub p/chris-peterson-claudewatch