← 返回
沟通协作 中文

Handoff

Create temporary handoff docs and propose/apply permanent knowledge updates in a shared Obsidian vault.
在共享 Obsidian 库中创建临时交接文档,并提出或应用永久性知识更新。
radonx
沟通协作 clawhub v1.0.0 1 版本 99854.9 Key: 无需
★ 1
Stars
📥 668
下载
💾 5
安装
1
版本
#latest

概述

Handoff (shared)

Create temporary handoff documents and (optionally) propose/apply updates to permanent docs.

Shared vault layout

Root: $HOME/.openclaw/shared/ (Obsidian vault)

  • Temporary handoffs: $HOME/.openclaw/shared/handoff///...
  • Permanent knowledge: $HOME/.openclaw/shared/knowledge//...

Invocation

This skill is usually invoked via slash command (Telegram nativeSkills):

  • /handoff [options] (default mode)
  • /handoff load [--date YYYY-MM-DD] (subcommand)

If native skill commands are unavailable, use: /skill handoff .

Supported forms (v1)

This skill currently supports only two user-facing forms:

1) Default: /handoff [options]

2) Load: /handoff load [--date YYYY-MM-DD]

Subcommand parsing rules (must follow)

  • Treat the first token after /handoff as either:
  • a (default mode), or
  • the literal subcommand load.
  • Only load is supported as a subcommand in v1.
  • Any other token that looks like a subcommand (e.g. integrity, list, help, : variants) must be treated as unsupported. In that case:

1) explain it’s unsupported,

2) show the two supported forms above,

3) ask the user to restate.

/handoff load behavior

Goal: help the user quickly locate the most relevant existing handoff doc for a project.

When invoked as /handoff load [--date YYYY-MM-DD]:

1) Search under: $HOME/.openclaw/shared/handoff//

2) Prefer checking an INDEX.md if present; otherwise search by recency.

3) If --date is provided, narrow to that date folder first.

4) Output:

  • The best matching handoff path(s)
  • A 3–8 bullet summary of what each file contains (read only)
  • Ask whether to update an existing file or create a new one.

No file writes in load mode unless the user explicitly asks to update/create.

Inputs (suggested schema)

When the user provides options, interpret them like:

  • --new force creating a new handoff file
  • --update prefer updating an existing relevant handoff file
  • --log also generate a matching _work_log.md
  • --name optional short name ("slug") for the file base name
  • --permanent permanent-doc mode (ONLY propose updates unless --apply)
  • --apply apply the proposed permanent-doc patch (requires explicit user confirmation)

If options are omitted:

  • default is to search for a relevant existing handoff for the same and ask whether to update it or create a new one (default suggestion: update).

Critical principles (must follow)

Confirm before writing

Before any write or edit, you MUST:

1) state the resolved absolute path(s) you intend to write, and

2) ask the user to confirm.

Permanent docs: propose first

In --permanent mode you MUST:

  • read the target doc if it exists,
  • analyze its existing style/purpose,
  • output a PROPOSED PATCH (clear section-level changes),
  • STOP and ask for explicit confirmation.

Only after explicit confirmation AND --apply should you write/edit the file.

Focus of permanent docs

Permanent docs should capture long-term maintainable knowledge:

  • architecture/procedures/debugging workflows
  • the evolution of understanding (wrong assumptions → what became clear)

Temporary handoff doc requirements

A handoff doc is meant to be discarded after use. It must include:

1) Title: Project Handoff:

2) Header note: temporary/discard after use

3) Key document links (permanent docs). If any new permanent docs were created in THIS session, link them here and explain each link in 1 sentence.

4) Session Goal

5) Work Done (concise)

6) Current Status (artifact/knowledge state, not actions)

7) Next Steps (actionable)

8) If --log used: link to the work log file

Also include a YAML header for indexing:

---
type: handoff
temporary: true
project: <project>
date: <YYYY-MM-DD>
created_at: <ISO8601>
author: <agentId>
session: <sessionKey if available>
---

Work log document (only with --log)

Work log is detailed and command-ish:

  • commands executed + key outputs
  • files read/modified + summary of changes
  • hypotheses/decisions/errors

Avoid duplicating overview/goal/status/next steps from the handoff.

Implementation hints

  • Prefer relative Obsidian-friendly links inside the vault when linking other vault docs.
  • Each project should keep: $HOME/.openclaw/shared/handoff//INDEX.md pointing to recent handoffs.
  • If no exists yet, propose creating the project folder + INDEX.md and ask for confirmation before writing.
  • Ask the user if anything is unclear before proceeding when requirements are ambiguous.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 06:23 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

imap-smtp-email

gzlicanyi
使用IMAP/SMTP读取和发送邮件;检查新/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持...
★ 114 📥 52,435
developer-tools

Upgrade Guardian

radonx
一种用于安全管理和审计 OpenClaw 应用升级的认知协议。分析配置级风险(模式、默认值)及运行级风险。
★ 0 📥 473
communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,685