harnez-handoff

Write ready-to-paste handoff prompts for a local or cloud agent, optionally exploring for valuable work first


name: harnez-handoff description: Write ready-to-paste handoff prompts for a local or cloud agent, optionally exploring for valuable work first disable-model-invocation: true

Harnez Handoff

The output of this skill is always one or more prompts for another agent, ready to paste. Do not do the handed-off work yourself.

1. Read the Request

The request is free prose after /harnez-handoff; there are no flags. Pick out:

Ask the user once, in one message, when:

A missing agent is fine: write for the profile alone. A missing profile with no agent is not: ask.

2. Profiles and Known Agents

Apply the profile's rules and the agent's facts to every prompt. For cloud agents, "Reaches remotes on" says which remotes the agent can see, and "Result" says how the work comes back.

harnez:render handoff-agents

3. Explore Mode

Scope: if the working directory is a git repo, scan that repo. Otherwise scan the git repos under it (in a uman workspace, uman info lists them). Skip repos the user excludes in the request. Gather per repo: remotes, language, open tickets (harnez find -d <repo> issues -a status:open), and the checks below. Keep only work that passes all of them:

Present the picks briefly (repo, ticket, why, merge-conflict risk), then write one prompt per pick.

4. Write Each Prompt

The receiving agent has no memory of this session. Brief it like a colleague who just walked in (see the Handoff Prompt section of the issue skill). For cloud agents, run the Reachable check from section 3 on the target repo first, also outside explore mode. Each prompt contains:

5. Output

Print each prompt in its own fenced block, ready to paste. For cloud agents, add below each prompt how the result comes back, from the agent's "Result" line: which remote the branch or PR lands on (the local remote name whose URL matches the agent's host, e.g. github, not origin when origin is on Codeberg), and how to bring it in:

git -C <repo> fetch <remote>
git -C <repo> merge <remote>/<branch>   # or review the PR first
Content
file-backed
License:
AGPL-3.0-or-later
Origin
first-party
Source:
docs/commands/HarnezHandoff.md
Source revision
4e3b8d592416fbf93a2af218882c1abef78faed6
Requires
Targets
codex, claude
Invocation
/harnez-handoff

Related skills