Create temporary handoff documents and (optionally) propose/apply updates to permanent docs.
Root: $HOME/.openclaw/shared/ (Obsidian vault)
$HOME/.openclaw/shared/handoff///... $HOME/.openclaw/shared/knowledge//... 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 .
This skill currently supports only two user-facing forms:
1) Default: /handoff
2) Load: /handoff load
/handoff as either: (default mode), orload.load is supported as a subcommand in v1.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 behaviorGoal: help the user quickly locate the most relevant existing handoff doc for a project.
When invoked as /handoff load :
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:
No file writes in load mode unless the user explicitly asks to update/create.
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:
and ask whether to update it or create a new one (default suggestion: update).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.
In --permanent mode you MUST:
Only after explicit confirmation AND --apply should you write/edit the file.
Permanent docs should capture long-term maintainable knowledge:
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 is detailed and command-ish:
Avoid duplicating overview/goal/status/next steps from the handoff.
$HOME/.openclaw/shared/handoff//INDEX.md pointing to recent handoffs. exists yet, propose creating the project folder + INDEX.md and ask for confirmation before writing.共 1 个版本