handoff

Solid

End-of-session ritual. Captures decisions, lessons, gotchas, and open threads. Writes a narrative session log to ~/.wenlan/sessions/ and stores granular memories via Wenlan MCP. Previews any unconfirmed captures from the current session before closing. Invoked as `/handoff`.

AI & Automation 47 stars 5 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 83/100

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

Skill Content

# /handoff End-of-session debrief. Three artifacts each pass: 1. **Granular MCP captures** — one per decision/lesson/gotcha (DB authoritative). 2. **Session log md** — narrative thread at `~/.wenlan/sessions/<YYYY-MM-DD-HHmm>-<slug>.md`. 3. **Project status md + json** — current goals + last-handoff timestamp at `~/.wenlan/sessions/_status/`. These are orthogonal: captures are queryable atoms, session log is the narrative thread, status file lets the next session see where we left off. ## Steps ### 1. Detect project + last handoff time ``` Bash: cd_repo=$(git -C "$PWD" rev-parse --show-toplevel 2>/dev/null); echo "${cd_repo:-no-git}" ``` - If output is a path → use the basename as `<project>` (e.g. `wenlan`). - If `no-git` → use the cwd basename. Skip git steps below; rely entirely on conversation context. Read `~/.wenlan/sessions/_status/handoff-<project>.json` for `lastHandoff` timestamp (ISO-8601). If file missing, default to "12 hours ago". ### 1.5 Pending-captures preview After establishing `<lastHandoff>`, call: ``` list_pending(limit=50) ``` The MCP returns memory rows with `source_id`, `content`, `created_at`, and other metadata. Convert `lastHandoff` (ISO-8601 string, e.g. `2026-05-13T22:50:00Z`) to a Unix epoch seconds integer before filtering: ``` Bash: date -j -f %Y-%m-%dT%H:%M:%SZ "$lastHandoff" +%s ``` Or in your scripting language of choice (Python's `datetime.fromisoformat`, JavaScript's `Date.parse`, etc.). Save the result as `lastHandoffEpoch...

Details

Author
7xuanlu
Repository
7xuanlu/wenlan
Created
3 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

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 today
armenr
AI & Automation Listed

handoff

Write a cross-account/session handoff file capturing the current work state, so a fresh Claude Code session (possibly on another account) can continue without replaying this conversation. Use when the user says /handoff, "hand off", "prepare to switch accounts", or wants to preserve context before ending a session.

0 Updated today
VedantShirgaonkar
AI & Automation Listed

session-handoff

Write or update a comprehensive HANDOFF.md at the repo root that captures the whole current session so the next chat can resume cold - what got done, what shipped, what failed, what was learned, where things stand, and how it got there chronologically since the last handoff. Use whenever the user says "update the handoff", "write the handoff", "wrap up this session", "where did we leave off", or is closing out a work session.

0 Updated 5 days ago
rb17080