# Send Session Handoff to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "session-handoff",
    "name": "Session Handoff",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/wpank/session-handoff",
    "canonicalUrl": "https://clawhub.ai/wpank/session-handoff",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/session-handoff",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=session-handoff",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/handoff-template.md",
      "references/resume-checklist.md",
      "scripts/check_staleness.py",
      "scripts/create_handoff.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "session-handoff",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T15:23:34.120Z",
      "expiresAt": "2026-05-10T15:23:34.120Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=session-handoff",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=session-handoff",
        "contentDisposition": "attachment; filename=\"session-handoff-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "session-handoff"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/session-handoff"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/session-handoff",
    "downloadUrl": "https://openagent3.xyz/downloads/session-handoff",
    "agentUrl": "https://openagent3.xyz/skills/session-handoff/agent",
    "manifestUrl": "https://openagent3.xyz/skills/session-handoff/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/session-handoff/agent.md"
  }
}
```
## Documentation

### Session Handoff

Create handoff documents that enable fresh agents to continue work seamlessly.

### Mode Selection

Creating a handoff? User wants to save state, pause work, or context is full.
→ Follow CREATE Workflow

Resuming from a handoff? User wants to continue previous work or load context.
→ Follow RESUME Workflow

Proactive suggestion? After substantial work (5+ file edits, complex debugging, major decisions):

"Consider creating a handoff document to preserve this context. Say 'create handoff' when ready."

### Step 1: Generate Scaffold

Run the smart scaffold script:

python scripts/create_handoff.py [task-slug]

For continuation handoffs (linking to previous work):

python scripts/create_handoff.py "auth-part-2" --continues-from 2024-01-15-auth.md

The script creates .claude/handoffs/ directory and generates a timestamped file with pre-filled metadata (timestamp, project path, git branch, recent commits, modified files).

### Step 2: Complete the Document

Open the generated file and fill all [TODO: ...] sections. Prioritize:

Current State Summary - What's happening right now
Important Context - Critical info the next agent MUST know
Immediate Next Steps - Clear, actionable first steps
Decisions Made - Choices with rationale (not just outcomes)

See references/handoff-template.md for full structure.

### Step 3: Validate

python scripts/validate_handoff.py <handoff-file>

Checks:

No [TODO: ...] placeholders remaining
Required sections present and populated
No potential secrets detected (API keys, passwords, tokens)
Referenced files exist
Quality score (0-100)

Do not finalize handoffs with secrets detected or score below 70.

### Step 4: Confirm

Report to user:

Handoff file location
Validation score and warnings
Summary of captured context
First action item for next session

### Step 1: Find Handoffs

python scripts/list_handoffs.py

### Step 2: Check Staleness

python scripts/check_staleness.py <handoff-file>

Staleness levels:

FRESH: Safe to resume
SLIGHTLY_STALE: Review changes first
STALE: Verify context carefully
VERY_STALE: Consider creating fresh handoff

### Step 3: Load and Verify

Read the handoff document completely. If part of a chain, also read the previous handoff.

Follow references/resume-checklist.md:

Verify project directory and git branch match
Check if blockers resolved
Validate assumptions still hold
Review modified files for conflicts

### Step 4: Begin Work

Start with "Immediate Next Steps" item #1.

Reference as you work:

"Critical Files" for important locations
"Key Patterns Discovered" for conventions
"Potential Gotchas" to avoid known issues

### Handoff Chaining

For long-running projects, chain handoffs to maintain context lineage:

handoff-1.md (initial work)
    ↓
handoff-2.md --continues-from handoff-1.md
    ↓
handoff-3.md --continues-from handoff-2.md

When resuming from a chain, read the most recent handoff first, then reference predecessors as needed.

### Storage

Location: .claude/handoffs/
Naming: YYYY-MM-DD-HHMMSS-[slug].md

### Quality Criteria

Good handoffs have:

Zero ambiguity about current state
Clear, numbered next steps
Rationale for decisions (not just outcomes)
File paths with line numbers where relevant
No secrets or credentials

### NEVER

Include API keys, passwords, tokens, or credentials
Leave TODO placeholders in finalized handoffs
Skip the validation step
Create handoffs without the Important Context section
Finalize handoffs with quality score below 70
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: wpank
- Version: 0.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-03T15:23:34.120Z
- Expires at: 2026-05-10T15:23:34.120Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/session-handoff)
- [Send to Agent page](https://openagent3.xyz/skills/session-handoff/agent)
- [JSON manifest](https://openagent3.xyz/skills/session-handoff/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/session-handoff/agent.md)
- [Download page](https://openagent3.xyz/downloads/session-handoff)