checkpoint
Auto-save research progress using sage_autosave_check MCP tool. INVOKE WHEN: user asks to research, compare, analyze, or investigate topics; after completing web searches; when synthesizing conclusions ("therefore", "in summary"). INVOKE FOR: checkpoint, save this, remember this, save my research. DO NOT INVOKE: for simple Q&A, code editing, or file operations unrelated to research.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Checkpoint Skill
You have the ability to create semantic checkpoints that preserve research state across context windows. Use this proactively when you detect state transitions.
When to Checkpoint
Checkpoint when you detect:
| Signal | Example Phrases |
|---|---|
| Conclusion reached | "So the answer is...", "This means...", "Therefore..." |
| Hypothesis validated | "This confirms...", "This rules out..." |
| Branch point | "We could either X or Y", "Two approaches..." |
| Constraint discovered | "Wait, that changes things...", "I didn't realize..." |
| Topic transition | Shift in focus, new entity/concept |
| User validation | "That makes sense", "Let's go with that", "Agreed" |
| Explicit request | "checkpoint", "save this", "remember this" |
Checkpoint Format
When checkpointing, create a structured block:
id: [timestamp]_[short-description]
trigger: [manual | synthesis | branch_point | constraint | transition]
core_question: |
What decision or action is this research driving toward?
thesis: |
Current synthesized position (1-2 sentences)
confidence: [0.0-1.0]
open_questions:
- What's still unknown?
- What needs more research?
sources:
- id: [identifier]
type: [person | document | api | observation]
take: [Decision-relevant summary, 1-2 sentences]
relation: [supports | contradicts | nuances]
tensions:
- between: [source1, source2]
nature: What they disagree on
resolution: [unresolved | resolved | moot]
unique_contributions:
- type: [discovery | experiment | synthesis | internal_knowledge]
content: What WE found that isn't in external sources
action:
goal: What's being done with this research
type: [decision | output | learning | exploration]
Storage
Save checkpoints to ~/.sage/checkpoints/ (global Sage directory).
Filename format: YYYY-MM-DDTHH-MM-SS_short-description.yaml
Compression Principles
- Compress for decisions, not completeness - "Would this change the decision?"
- Preserve tensions - Disagreements between credible sources are high-value
- Elevate unique contributions - Your discoveries are differentiated value
- Drop re-derivable content - Keep conclusions, not the reasoning chain
Restoration
When continuing from a checkpoint, inject it as context:
# Research Context (Restored from Checkpoint)
## Core Question
[core_question]
## Current Thesis (confidence: X%)
[thesis]
## Open Questions
[open_questions as bullets]
## Key Sources
[sources with relation indicators: [+] supports, [-] contradicts, [~] nuances]
## Tensions
[unresolved disagreements]
## Unique Discoveries
[unique_contributions]
Autosave Triggers
Think of checkpointing like a game's autosave system. Call sage_autosave_check at these moments:
| Trigger Event | When | Game Analogy |
|---|---|---|
research_start |
User asks research question | Entering boss room |
web_search_complete |
After processing web search results | Picked up item |
synthesis |
You say "So...", "Therefore...", "In summary..." | Quest complete |
topic_shift |
User pivots to new topic | Switching levels |
user_validated |
User confirms your finding ("yes", "agreed", "that's right") | Checkpoint reached |
constraint_discovered |
New info changes approach | Plot twist |
branch_point |
Multiple viable paths identified | Fork in road |
Call pattern:
sage_autosave_check(
trigger_event="synthesis",
core_question="What we're researching",
current_thesis="Where we are now",
confidence=0.75
)
The tool decides whether to save. If it saves, briefly confirm: "📍 Autosaved: [thesis]"
Behavior
- Proactive: Call autosave checks at trigger moments. Don't wait to be asked.
- Lightweight: Brief notification ("📍 Autosaved"), don't disrupt flow.
- Cumulative: Each checkpoint builds on previous, creating a research trail.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!