360 Secure SkillHub
360 安全技能中心

Context handoff

按发送者、接收者、协调者三种角色选择对应流程,构建最小交接包:目标与授权范围、工作区路径与状态、事实来源与阅读顺序、任务进度、中断点与缺失信息;较长交接包写入系统临时目录的绝对路径,接收方确认后停在授权点。

分类:协作
peterflow-en
热度 0.71
最近更新 2026-11-20 23:11:52

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add peterflow-en/context-handoff
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
context-handoff
description
Hand context to a new receive-only chat when explicitly invoked, or send relevant context to an already authorized subtask through its existing channel.

Hand off context

Identify your role first. A receiver follows its dispatch message and ends at the authorized stopping point. An explicitly invoked sender follows new-chat handoff. A coordinator sending information for an authorized assignment uses subagent sync. Discussion, editing or review of this skill and ordinary summaries stay in the current task.

Build the smallest packet that lets the recipient orient itself:

  • Goal, recipient role, authority for this turn, scope and stopping condition. Include the user's latest corrections. Keep future work separate from present authorization.
  • Absolute workspace and topic paths, branch, working-copy state and observation time. Identify uncommitted artifacts the recipient needs to be able to reach.
  • Source of truth and shortest reading order. Include decisions that affect the next step, why the chosen approach won and what earlier assumption it supersedes. Link to existing plans, decisions and evidence. Mark the minimum “read on receipt” and defer other sources until work is authorized.
  • Completed, in-progress, blocked and unverified work. Distinguish static inspection, mock tests, live runs, historical evidence, environment failures and checks never run.
  • Exact interruption point, owner, last command or receipt, any pending process/session and awaited result. Preserve the present state without restarting work to prepare the handoff.
  • Suggested skills, their locations and trigger conditions only where helpful for later work.
  • Missing information that would matter after authorization. Mark unknowns and avoid speculative repository scans.

Use a unique system-temporary directory and an absolute path for a longer or reusable packet. Include essential text inline when the recipient cannot access the filesystem. Exclude credentials and unrelated conversation history. Keep enough information for the receiving role to locate the authoritative material and verify receipt.