Token导航 LogoToken导航

Agent Skill · 研究检索

context-continuity(语境连续性)

context-continuity 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

context-continuity 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 70,176。

总安装 212周安装 9GitHub Stars 公开资料未说明下载 74核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:context-continuity(语境连续性)
来源仓库:https://github.com/leegonzales/aiskills
仓库路径:skills/context-continuity
安装命令:
npx skills add leegonzales/aiskills --skill "context-continuity"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add leegonzales/aiskills --skill "context-continuity"

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

维护对话上下文连续性,提升多轮交互体验。适用于需要长程记忆与状态保持的 AI 代理任务。通过 GitHub 安装,使用 npx skills add leegonzales/aiskills --skill "context-continuity"。需注意内存占用与隐私保护机制。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/context-continuity

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add leegonzales/aiskills --skill "context-continuity";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

context-continuity 怎么安装?

在终端执行 npx skills add leegonzales/aiskills --skill "context-continuity"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

context-continuity 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

context-continuity 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

context-continuity 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

context-continuity 用的人多吗?

公开数据是累计安装 212 次,近一周安装 9 次,下载 74 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

context-continuity 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
context-continuity

语境连续性 · 本页

212—只读MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
context-continuity
description
High-fidelity context transfer protocol for moving conversations between AI agents. Preserves decision tempo, open loops, and critical context with graceful degradation. Use when the user says "transfer," "handoff," "continue this in another chat," or needs to work around context window limits. Produces structured artifacts (Minimal ~200 words, Full ~1000 words). DO NOT trigger on simple "summarize our conversation" requests—only when transfer intent is explicit.

Context Continuity Protocol v2

Enable high-fidelity context transfer between AI agents with graceful degradation and zero external dependencies.

Core Concept

When conversations need to transfer between AI agents (different chats, different systems, context window resets), context is typically lost or degraded through naive copy-paste. This protocol creates structured artifacts that:

  • Preserve decision tempo - Avoid rehashing resolved questions
  • Maintain forward momentum - Surface open loops and next actions
  • Gracefully degrade - Critical information survives truncation
  • Separate fact from interpretation - What happened vs. why it matters
  • Support both human and machine parsing - Scannable and structured

When to Use This Skill

Use this skill when:

  • User explicitly says "transfer this conversation," "continue this elsewhere," "handoff," "create a transfer artifact"
  • Context window is filling and user needs to start fresh with preserved state
  • User wants to switch between Claude instances while maintaining continuity
  • User asks to "summarize for transfer" (explicit transfer intent)

DO NOT use for general conversation summaries without transfer intent.

Workflow: Automatic Mode Selection

I automatically choose the appropriate mode based on conversation complexity:

Minimal Mode (~200 words) - Used when:

  • Conversation < 30 messages OR straightforward single objective
  • Few decision points (1-2)
  • Quick task handoff

Full Mode (~1000 words) - Used when:

  • Conversation ≥ 30 messages OR multiple decisions identified
  • Complex strategic work, long-running project
  • User says "comprehensive," "detailed," or "full handoff"

User can override: Say "minimal transfer" or "quick handoff" to force Minimal mode regardless of complexity


Minimal Mode (Fast Path)

Generate immediately without reading reference files:

═══════════════════════════════════════════════════════════════════
CONTEXT TRANSFER — MINIMAL MODE
═══════════════════════════════════════════════════════════════════

