handoff

Solid

End a work session. Stores durable captures, writes a narrative session log, and automatically applies typed item-level deltas to the current Space Brief. Invoked as `/handoff`.

AI & Automation 64 stars 6 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 87/100

Stars 20%
60
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /handoff Close the session with three separate artifacts: 1. A typed update to the daemon-owned Space Brief. 2. Durable MCP captures in that Space. 3. A chronological session log in `~/.wenlan/sessions/`. The daemon Brief is current-work authority. Its `~/.wenlan/sessions/_status/<space>.md` projection is a one-way human receipt. Never read, edit, or overwrite that receipt as authority. ## 1. Resolve repository and Space ```bash handoff_arg="<the Space name passed to /handoff, empty when none>" resolved="$("$CLAUDE_PLUGIN_ROOT/bin/resolve-space.sh" --cwd "$PWD" --arg "$handoff_arg" --new-repo-fallback 2>/dev/null)" space="$(printf '%s\n' "$resolved" | cut -f1)" source_layer="$(printf '%s\n' "$resolved" | cut -f2)" ``` If the user passed a Space name (`/wenlan:handoff <space>`), pass it as `--arg <space>` to resolve-space.sh. Print `space` and `source_layer`. Explicit pins, defaults, and mappings still win. `cwd-repo-new` is the approved first-handoff fallback: use the canonical repository basename, which the user can override through normal Space config. Do not invent any other Space name. Outside a Git repository, do not derive a new Space from the directory basename. If resolution still leaves `space` empty, skip the Brief read and typed update, do not issue Space-scoped captures, and continue with the unscoped session log and any unscoped durable captures. Outside a Git repository, a pin, explicit argument, default, or mapping still resolves a Space, and the Brie...

Details

Author
7xuanlu
Repository
7xuanlu/wenlan
Created
4 months ago
Last Updated
today
Language
Rust
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

handoff

End the current session cleanly - file durable learnings into their owning docs, snapshot session state to a handoff file, and output a verbatim copy-paste prompt for a fresh session. Use when the user says /handoff, "prepare for a new session", or wants to wrap up and continue in a new session.

0 Updated 1 weeks ago
4qan
AI & Automation Listed

handoff

Capture current session state to a curated artifact at .agent-docs/now/handoff.md plus an archive entry at .claude/handoffs/<timestamp>-<slug>.md. Updates now/status.md, now/work-plan.md, now/open-questions.md, log.md to current reality; sweeps the inter-party obligations ledger both directions (owed-by / owed-to, each receivable carrying a trigger + a default-if-silent) — the standalone now/obligations.md when it exists, else a handoff Obligations section; on multi-party installs, sweeps live inter-agent room threads into a Room-threads continuity block (participants/roles, message anchors, standing hooks, the re-read rule). Accepts optional session notes as arguments. Use at natural checkpoints, before compaction, before session-end, or when context exceeds ~80%. Does NOT auto-commit.

2 Updated 2 weeks ago
armenr
AI & Automation Listed

handoff

Hand this session's work to a separate successor session — write the handoff document, launch the successor, then monitor it. Use when a long-running session is out of context, when work must continue past this context window, or when another agent should pick the work up.

0 Updated today
RubyEyedReaper