Agent Skillsgetpaseo/paseo › paseo-handoff

paseo-handoff

GitHub

用于将当前任务完整上下文(包括决策、失败尝试等)传递给新 Agent,确保接收方从零开始但获得充分简报。支持按 Profile 选择代理及工作树隔离,通过创建工作区并创建 Agent 完成移交。

skills/paseo-handoff/SKILL.md getpaseo/paseo

Trigger Scenarios

用户说 handoff 用户说 hand off 用户说 hand this to 用户希望将工作移交给其他 Agent

Install

npx skills add getpaseo/paseo --skill paseo-handoff -g -y
More Options

Use without installing

npx skills use getpaseo/paseo@paseo-handoff

指定 Agent (Claude Code)

npx skills add getpaseo/paseo --skill paseo-handoff -a claude-code -g -y

安装 repo 全部 skill

npx skills add getpaseo/paseo --all -g -y

预览 repo 内 skill

npx skills add getpaseo/paseo --list

SKILL.md

Frontmatter
{
    "name": "paseo-handoff",
    "description": "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.",
    "user-invocable": true
}

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.

Version History

  • bed5d2b Current 2026-08-20 04:04

    弃用基于本地配置文件的 Provider 解析逻辑,改为通过 paseo skill 读取配置的 profiles 并调用 list_profiles 来动态发现和目标选择接收 Agent。

  • 6563300 2026-07-25 09:51

Same Skill Collection

skills/paseo-advisor/SKILL.md
skills/paseo-committee/SKILL.md
skills/paseo-help/SKILL.md
skills/paseo-loop/SKILL.md
skills/paseo-plugin/SKILL.md
skills/paseo/SKILL.md
.agents/skills/release-beta/SKILL.md
.agents/skills/release-stable/SKILL.md

Metadata

Files
0
Version
1fc5250
Hash
7e833acb
Indexed
2026-07-25 09:51

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-30 16:41
浙ICP备14020137号-1 $Map of visitor$