/local:flow-sweet-dreams What to do tonight (tasks, issues, a handoff or a plan file)from local
Night mode - plan tonight's work with the user before they leave, then work alone until morning in automatic mode, one branch with a tested commit per phase, and a morning report in tasks/night.md that says how to try each change. Use when the user wants work done overnight or while they sleep ("sweet dreams", "leave it working tonight").
Ships in local. 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.
None: SKILL.md is the whole skill.
The night is automatic and nobody answers until morning, so you never ask.
Our rules come first, exactly as by day: the global CLAUDE.md, every rule in ~/.claude/rules/ that applies
to the files you touch, and the project's CLAUDE.md. Read them before the first phase. Working alone never relaxes
one: a rule that blocks a phase parks it, and is never worked around.
Write tasks/night.md (rename an old one to night-<date>.md):
# Night — <date> · Stop <07:00> · branch `<type>/<slug>`
## Phase 1 — <title>
- Goal: <the user's words>
- Done when: <the check you run>
- E2E: <the flows that prove it, per platform: new or updated>
- Decisions: <fork> → <answer>
- Try it: <launch arguments, screen, what to do, what to see>
- Status: <filled in at night>
## Not tonight
- <what needs the user: a login, a device, a secret, production>
Ask every open question now with AskUserQuestion, until none is left. Then tell the user: bypass permissions mode,
the Mac on power with the lid open and the screen lock off.
Done when no phase has an open question and the user gave the go.
caffeinate -dims -t 43200 in the background.main named night (how: CLAUDE.md › Git).
Work that can't share it (another repo) gets its own branch.tasks/night.md. Update it after every phase, so you can resume
after a summary.At the Stop time, start nothing new; a phase half done stays uncommitted. Run the whole suite once, the full e2e
suite on every platform included, push the branch and open one pull request. Write the report at the top of
tasks/night.md, stop caffeinate, and send it as the last message:
## Morning — <date>
<n> phases done · <n> parked · <n> not started · full suite: <green | what failed> · PR: <url>
### Try it
- Phase <n>: <how> → <what you should see>
### Look first
- <the change most likely to be wrong, and why>
### Waiting for you
- <phase>: `<exact command>` — <why>
### Assumptions
- <phase>: <the decision taken> — <how to undo it>
Done when every phase has a status, every done one a Try it, and every parked action its command.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub fractalx-technologies/claude-config --plugin local9 skills in this plugin
/flow-deviceRun a develop build on a physical iPhone or Android phone against the backend on this Mac - the Mac's network name (iOS) or adb reverse (Android), and a device build that stops without it. Use when the app must run on a real phone against the local backend ("run it on my iPhone", "on the physical device", "on my phone", "try it with localhost on the device"), or a device build says offline while the simulator works ("You are offline")./flow-handoffWrite the session handoff to tasks/handoff.md so a fresh session can continue. Use when the user says they're starting a new session or leaving ("new session", "I'm leaving", "handoff"), even mid-task./flow-pipelinesPut a mobile (Kotlin Multiplatform), Electron desktop or native macOS app on the shared client app pipelines, or move its pin to a newer release - follow the template's own runbook (docs/adopting.md at the release tag), set up what gh can, hand the owner the names of what only they provide, and prove it with runs read from the API. Use when the user asks for CI/CD, pipelines, releases, a release ladder, TestFlight, Firebase or Play distribution for an app, or to upgrade the template ("set up the pipelines", "pin to vX")./flow-resetEmpty a sample environment's database (dev, staging, local) so the app can be tried from nothing — by the project's own runbook, never production — then bring back the owner's access. Use when the user asks to wipe or reset a non-production database ("empty the dev database", "reset dev", "start from scratch")./flow-shipShip changes to production — a migration, a web deploy, an app build to the stores — by the project's own runbook, forward-only, with every outward step confirmed. Use when the user asks to deploy, publish or release ("deploy to prod", "apply the migration to prod", "publish the app", "submit it for store review", "release 1.3.4"). Not for wiping or resetting anything, which is `flow-reset`./flow-slicesCareful mode - plan the work as short slices and deliver them one by one, each built, tested and reviewed, then held for the user's OK before its commit and before the next slice. Use when the user picks careful mode at the start of a task, or asks to go step by step ("careful mode", "I want to review each change").