← 返回
未分类 中文

gstack Handoff

Compact the current conversation into a handoff document for another agent or fresh session to continue the work. Captures decisions, open threads, artifacts...
将当前对话压缩成交接文档,供其他代理或新会话继续工作,捕获决策、待处理事项和产物。
ilmych ilmych 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 190
下载
💾 0
安装
1
版本
#latest

概述

Handoff

Write a handoff document so a fresh agent can continue this work with zero ramp-up time.

Process

  1. Synthesize the current conversation into a structured handoff. Don't rehash — compress.
  2. Reference, don't duplicate. If content already lives in a committed file, PR, issue, or plan — reference it by path or URL. Never copy large blocks.
  3. Redact API keys, passwords, tokens, or PII. Replace with [REDACTED].
  4. Save to the OS temporary directory (not the workspace). Tell the user the absolute path so they can feed it to the next session.

Handoff Template

# Handoff: {task summary}
Date: {YYYY-MM-DD}
From: {session context — e.g. "OpenClaw session on branch feature/x"}

## Goal
{One sentence: what we're trying to accomplish}

## Current State
{What's done, what's in progress, what's blocked}
- Completed: ...
- In progress: ...
- Blocked on: ...

## Key Decisions Made
{Decisions that would be expensive to re-derive}
- Decision 1: chose X over Y because Z
- Decision 2: ...

## Open Threads
{Unresolved questions, known issues, things the next session should address}
1. ...
2. ...

## Artifacts
{Paths, URLs, branches — anything the next agent needs to find}
- Branch: ...
- Key files modified: ...
- Related PR/issue: ...

## Suggested Skills
{Skills the next session should invoke}
- /skill-name — reason

## Context the Next Agent Won't Have
{Anything learned during conversation that isn't captured in code/commits}
- ...

Tailoring

If the user passed arguments (e.g. "handoff — next session will focus on the frontend"), tailor the Open Threads and Suggested Skills sections toward that focus. Deprioritize context irrelevant to the next session's scope.

What NOT to include

  • Full code listings (reference the file path instead)
  • Conversation transcript or dialogue replay
  • Debugging dead-ends that were fully resolved
  • Anything already captured in git history

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-26 23:51 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,424 📥 326,584
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 851 📥 334,099
ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,135 📥 910,578