recall
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRecall - Semantic Memory Retrieval
回忆 - 语义记忆检索
Query the memory system for relevant learnings from past sessions.
查询记忆系统以获取过往会话中的相关学习内容。
Usage
使用方法
/recall <query>/recall <query>Examples
示例
/recall hook development patterns
/recall wizard installation
/recall TypeScript errors/recall hook development patterns
/recall wizard installation
/recall TypeScript errorsWhat It Does
功能说明
- Runs semantic search against stored learnings (PostgreSQL + BGE embeddings)
- Returns top 5 results with full content
- Shows learning type, confidence, and session context
- 针对存储的学习内容运行语义搜索(基于PostgreSQL + BGE embeddings)
- 返回包含完整内容的前5条结果
- 显示学习内容类型、置信度和会话上下文
Execution
执行方式
When this skill is invoked, run:
bash
cd $CLAUDE_OPC_DIR && PYTHONPATH=. uv run python scripts/core/recall_learnings.py --query "<ARGS>" --k 5Where is the query provided by the user.
<ARGS>调用此技能时,运行:
bash
cd $CLAUDE_OPC_DIR && PYTHONPATH=. uv run python scripts/core/recall_learnings.py --query "<ARGS>" --k 5其中 为用户提供的查询内容。
<ARGS>Output Format
输出格式
Present results as:
undefined结果展示格式如下:
undefinedMemory Recall: "<query>"
记忆检索结果: "<query>"
1. [TYPE] (confidence: high, id: abc123)
1. [类型] (置信度: 高, id: abc123)
<full content>
<完整内容>
2. [TYPE] (confidence: medium, id: def456)
2. [类型] (置信度: 中, id: def456)
<full content>
```
<完整内容>
undefinedOptions
可选参数
The user can specify options after the query:
- - Return N results (default: 5)
--k N - - Use pure vector search (higher precision)
--vector-only - - Use text search only (faster)
--text-only
Example:
/recall hook patterns --k 10 --vector-only用户可在查询后指定以下参数:
- - 返回N条结果(默认值:5)
--k N - - 仅使用向量搜索(精度更高)
--vector-only - - 仅使用文本搜索(速度更快)
--text-only
示例:
/recall hook patterns --k 10 --vector-only