memory-continue

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Memory 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
build_context
.
Navigate the graph from a starting point, following relations outward:
python
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
recent_activity
.
See what's changed and let it surface the thread:
python
recent_activity(timeframe="3d", depth=1)
Looking for something specific — use
search_notes
.
Find candidate notes by keyword:
python
search_notes(query="async client refactor", page_size=10)
已知主题 — 使用
build_context
。从起始点遍历图谱,向外追踪关联关系:
python
build_context(
    url="memory://topic-or-note-name",
    depth=2,           # how many relation hops to follow
    timeframe="7d",    # bias toward recent changes
)
没有明确起始点 — 使用
recent_activity
。查看最新变更,从中找出相关线索:
python
recent_activity(timeframe="3d", depth=1)
查找特定内容 — 使用
search_notes
。通过关键词查找候选笔记:
python
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_context
and
read_note
both accept
memory://
URLs, which address notes by permalink and support wildcards for gathering groups of notes.
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
Use 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_context
read_note
都接受
memory://
URL,这类URL通过永久链接定位笔记,并支持通配符来收集一组笔记。
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_context
and
recent_activity
accept natural-language timeframes:
TimeframeMeaning
"today"
Current day
"yesterday"
Previous day
"3d"
or
"3 days"
Last 3 days
"1 week"
or
"7d"
Last week
"2 weeks"
Last 2 weeks
"1 month"
Last month
build_context
recent_activity
接受自然语言格式的时间范围:
时间范围含义
"today"
当天
"yesterday"
前一天
"3d"
"3 days"
过去3天
"1 week"
"7d"
过去一周
"2 weeks"
过去两周
"1 month"
过去一个月

Scenario Playbooks

场景操作指南

Resuming a Spec or Project

续接规格或项目

python
undefined
python
undefined

1. 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
undefined
python
undefined

1. 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
undefined
python
undefined

1. 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
memory://
URL:
python
list_memory_projects()
In multi-project setups, prefix a
memory://
URL with the project name (e.g.
memory://research/papers/crdt
) to scope it.
项目名称是用户自定义的。在确定搜索范围或
memory://
URL之前,要先发现可用项目:
python
list_memory_projects()
在多项目环境中,可在
memory://
URL前添加项目名称(例如
memory://research/papers/crdt
)来限定范围。

Guidelines

指导原则

  1. Start broad, then narrow. Get an overview with
    recent_activity
    or a wildcard
    build_context
    , then drill into specific notes.
  2. Present incrementally. Share what you find as you go rather than holding everything until the end.
  3. Follow relations. The graph's connections are the point —
    build_context
    with
    depth
    surfaces context you wouldn't find by reading one note.
  4. Check multiple projects. Specs may live separately from implementation notes; discover projects with
    list_memory_projects
    .
  5. Confirm understanding. Verify the reconstructed context is what the user actually needs before acting on it.
  6. 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.
  1. 先广泛,再聚焦。使用
    recent_activity
    或带通配符的
    build_context
    获取概览,然后深入查看特定笔记。
  2. 逐步展示。边查找边分享发现的内容,不要等到最后才全部呈现。
  3. 追踪关联关系。图谱的连接是核心——设置
    depth
    参数的
    build_context
    能呈现出仅阅读单条笔记无法发现的上下文。
  4. 检查多个项目。规格文档可能与实现笔记分开存放;使用
    list_memory_projects
    发现所有项目。
  5. 确认理解。在根据重建的上下文采取行动之前,先验证其是否符合用户的实际需求。
  6. 记录新进展。当续接的工作取得进展时,将其写回图谱(参见memory-notes技能),以便下一次会话可以继续续接。