/fsh:desktop-handofffrom fsh
Offload one step that needs a desktop GUI to a separate agent session the user starts by hand. Use when this session cannot reach the GUI — non-interactive (Conductor, `-p`, cloud), no computer use, headless browser only — and the step needs a real logged-in browser or a native app: registering an OAuth app, a vendor console with no API, a native installer, a desktop-only settings pane. Writes a task file, prints one command for the user to paste in their own terminal, and takes the result back over whichever channel fits. Runtime-agnostic: the hand can be any agent that reads and writes files, on any OS.
Ships in fsh. 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.
You are running the desktop-handoff skill. Goal: get one GUI-only step done by a session that has a desktop, without this session needing one.
The brief always goes out as a file — TASK.md in a temp dir — because it is long and quoting it into a shell command is a hazard.
That makes one precondition load-bearing: the hand must be able to read that path. Same machine, or a filesystem both sides genuinely share (a mount, a synced directory). It is not satisfied by "the user has a second computer" — $TMPDIR on this machine means nothing on that one, and both TASK.md and the RESULT.md return path fail the same way. For a hand with no shared filesystem, don't fake it with a file: paste the brief into that session's prompt directly and have the result come back by relay (step 2's second row), or transfer the directory yourself first. Say which you're doing when you print the command.
How the result comes back is a choice you make per handoff (step 2). The floor is another file, RESULT.md: no IPC, no tmux, no MCP, so any agent that reads and writes files can be the hand, on any OS. Anything cleverer has to earn it, and sometimes nothing at all is right.
The user starts the other session by hand. That is the approval gate: nothing happens until a person pastes a command. Never spawn it yourself.
If Claude Desktop is on this machine and the step is browser work, prefer claude-desktop-handoff. It spends two things this skill cannot assume: a shared filesystem, which makes ASK.md/REPLY.md a real back-channel so a wrong assumption is resolved without a round trip through the user, and Desktop driving the user's already-logged-in Chrome. Come back here when the hand might be a different runtime, a different OS, or not Claude at all.
The decision to hand off is already made. Whoever invoked this skill — the user, or you, after finding no API, CLI, or browser tool that reaches the target — settled it. Don't re-open it, don't propose alternatives, don't ask whether it's really necessary. Start at step 1.
PARENT="${TMPDIR:-/tmp}/desktop-handoff"
mkdir -p "$PARENT" && chmod 700 "$PARENT"
HANDOFF="$(mktemp -d "$PARENT/$(date +%Y%m%d-%H%M%S)-<slug>-XXXXXX")"
Use a short kebab-case <slug> naming the task. Keep the absolute path — every later step needs it.
mktemp -d, not a bare mkdir -p, and the chmod 700 above it. The brief routinely names internal URLs and account handles, and on a box where $TMPDIR is unset it lands in /tmp: under the usual 022 umask mkdir -p creates it drwxr-xr-x, readable by every local user, at a path anyone could have guessed and pre-created. mktemp -d gives drwx------ and random suffix in one atomic step. macOS hides this — its per-user $TMPDIR is already 0700 — which is exactly why a skill that claims any OS must not rely on it.
Two different things may need to come back: a completion signal (it's done) and the content (what happened). They don't have to arrive the same way, and sometimes neither is needed. Decide now, because it changes what TASK.md asks for.
Pick from what the result actually is:
| The result is… | Return via | Why |
|---|---|---|
| Something you can check yourself — a resource now exists, a config changed, a file appeared | Nothing. The user says "done"; you verify it directly | You'd verify anyway (step 6), so a written report adds a step and another place for a secret to land |
| Short, and the user is at the keyboard | The user pastes it back into this conversation | No files, no waiting, no cleanup |
| Long, structured, or the user will walk away mid-task | RESULT.md + the background wait in step 5 | Survives them stepping away; the default when you're unsure |
| Genuinely needed by both sides, and both sessions already run a runtime with working native messaging | That channel | Instant, no polling — but only if it already works. Don't build one, and don't assume the hand is the same runtime as you |
State your choice in one line when you print the command (step 4) so the user can override it — they know how they intend to continue and you don't.
Write the brief so a fresh session with no memory of this conversation can execute it. Include the why, not just the steps — it has to recognise when a page doesn't match what you described.
# Task: <one line>
## Context
<2-4 sentences: what this is part of, why it needs a desktop.>
## Do this
1. <step, with the exact URL>
2. <step, with exact field values — spell out every value you already know>
## Guardrails
- Do not edit files in any repository. Another session owns those.
- **Stop before any action that creates or reveals a secret** — generating a
token, clicking "reveal", rotating a key. Do the structural work up to that
point, leave the page open, and report that you stopped there.
<Name where the secret must go once a human produces it — a password
manager, `gcloud secrets versions add`, an env file.>
- Do not put secrets (tokens, client secrets, passwords) in your report.
- If the page does not match this description, stop and report what you saw.
## When done
<The reporting instruction for the channel chosen in step 2:
- RESULT.md → "Write your outcome to <HANDOFF>/RESULT.md."
- user relays → "Print your outcome; the user will relay it."
- runtime channel → name it, and how to send on it, in one line.
- nothing → "Just say you're done — no report needed.">
Cover:
- What you did, and what the end state is.
- Anything that did not match these instructions.
- Any non-secret identifier the requesting session needs (an id, a URL, a name).
- If you could not finish: where you stopped and what blocked you.
The prompt is the same whatever agent runs it; only the launch command differs. Print one paste-ready line, substituting the CLI the user actually runs — this session's own runtime is the best default, and asking is better than guessing wrong:
<agent-cli> "Read <HANDOFF>/TASK.md and do what it says. <reporting instruction from step 2>"
Nearly every agent CLI takes a starting prompt as its first positional argument, so this shape holds. Two requirements on that session, whatever it is:
Say in one line how you expect the result back, so the user can say otherwise.
Then add only the setup notes that apply:
/mcp → enable computer-use, then grant macOS Accessibility + Screen Recording when prompted; it is macOS only, needs a Pro or Max plan, and the enablement persists per project path, so a git worktree or a different directory needs enabling again even if the user has done it before.RESULT.mdIf the user is relaying, or there's nothing to return, skip this: end your turn and let them come back to you. Don't arm a watcher for a file nobody will write. Skip it for a runtime channel too — that channel notifies you itself, so a file wait beside it only adds an hour-long timer nothing will ever trip.
Otherwise arm one background wait — do not poll, and do not ask "is it done yet?":
end=$(( $(date +%s) + 3600 ))
until [ -f "$HANDOFF/RESULT.md" ] || [ "$(date +%s)" -ge "$end" ]; do sleep 5; done
[ -f "$HANDOFF/RESULT.md" ] && echo "RESULT.md landed" || echo "timed out after 1h"
date +%s, not $SECONDS: that variable is a bash/ksh/zsh builtin, and under a POSIX
sh such as dash it expands to nothing, so the guard becomes [ -ge 3600 ] — a syntax
error, not a false condition. The loop then runs forever on a handoff nobody completed,
which is the one failure a timeout exists to prevent.
Run it in the background so you get exactly one notification when it exits. While waiting, do any part of the work that doesn't depend on the result.
If it times out, don't re-arm silently — tell the user, and confirm they still intend to run it.
However it arrived — file, relayed by the user, over a runtime channel, or just "done":
TASK.md and have them tell the still-open session to re-read it, or start a fresh one.TASK.md and out of whatever comes back.rm -rf "$HANDOFF" — the brief may name internal URLs and account handles.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub fullstackhouse/skills --plugin fsh35 skills in this plugin
/blacksmithMigrate a repository's GitHub Actions workflows to Blacksmith runners — inventory every job, move the ones that build, run or test the app (image builds get the sticky-disk Docker actions, a size-capped cache and a Dockerfile audit for cache killers), leave glue, deploy and credential-bound jobs on GitHub, capture a per-step timing baseline, hand off to `deliver --no-merge` with the decision table in the PR, and measure real rebuilds on that PR when the existing runs can't settle it. Use when asked to "move CI to Blacksmith", "cut GitHub Actions spend", "make the image build faster", or right after the Blacksmith app was installed on an org. Args: a repo path (default: the current repo), plus `--audit-only` to print the decision table and write nothing./brainstormDivergent conversation before any artifact exists — question the idea, weigh alternatives including building nothing, then converge on one routed next step (drop it, park it as a ticket, kick off implementation, or bug-hunt) with a handoff brief. Use when the user says "should we build this", "I have an idea", "let's think this through", or "is this worth doing". Read-only until the routing is confirmed./broRestate the last message in plain human language, with no jargon./bug-huntReproduce, diagnose, and fix a reported bug via a triage → reproduce → diagnose → failing-test → fix → verify loop. Forbids speculative fixes that paper over symptoms. Files a tracker task on give-up./claude-desktop-handoffHand one GUI-only step to Claude Desktop running on the same machine, over a shared temp directory, so this session can keep working autonomously instead of stopping. Use when the step needs the user's own logged-in browser (a vendor console with no API, an OAuth app registration, an SSO-gated admin page, anything behind a password manager or passkey), this session is non-interactive (Conductor, `-p`, cloud) or has only a headless browser, and Claude Desktop is installed on this machine — that last fact is what picks this skill over its sibling. Prints one prompt for the user to paste into Claude Desktop; the two sessions then talk through files, so Desktop can ask a question mid-task and get an answer without the user relaying it. Use `desktop-handoff` instead when the hand might be a different runtime, a different OS, or not Claude at all./decideWork through the decisions a session has left open — one at a time, each briefed on its own (what's at stake first, then the detail), facts looked up instead of asked, 1-2 alternatives plus the status quo as the last lettered option, one recommendation — then stop and wait for the answer before raising the next. Records each answer where the project keeps decisions before moving on. Use when the user asks "what's still open / what's left to decide", "co do decyzji", "present each one separately and ask me", "walk me through them one by one", or when a long session is ending with deferred choices nobody ever answered. `grill-me` interrogates a plan the user brought; this one empties a queue the work produced.