memory-search

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

AI Maestro Memory Search

AI Maestro 记忆搜索

Search your conversation history using semantic, keyword, and symbol matching. Recall past decisions, discussions, and context across sessions. Part of the AI Maestro suite.
通过语义匹配、关键词匹配和符号匹配功能搜索你的对话历史,跨会话调取过往的决策、讨论内容及上下文信息。本功能是AI Maestro套件的一部分。

Prerequisites

前置条件

Requires AI Maestro running locally. Memory indexing uses CozoDB for vector search.
bash
undefined
需要在本地运行AI Maestro。记忆索引使用CozoDB实现向量搜索。
bash
undefined

Install memory tools

Install memory tools

git clone https://github.com/23blocks-OS/ai-maestro-plugins.git cd ai-maestro-plugins && ./install-memory-tools.sh
undefined
git clone https://github.com/23blocks-OS/ai-maestro-plugins.git cd ai-maestro-plugins && ./install-memory-tools.sh
undefined

Core Behavior

核心运行逻辑

Before starting any task, search memory for relevant context:
Receive instruction -> Search memory -> Then proceed
在开始任何任务前,先搜索记忆库获取相关上下文:
Receive instruction -> Search memory -> Then proceed

Commands

命令

CommandDescription
memory-search.sh "<query>"
Hybrid search (recommended)
memory-search.sh "<query>" --mode semantic
Find conceptually related
memory-search.sh "<query>" --mode term
Exact text matching
memory-search.sh "<query>" --mode symbol
Code symbol matching
memory-search.sh "<query>" --role user
Only user messages
memory-search.sh "<query>" --role assistant
Only assistant messages
命令描述
memory-search.sh "<query>"
混合搜索(推荐使用)
memory-search.sh "<query>" --mode semantic
查找概念相关内容
memory-search.sh "<query>" --mode term
精确文本匹配
memory-search.sh "<query>" --mode symbol
代码符号匹配
memory-search.sh "<query>" --role user
仅搜索用户消息
memory-search.sh "<query>" --role assistant
仅搜索助手消息

Search Modes

搜索模式

ModeBest For
hybrid
(default)
General search, most cases
semantic
Related concepts, different wording
term
Exact function/class names
symbol
Code identifiers across contexts
模式适用场景
hybrid
(默认)
通用搜索,适用于大多数场景
semantic
查找相关概念、不同表述的内容
term
精确匹配函数/类名称
symbol
跨上下文查找代码标识符

Usage Examples

使用示例

bash
undefined
bash
undefined

User asks to continue previous work

User asks to continue previous work

memory-search.sh "authentication"
memory-search.sh "authentication"

Find a specific component discussion

Find a specific component discussion

memory-search.sh "PaymentService" --mode term
memory-search.sh "PaymentService" --mode term

Find related design discussions

Find related design discussions

memory-search.sh "error handling patterns" --mode semantic
memory-search.sh "error handling patterns" --mode semantic

Find code symbol references

Find code symbol references

memory-search.sh "processPayment" --mode symbol
undefined
memory-search.sh "processPayment" --mode symbol
undefined

Combining with Other Skills

与其他功能结合使用

For complete context, pair with docs-search and graph-query:
bash
memory-search.sh "feature"       # What did we discuss?
docs-search.sh "feature"         # What do docs say?
graph-describe.sh ComponentName  # What is the structure?
如需获取完整上下文信息,可搭配文档搜索和图形查询功能:
bash
memory-search.sh "feature"       # What did we discuss?
docs-search.sh "feature"         # What do docs say?
graph-describe.sh ComponentName  # What is the structure?

Full AI Maestro Experience

完整AI Maestro体验

This skill is part of the AI Maestro platform, which provides 6 skills for AI agent orchestration: messaging, memory, docs, graph, planning, and agent management.
本功能是AI Maestro平台的一部分,该平台提供6项核心功能用于AI Agent编排:消息处理、记忆管理、文档检索、图形查询、任务规划及Agent管理。