**TRANSFER**: [One sentence: what we're accomplishing]

**STATUS**: [✓ resolved | ⧗ in-progress | ⚠ blocked | ↻ iterating]

**DECIDED**: [Key decision + rationale | If multiple, bullet list with "because..."]
  - Alternatives rejected: [What we explicitly didn't do]

**NEXT**: [Immediate next action when conversation resumes]

**BLOCKED**: [If anything is preventing progress]

**CONTEXT**: [1-2 para critical background—constraints, values at stake, key insights]

**HUMAN PREFS**: [Communication style: direct/exploratory | technical/narrative]

═══════════════════════════════════════════════════════════════════
Generated: [ISO timestamp] | Session: [ID if available]

After generating, ask: "Before you transfer—are there any sections that need further detail or refinement?"


Full Mode (Comprehensive Path)

For complex transfers, generate the complete 8-section artifact.

Step 1: Analyze the Conversation

Extract these elements directly (no file reads needed for standard cases):

§ Immediate Orientation

  • Mission: [One clear sentence: what + why it matters]
  • Status: [Current state + progress + momentum]
  • Next Action: [What should happen when conversation resumes]

§ Decision Log

DecisionRationaleAlternatives RejectedTradeoff AcceptedType
[What][Why][What we didn't do][Cost we're paying][explicit\implicit\emergent]
  • Decision Type:

- explicit = deliberate choice with clear rationale - implicit = we started doing X without formal decision - emergent = pattern that evolved over conversation

  • Decision principles applied: [OODA, Wardley, Cynefin, etc. if used]

§ Open Loops

  • Unresolved questions: [What needs answering]
  • Blockers: [What's preventing progress + why]
  • Pending inputs: [Waiting for human/data/time]
  • Hypotheses to test: [Assumptions needing validation]

§ Critical Context

  • Key insights [tag with evolution stage]:

- [G] = Genesis (novel discovery, first-time insight) - [C] = Custom (emerging pattern, still validating) - [P] = Product (established approach, proven) - [K] = Commodity (common knowledge, standard practice)

  • Constraints: [Technical | Resource | Political/Org | Ethical]
  • Uncertainty map: [Known unknowns | Model weaknesses | Risk factors]
  • Values at stake: [What matters beyond task completion]

§ Artifacts & Outputs

  • Created: [Files/code/analyses with 1-line summary + key finding]
  • Referenced: [External resources + why they matter]
  • Tools used: [How leveraged + results]

§ Human Context

  • Communication preferences: [Style | Depth | Archetypes engaged]
  • Assumed knowledge: [Domain expertise | Shared frameworks]
  • Session dynamics: [Trust level | Collaboration mode | Sensitivities]

§ Conversation History (optional, use <details> tag)

  • Act I: Problem Formation [messages 1-X]
  • Act II: Exploration & Development [messages X-Y]
  • Act III: Current State [messages Y-now]
  • Notable moments: [Load-bearing jokes/metaphors/exchanges]

§ Transfer Metadata

  • Provenance: [Source agent]
  • Context window pressure: [○ spacious | ◐ moderate | ● constrained]
  • Completeness: [Visual bar + % + what's missing if <100%]
  • Verification: [✓ human reviewed | ⚠ unverified | ⧗ partial]
  • Handoff notes: [Special instructions | Warnings | Suggested first questions]

Step 2: Structure Using Template

View the full template if you need detailed structure reference:

view /home/claude/context-continuity/references/artifact-template.md

But for most cases, the extraction checklist above is sufficient.

Step 3: Present with Engagement Prompt

After generating the artifact:

  1. Present it in full
  2. Add: "§ TRANSFER READY—Review for accuracy before sharing."
  3. Then ask: "Before you transfer, are there any sections that need further detail or refinement?"

This forces human review and catches errors early.

Step 4: Optional Receiver Guidance

If the human wants guidance for the receiving agent:

view /home/claude/context-continuity/references/receiver-prompt.md

This is an optional prepend with instructions for processing the artifact.

Design Principles

Dual-mode operation: Minimal mode for speed (80% of cases), Full mode for complexity (20% of cases).

Antifragile: Critical information at top. Truncation doesn't break core functionality.

Dual interface: Human-scannable (they verify) + machine-parseable (structured sections).

Tempo preservation: Decision log with type taxonomy prevents circular rehashing.

Fact-meaning separation: Artifacts = what exists. Critical Context = why it matters.

Evolution awareness: [G/C/P/K] tags help receiving agent understand information maturity:

  • [G] = Genesis (novel, first-time discovery)
  • [C] = Custom (emerging, still being validated)
  • [P] = Product (established, proven approach)
  • [K] = Commodity (common knowledge)

Forced engagement: Ask if any sections need refinement—prevents blind paste.

Usage Examples

Example 1: Quick transfer (Minimal mode - auto-selected)

User: "I need to continue this in another chat. Transfer the context."

Agent: [Analyzes: 12 messages, single objective, straightforward → Minimal mode]
       [Generates minimal mode artifact immediately—no file reads]
       [Presents artifact]
       "§ TRANSFER READY—Before you transfer, are there any sections that need
       further detail or refinement?"

Example 2: Complex project transfer (Full mode - auto-selected)

User: "Create a comprehensive handoff for this AI transformation project."

Agent: [Analyzes: 45 messages, multiple decisions, strategic work → Full mode]
       [Generates 8-section artifact with decision log, open loops, critical context]
       [Presents artifact]
       "§ TRANSFER READY—Before you transfer, are there any sections that need
       further detail or refinement?"

User: "Yes, expand the Critical Context around measurement challenges."

Agent: [Expands § Critical Context with more detail on metrics selection debate]

Example 3: Context window pressure (Full mode - auto-selected)

User: "We're at 180k tokens. Compress for a fresh start."

Agent: [Analyzes: 180K tokens, long conversation → Full mode]
       [Generates Full mode artifact]
       [Notes in § Transfer Metadata: "Context window pressure: ● constrained"]
       [Keeps § Conversation History concise]

Best Practices

For Generating Agents

Do:

  • Auto-select mode based on conversation complexity (user can override)
  • Be specific about decisions—include Type (explicit | implicit | emergent)
  • Flag uncertainties explicitly in Uncertainty Map
  • Mark evolution stage for key insights ([G/C/P/K])
  • Include enough detail for receiving agent to avoid stupid mistakes
  • Note human communication preferences and sensitivities
  • Always ask if any sections need further detail or refinement after presenting artifact

Don't:

  • Generalize or use vague language ("made progress" → specify what was completed)
  • Omit the rationale behind decisions
  • Assume receiving agent has conversational context
  • Fabricate post-hoc rationale for emergent decisions (mark them as "emergent" instead)
  • Let human paste without reviewing—force engagement with quality verification question

Decision Type Guide:

  • Explicit: "We decided to use OODA loops because..." (deliberate choice)
  • Implicit: "Started using OODA loops for orientation framing" (no formal decision, just did it)
  • Emergent: "OODA loops emerged as our primary framework through repeated use" (pattern that evolved)

For Receiving Agents

When you receive a context transfer artifact:

  1. Scan § Immediate Orientation first - Get bearings quickly
  2. Read § Decision Log before proposing - Don't rehash resolved debates
  3. Check § Open Loops - Know what needs attention
  4. Review § Critical Context - Understand constraints and values at stake
  5. Acknowledge with handshake - Confirm understanding before continuing

Handshake Protocol (CRITICAL): After reading the artifact, respond with:

"I've reviewed the transfer. Quick confirmation:

  • Mission: [Echo back mission in your own words]
  • Status: [Echo back current state]
  • Next: [Echo back immediate next action]

Ready to [next action]. What's your priority?"

This catches misinterpretation early and gives human confidence you understood the context.

Natural integration examples:

  • Bad: "I can see from the context transfer artifact that..."
  • Good: "Picking up where we left off—you're building the measurement framework..."

For Humans

Before pasting to new agent:

  • Answer the "which section to expand" question (don't skip it)
  • Scan for accuracy and completeness
  • Redact any sensitive information
  • Verify § NEXT ACTION matches your intent
  • Consider if receiver needs the optional prepend from receiver-prompt.md

When starting with new agent:

  • Paste artifact first, then state your immediate need
  • Wait for handshake confirmation (mission/status/next echo-back)
  • If agent seems confused, point them to specific sections
  • Don't expect perfect continuity—some context loss is unavoidable, but handshake catches major gaps

Failure Modes and Mitigations

Problem: Receiving agent treats artifact as gospel instead of hypothesis Mitigation: § Transfer Metadata includes uncertainty indicators and handoff notes

Problem: Human doesn't know what's critical to preserve Mitigation: Generator prompt asks for evolution tags and uncertainty maps

Problem: Truncation cuts off critical context Mitigation: Antifragile structure puts critical info at top; each section is self-contained

Problem: Load-bearing jokes or metaphors lost Mitigation: § Conversation History explicitly calls out notable moments

Problem: Over-reliance on artifact instead of re-orientation Mitigation: Artifact is starting hypothesis, not replacement for human context-setting

Advanced Usage

Iterative Transfers

For long-running projects requiring multiple transfers:

  1. Previous artifacts can be referenced in § Conversation History
  2. Evolution tags track how understanding matured across agents
  3. Decision log accumulates decisions across transfer boundaries

Cross-System Transfers

The protocol is system-agnostic:

  • No special formatting beyond markdown
  • No assumptions about tool access
  • Works between Claude instances, other LLMs, or human-to-human handoffs

Custom Adaptations

The template can be adapted:

  • Add domain-specific sections (e.g., § Code Context for dev projects)
  • Reorder sections if different prioritization makes sense
  • Use minimal mode for constrained environments
  • Adjust detail level based on trust/familiarity with receiving agent

References

All reference materials are in the references/ directory:

  • generator-prompt.md - Prompt to give generating agent for creating artifacts
  • artifact-template.md - Complete template structure and design principles
  • receiver-prompt.md - Optional prepend for receiving agent guidance
  • examples.md - Real-world transfer scenarios showing both modes in action

Load these as needed during the workflow.

平台分布

Claude Code

32.82%
按下载量换算24

windsurf

22.45%
按下载量换算17

OpenCode

18.19%
按下载量换算13

Codex

13.08%
按下载量换算10

Antigravity

8.32%
按下载量换算6

Gemini CLI

3.17%
按下载量换算2

安全审计

暂无安全审计结果可展示。

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills