Context transfer

From FDU-INS/Insurance-Skills · View interactive version

Context transfer is an AI agent skill from the GitHub repository FDU-INS/Insurance-Skills. Generate a state document (context transfer) that allows any fresh AI instance to resume work without conversation history. Use this skill whenever the user asks to checkpoint, create a state transfer, save state, generate a handoff document, create compaction insurance, or says anything like 'snaps

How to use this skill

Skill file

Context Transfer

Generate structured state documents for AI cold-start recovery across any conversation type.

When To Use

Before Starting

Read the full protocol:

Read references/protocol_v2.4s.md

This contains the complete section definitions, templates, rules, and quality checklist.

Quick Reference

The context transfer has 11 sections. Scale to complexity — not every conversation needs all sections.

| Section | Purpose | Required? |

|---------|---------|-----------|

| I. What This Is | Identity + "It is NOT" correction | Always |

| II. Domain Context | Problem-space briefing | Multi-session+ |

| III. Architecture | System structure | Build/engineering work |

| IV. Decisions | Numbered with narrative WHY | When decisions exist |

| V. Current State | Step sequence or phase summary | Always |

| VI. Artifacts | File inventory with status | When files exist |

| VII. Anti-Drift Warnings | Observed/predicted failure modes | Multi-session+ |

| VIII. What NOT To Do | Catastrophic prohibitions | When applicable |

| IX. Glossary | Context-specific terms | Domain-specific |

| X. Open Questions | Unresolved issues | When they exist |

| XI. Recovery Pointer | Exact restart location + path | Always |

Minimum viable: Sections I, V, XI.

Workflow

  1. Read the protocol (references/protocol_v2.4s.md) — understand all section rules
  2. Assess scope — use Scaling Guide to determine which sections are needed
  3. Gather state from conversation — extract decisions, current step, artifacts, open questions
  4. Write each section following the protocol templates exactly
  5. Apply critical rules:
  1. Run Quality Checklist from protocol
  2. Save to /mnt/user-data/outputs/ and present to user

Output

Save as: [topic_or_project]_context_transfer.md in /mnt/user-data/outputs/

The document header should include:

# Context Transfer — [Topic or Project Name]

**Version:** [N]
**Updated:** [date]
**Purpose:** Compaction insurance. If you just got compacted, read this first.

Key Rules (from protocol)

These are the rules most likely to be missed. Full rules are in the protocol reference.

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.