⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

v1.2.1

handover-hangover

@tensusds⭐ 0 stars

>

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐ 0 on GitHubGitHub ↗

New / niche

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

Handover Hangover

Seamless model handoff for OpenClaw agents.

When your agent's primary model hits a rate limit and the gateway silently switches to a fallback, the new model inherits the conversation but not the context. It sees prior assistant messages as its own, hallucinates continuity, and may re-run irreversible commands. Handover Hangover fixes this.

The problem

OpenClaw agents run on a fallback chain — when the primary model is unavailable, the gateway transparently routes to the next one. The conversation history survives, but:

  1. Hallucinated continuity — treats the previous model's reasoning as its own
  2. Lost task details — what was being edited, checked, what step comes next
  3. Lost cognitive mode — was the agent researching, debugging, synthesizing?
  4. Scope collapse — the task silently narrows ("analyze the past week" → "analyze this session")
  5. Tool state blindness — risks re-running irreversible commands (duplicate messages, double commits)

How it works

Handover Hangover is a three-channel OpenClaw skill (always: true) that uses layered defense to ensure handoff continuity even when one channel fails:

  • Channel 1: System prompt (SKILL.md) — tells the model what to write and when
  • Channel 2: Filesystem (memory/handoff-note.md, memory/current-task.md) — stores the handoff data
  • Channel 3: Bash watchdog (scripts/handoff.sh) — ensures the data exists, even if the model didn't follow instructions. Idempotent — safe for boot, heartbeat, hooks, and cron. Requires explicit integration (see Integration)

Four responsibilities

Write-side: on every state-changing moment, the agent writes a structured handoff note to disk — extending OpenClaw's existing memoryFlush pattern.

Detection: the agent self-checks on every turn whether a model switch may have occurred, using three heuristic indicators. Biased toward false positives — better to re-read state than to assume continuity.

Read-side: when a handoff is detected, the incoming model reads the baton, performs an epistemic reset, verifies tool state, and continues work without asking "where were we?"

Watchdog: an idempotent bash script that checks whether a handoff note exists and generates a mechanical fallback if not. Safe for any execution frequency — repeated runs without a new note are no-ops. Wire it through the managed hook pack, boot sequence, heartbeat, or manual scheduler. See Integration.

Installation

Copy to your OpenClaw skills directory:

clawhub install handover-hangover

If your installer does not preserve executable bits, restore them:

chmod +x ~/.openclaw/workspace/skills/handover-hangover/scripts/*.sh

The prompt layer activates automatically (always: true). The watchdog script requires integration — run the installer below for the current OpenClaw hook system, or use the fallback snippets for older versions.

Integration

OpenClaw skills are prompt-injected — SKILL.md gives the model the handoff protocol. Shell scripts do not run automatically just because a skill has always: true, so Handover Hangover ships multiple integration layers. They are intentionally redundant and version-tolerant.

Recommended: managed hook installer

Run once after installing or updating the skill:

bash ~/.openclaw/workspace/skills/handover-hangover/scripts/install-integration.sh

What it does:

  1. Copies a managed hook pack to ~/.openclaw/hooks/handover-hangover/.
  2. Copies handoff.sh next to the hook handler so it survives skill path/layout differences.
  3. Enables the hook with openclaw hooks enable handover-hangover when the hooks CLI is available.
  4. Prints fallback snippets for older OpenClaw versions.

Restart the Gateway after enabling hooks so the handler is loaded.

Why the hook is message:received, not only afterTurn

OpenClaw hook APIs changed over time. Some versions expose command/startup hooks, some expose plugin-level agent_end, and older notes often mention ad-hoc afterTurn directories. To avoid binding the skill to one OpenClaw release, the shipped managed hook runs at next-turn boundaries:

  • message:received — before the next model acts, so a switched-in model sees .handoff-pending before doing work.
  • command:new / command:reset — explicit session boundaries.
  • gateway:startup — process restarts and upgrades.

This gives the important guarantee: the incoming model checks the baton before it continues. It is provider/model agnostic and works across fallback chains, manual model changes, and Gateway restarts.

Status check

bash ~/.openclaw/workspace/skills/handover-hangover/scripts/status.sh

This reports whether the watchdog is executable, whether the managed hook is installed, and whether OpenClaw has the hook enabled.

Fallback: boot sequence

If hook discovery is unavailable, add this to AGENTS.md, after the existing boot steps:

# Handover Hangover — archive/generate baton for incoming model
WORKSPACE=~/.openclaw/workspace bash ~/.openclaw/workspace/skills/handover-hangover/scripts/handoff.sh

Fallback: heartbeat / scheduler

Add to HEARTBEAT.md, cron, or any periodic scheduler:

# Handover Hangover — periodic baton validation
WORKSPACE=~/.openclaw/workspace bash ~/.openclaw/workspace/skills/handover-hangover/scripts/handoff.sh

The watchdog is idempotent. Running it at startup, before turns, on heartbeat, or manually is safe.

What each layer covers

LayerTriggerCovers
SKILL.md (always: true)Prompt contextDetection + write-side + read-side protocol
Managed hook packmessage:received, /new, /reset, startupNext-turn baton archival/generation before the model acts
Boot sequenceSession startBaseline baton check at session boundary
Heartbeat/schedulerPeriodicCoarse repair if hooks are unavailable
Manual handoff.shOperator/model actionEmergency recovery and diagnostics

Requirements

  • OpenClaw with a multi-model fallback chain configured
  • At least one fallback model in agents.defaults.model.fallbacks
  • The context-anchor skill installed (for read-side file scanning)
  • Bash (for the watchdog script — available on all standard OpenClaw environments)

What Handover Hangover is NOT

  • Not a memory framework — it's a handoff protocol between interpreters of the same state
  • Not a replacement for compaction flush — compaction handles "same model, shorter memory"; Handover Hangover handles "different model, same history"
  • Not semantic search — vector/embedding memory is a separate layer
  • Not cross-session continuity — that's continuity, MEMORY.md, and daily logs

Design principles

  • Three-channel reliability. System prompt (policy) + filesystem (state) + bash watchdog (enforcement). Each channel compensates for the others' failure modes. The prompt tells the model what to do; the filesystem stores the result; the watchdog ensures the result exists — from per-turn hooks to session boundaries (see Integration). Pattern borrowed from context-anchor.
  • Extend, don't invent. Uses existing OpenClaw files and conventions (memory/current-task.md, memory/YYYY-MM-DD.md, memoryFlush pattern). The only new files are memory/handoff-note.md and scripts/handoff.sh.
  • Bias toward false positives. Better to re-read state unnecessarily than to assume continuity that doesn't exist.
  • Low overhead when not switching. Every turn performs a cheap baton check (one file read + author comparison). Same-model continuations early-exit without a full reboot; full read-side runs only on actual model change or fallback recovery. Write-side and watchdog run regardless but double as useful compaction insurance.

S

// HOW IT'S BUILT

KEY FILES

SKILL.mdREADME.md

// REPO STATS

0 stars