memory-continue
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMemory Continue
Memory 续接功能
Resume previous work by reconstructing context from the Basic Memory knowledge graph, so the assistant can pick up across sessions instead of starting cold.
通过从Basic Memory知识图谱重建上下文来恢复之前的工作,这样助手就可以跨会话续接任务,无需从头开始。
When to Use
使用场景
- Starting a new session and you need to pick up where you left off
- The user references earlier work: "continue with...", "back to...", "where were we on...?"
- You need context about an ongoing project or spec
- The user asks about something discussed in a previous conversation
- You're working on a task that spans multiple sessions
- 启动新会话时,需要从中断处继续工作
- 用户提及之前的工作:"继续..."、"回到..."、"我们刚才在...的进度如何?"
- 需要了解正在进行的项目或规格的上下文信息
- 用户询问之前对话中讨论过的内容
- 处理跨多个会话的任务
Building Context
构建上下文
1. Identify What to Continue
1. 确定要续接的内容
If it's unclear, ask:
- What topic or project should you resume?
- What timeframe matters?
- Any specific aspect to focus on?
如果内容不明确,可以询问:
- 你应该续接哪个主题或项目?
- 哪个时间范围的内容相关?
- 有没有需要重点关注的特定方面?
2. Gather Context with MCP Tools
2. 使用MCP工具收集上下文
Known topic — use . Navigate the graph from a starting point, following relations outward:
build_contextpython
build_context(
url="memory://topic-or-note-name",
depth=2, # how many relation hops to follow
timeframe="7d", # bias toward recent changes
)No clear starting point — use . See what's changed and let it surface the thread:
recent_activitypython
recent_activity(timeframe="3d", depth=1)Looking for something specific — use . Find candidate notes by keyword:
search_notespython
search_notes(query="async client refactor", page_size=10)已知主题 — 使用。从起始点遍历图谱,向外追踪关联关系:
build_contextpython
build_context(
url="memory://topic-or-note-name",
depth=2, # how many relation hops to follow
timeframe="7d", # bias toward recent changes
)没有明确起始点 — 使用。查看最新变更,从中找出相关线索:
recent_activitypython
recent_activity(timeframe="3d", depth=1)查找特定内容 — 使用。通过关键词查找候选笔记:
search_notespython
search_notes(query="async client refactor", page_size=10)3. Read the Key Notes
3. 阅读关键笔记
Once you've identified the relevant notes, read them in full:
python
read_note(identifier="note-title-or-permalink")一旦确定了相关笔记,请完整阅读它们:
python
read_note(identifier="note-title-or-permalink")4. Present Context to the User
4. 向用户展示上下文
Summarize what you found, incrementally:
- Current state of the work
- Recent changes or progress
- Open items and next steps
- Related context that might help
逐步总结你找到的信息:
- 工作的当前状态
- 近期变更或进展
- 待办事项和下一步计划
- 可能有帮助的相关上下文
Memory URL Reference
Memory URL 参考
build_contextread_notememory://memory://note-title # a single note by permalink
memory://folder/* # all notes in a folder
memory://specs/SPEC-24* # pattern / prefix match
memory://project/*/requirements # path wildcardsUse a specific note URL to anchor on one starting point; use a wildcard to pull in a whole folder or family of related notes at once.
build_contextread_notememory://memory://note-title # a single note by permalink
memory://folder/* # all notes in a folder
memory://specs/SPEC-24* # pattern / prefix match
memory://project/*/requirements # path wildcards使用特定笔记URL锚定一个起始点;使用通配符可以一次性获取整个文件夹或一组相关笔记。
Timeframe Reference
时间范围参考
build_contextrecent_activity| Timeframe | Meaning |
|---|---|
| Current day |
| Previous day |
| Last 3 days |
| Last week |
| Last 2 weeks |
| Last month |
build_contextrecent_activity| 时间范围 | 含义 |
|---|---|
| 当天 |
| 前一天 |
| 过去3天 |
| 过去一周 |
| 过去两周 |
| 过去一个月 |
Scenario Playbooks
场景操作指南
Resuming a Spec or Project
续接规格或项目
python
undefinedpython
undefined1. Read the spec / project note
1. Read the spec / project note
read_note(identifier="SPEC-24: Postgres Database Migration")
read_note(identifier="SPEC-24: Postgres Database Migration")
2. Pull in related context and recent changes via the graph
2. Pull in related context and recent changes via the graph
build_context(url="memory://SPEC-24*", timeframe="7d")
Then summarize: the goals, what's completed, what's pending, and any blockers or open decisions.build_context(url="memory://SPEC-24*", timeframe="7d")
然后进行总结:目标、已完成工作、待办事项,以及任何障碍或未决定的事项。Continuing General Work
续接常规工作
python
undefinedpython
undefined1. Check recent activity
1. Check recent activity
recent_activity(timeframe="3d")
recent_activity(timeframe="3d")
2. Read notes from the recent sessions it surfaces
2. Read notes from the recent sessions it surfaces
read_note(identifier="relevant-note")
Then list the modified notes with brief descriptions and ask which thread to dive into.read_note(identifier="relevant-note")
然后列出修改过的笔记及简要描述,并询问用户要深入处理哪条线索。Following Up on a Topic
跟进某个主题
python
undefinedpython
undefined1. Find the topic
1. Find the topic
search_notes(query="topic keywords")
search_notes(query="topic keywords")
2. Build context from the best match, following its relations
2. Build context from the best match, following its relations
build_context(url="memory://found-note-permalink", depth=2)
Then present the full picture — the note plus its connected context.build_context(url="memory://found-note-permalink", depth=2)
然后呈现完整信息——该笔记及其关联的上下文。Project Discovery
项目发现
Project names are user-specific. To discover what's available before scoping a search or URL:
memory://python
list_memory_projects()In multi-project setups, prefix a URL with the project name (e.g. ) to scope it.
memory://memory://research/papers/crdt项目名称是用户自定义的。在确定搜索范围或 URL之前,要先发现可用项目:
memory://python
list_memory_projects()在多项目环境中,可在 URL前添加项目名称(例如)来限定范围。
memory://memory://research/papers/crdtGuidelines
指导原则
- Start broad, then narrow. Get an overview with or a wildcard
recent_activity, then drill into specific notes.build_context - Present incrementally. Share what you find as you go rather than holding everything until the end.
- Follow relations. The graph's connections are the point — with
build_contextsurfaces context you wouldn't find by reading one note.depth - Check multiple projects. Specs may live separately from implementation notes; discover projects with .
list_memory_projects - Confirm understanding. Verify the reconstructed context is what the user actually needs before acting on it.
- Capture new progress. As the resumed work advances, write it back to the graph (see the memory-notes skill) so the next session can continue too.
- 先广泛,再聚焦。使用或带通配符的
recent_activity获取概览,然后深入查看特定笔记。build_context - 逐步展示。边查找边分享发现的内容,不要等到最后才全部呈现。
- 追踪关联关系。图谱的连接是核心——设置参数的
depth能呈现出仅阅读单条笔记无法发现的上下文。build_context - 检查多个项目。规格文档可能与实现笔记分开存放;使用发现所有项目。
list_memory_projects - 确认理解。在根据重建的上下文采取行动之前,先验证其是否符合用户的实际需求。
- 记录新进展。当续接的工作取得进展时,将其写回图谱(参见memory-notes技能),以便下一次会话可以继续续接。