From wakeflow
Use when a tmux-resident target Claude Code window session receives a Wakeflow Delivery Loop direct-thread delivery in its tmux pane, executes only its assigned dispatch packet, reports a TargetResultEnvelope, sends the controller-return with the wakeflow-claude-host helper, or enforces target-window boundaries without claim / finish / chain-next state.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wakeflow:wakeflow-targetThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill only inside a target-window automation wakeup. The workspace
Use this skill only inside a target-window automation wakeup. The workspace
CLAUDE.md, the dispatch packet state root or human context document, and the
target repository CLAUDE.md remain higher authority.
Target wakeups should be task-first and compact:
Continue current window task: <currentWindow> / <taskId>.
Variables:
- currentWindow: <window>
- taskId: <taskId>
- stateRoot: <path>
- dispatchGroup: <group>
- skill: skills/wakeflow-target/SKILL.md
Do not expect the prompt to repeat command manuals. Derive commands from the
visible variables, this skill, the state root, and the local dispatch/delivery
envelope. Fields such as controllerWindow, returnPolicy, taskPackageId,
stateRevision, humanContextRef, and long rules belong in machine state, not
in the visible prompt. If the prompt conflicts with the target repository,
state root, or human context, stop and report instead of guessing.
wakeflow-claude-host.mjs send); arrival is transport evidence,
not authority.currentWindow, taskId, stateRoot, and optional
dispatchGroup.CLAUDE.md and declare the current window and
repository responsibility.TargetResultEnvelope.
wakeflow_record_target_result tool for the result
envelope. This is one narrow file/state action: it records target evidence
only, and it does not review, accept, dispatch, send, or return.deliveryContext / controllerReturn fields.
returnRoute and returnPolicy live in the local delivery envelope, not
the controller state root. Do not decide "no callback" by searching only
wakeflow-state.json.completed, blocked, or needs-review honestly.wakeflow_record_target_result reports controllerReturn.required=true
or the local delivery envelope has returnRoute=controller, use
wakeflow_review_pack to confirm the group is ready or blocked, then use
wakeflow_prepare_delivery with direction=controller-return to build
exactly one controller-return envelope for the dispatch group's stored
controllerWindow.node <plugin>/scripts/lib/wakeflow-claude-host.mjs send --root <workspace> --window <controllerWindow> --prompt-file <file>. The controller is also
a tmux-resident window; the helper enforces the controller window's shared
delivery lock and returns pane readback evidence (readback.paneTail).
Then use wakeflow_record_delivery to record the delivery run.Recovery is not a delivery mode: if this window's tmux pane dies mid-task, the
same session is finished or recovered headless with claude -p --resume <registered session id> (the session id is stable and stays registered), and
the resident window is relaunched with launch-window --replace --session-id <same id>.
Stop and return a blocker when:
Every target result should include:
targetWindowtargetTaskIddispatchGroupstateRootDo not write real thread ids (the registered Claude Code session ids) into tracked documents, prompts, or backfill text.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub gxfn/wakeflow --plugin wakeflow