Paseo Handoff

作者 getpaseo06fe97c9019c無授權條款20K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

Hand off the current task to another agent with full context. Use when the user says "handoff", "hand off", "hand this to", or wants to pass work to another agent.

AI 產生的概覽

產生一份自包含的交接簡報,把目前任務連同完整脈絡交給新的代理。

功能
這個技能會把目前任務整理成結構化的交接簡報,涵蓋任務、背景、相關檔案、目前狀態、已嘗試的做法、決策、驗收標準與限制條件。它會挑選接收方代理設定,必要時建立隔離的 worktree 工作區,並以該簡報作為初始提示啟動新代理。接著把新代理與工作區交還給使用者,不等待其完成。
適用情境
當使用者說 handoff、hand off、hand this to,或想把進行中的工作交給另一個代理時使用。適用於新代理需要在零脈絡的情況下接手任務的情境。
執行需求
需要 paseo 技能及其代理與工作區工具,包括 list_profiles、create_agent 與 create_workspace。僅為指示,不附帶指令碼。

Handoff Skill

Transfer the current task — context, decisions, failed attempts, constraints — to a fresh agent. The receiving agent starts with zero context, so the handoff prompt must be a self-contained briefing.

User's arguments: $ARGUMENTS

Prerequisites

Read the paseo skill. Call list_profiles before choosing the receiving agent. Do not create it until you have read the configured profiles and their notes.

Parsing arguments

  1. Agent profile — explicit profile name first; otherwise choose the profile whose notes best match the work. Materialize it into create_agent as described by the paseo skill. If no profile fits, use Paseo's provider discovery fallback.
  2. Isolation — "in a worktree" / "worktree" → create a workspace with isolation: "worktree", using a short branch name derived from the task.
  3. Task description — anything else the user said.

The handoff prompt

The receiving agent has zero context. Include:

## Task[Imperative description.]
## Context[Why this task exists, required context.]
## Relevant files- `path/to/file.ts` — [what it is and why it matters]
## Current state[What's done, what works, what doesn't.]
## What was tried- [Approach] — [why it failed or was abandoned]
## Decisions- [Decision — rationale]
## Acceptance criteria- [ ] [Criterion]
## Constraints- [Must-not / must-preserve]

Preserve task semantics. Investigate-only → "DO NOT edit files." Fix → "implement the fix." Refactor → "refactor, not rewrite." Carry the user's exact intent.

Launch

Prepare the handoff in a dedicated workspace:

  1. Select the current workspace or call create_workspace with the requested isolation.
  2. Call create_agent with a [Handoff] <task> title, the briefing as initial prompt, and the selected workspaceId when explicit placement is needed.
  3. Return the agent and workspace to the user, explaining that it remains in your subagent track until they detach it manually.

Do not encode independence as a create mode and do not invoke CLI or wire-level detach operations. Detach is a user gesture in the subagents track.

Do not wait or poll for the agent to finish.

來源與署名

來源:getpaseo/paseo位於skills/paseo-handoff提交06fe97c

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架