openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Model Handoff

Maintain a HANDOFF.md file in the workspace so context survives seamlessly when switching between LLM models (e.g. Claude → GPT → Gemini). Use when the user...

AI 与大模型

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 0 · 25 · 0 current installs · 0 all-time installs

0

安装量(当前) 0

🛡 VirusTotal :良性 · OpenClaw :可疑

Package:bwiley1989/model-handoff

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :可疑

OpenClaw 评估

The skill's purpose and instructions are coherent, but several reasonable-sounding instructions (proactively writing a shared HANDOFF.md and pointing to credential files) create a real risk of accidental credential exposure or overly broad autonomous file writes.

目的

Name/description (maintain a HANDOFF.md for model-to-model context) matches the provided instructions and there are no unrelated requirements (no env vars, no binaries, no installs).

说明范围

Instructions are explicit about creating/updating HANDOFF.md and when to do so. However, they also tell agents to 'point to credential files' (even while saying 'never inline secrets') and to 'keep current proactively' — this grants agents broad discretion to read the workspace and write context. That behavior is within the skill's purpose but could lead to unintended collection or exposure of sensitive files if not tightly controlled.

安装机制

Instruction-only skill with no install spec or code. No files are downloaded or executed by the skill itself, which minimizes supply-chain risk.

证书

The skill requests no environment variables or credentials, which is appropriate. But the template encourages referencing 'credential files' by filename; pointing to credential storage can effectively expose secret locations to other models or agents with disk access. That is a proportionality concern in practice even though no explicit credentials are requested.

持久

The skill is not always-on and does not request special privileges. However, the guidance to update HANDOFF.md proactively combined with normal autonomous invocation of skills could let an agent autonomously write or modify workspace files frequently. Consider restricting autonomous writes or requiring user confirmation for updates.

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Model Handoff」。简介:Maintain a HANDOFF.md file in the workspace so context survives seamlessly when…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/bwiley1989/model-handoff/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: model-handoff
description: Maintain a HANDOFF.md file in the workspace so context survives seamlessly when switching between LLM models (e.g. Claude → GPT → Gemini). Use when the user says they are switching models, asks how to preserve context across model switches, wants to save tokens by rotating models, or asks how a new model can pick up where the last one left off. Also use proactively during long sessions to keep HANDOFF.md current.
---

# Model Handoff Skill

Enables seamless context continuity when switching between LLM models mid-session. Maintains a `HANDOFF.md` file that any model can read to instantly understand the current project state, active tasks, and behavioral expectations.

## Core Concept

Every model starts a session cold. `HANDOFF.md` is a dense, always-current fast-boot file that eliminates the ramp-up. It is the single source of truth for model-to-model context transfer.

## HANDOFF.md Structure

Write `HANDOFF.md` to the workspace root with these sections:

```markdown
# HANDOFF.md — Model Switch Context

## Who you are
[Agent name, persona, tone, key behavioral rules. Reference SOUL.md if present.]

## Who you're helping
[User name, role, location, preferences. Reference USER.md and MEMORY.md if present.]

## Active projects
[For each project: name, status, key files, next steps. Be specific — include file paths.]

## Agent roster
[If multi-agent: list agent IDs, models, roles.]

## Key credentials & tools
[Point to credential files — never inline secrets. e.g. "Azure SP creds: azure-config.json"]

## Behavioral rules
[Critical rules a new model must follow. Keep to essentials only.]

## How to keep this file current
[Brief note on when to update.]

## Last updated
[Timestamp + 1-line session summary]
```

## When to Create/Update

**Create** `HANDOFF.md` when:
- User asks about switching models
- User asks how to preserve context
- `HANDOFF.md` does not yet exist

**Update** `HANDOFF.md` when:
- User says "switching to [model]" — update immediately before they go
- User says "update HANDOFF" or "log everything"
- A significant project milestone is reached (new project started, major decision made, new agent added)
- The session has been running for several hours with significant new context

**Keep current proactively** — do not wait to be asked. Update during long sessions when meaningful things happen.

## Wiring HANDOFF.md into the Workspace

After creating `HANDOFF.md`, add a reference in `AGENTS.md` so every model is instructed to read it on a model switch:

```markdown
## Every Session
...
- **If you are a new model taking over** (model switch): Read `HANDOFF.md` first — it's your fast-boot summary of everything active
```

## What to Say When Switching

Tell the user to open with this when switching to a new model:

> **"Read HANDOFF.md. You are [agent name]."**

That single line forces the new model to self-load before responding.

## Writing Guidelines

- **Dense, not verbose** — every line earns its place
- **File paths, not descriptions** — "see `azure-config.json`" not "credentials are stored somewhere"
- **Never inline secrets** — point to credential files only
- **No personal/private data** — HANDOFF.md may be shared; keep sensitive context in MEMORY.md
- **Remove stale content** — delete completed projects and outdated context on each update
- **Last updated timestamp** — always include so the receiving model knows how fresh it is

## References

- See `references/template.md` for a copy-paste HANDOFF.md starter template