recall

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Recall - 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 errors

What It Does

功能说明

  1. Runs semantic search against stored learnings (PostgreSQL + BGE embeddings)
  2. Returns top 5 results with full content
  3. Shows learning type, confidence, and session context
  1. 针对存储的学习内容运行语义搜索(基于PostgreSQL + BGE embeddings)
  2. 返回包含完整内容的前5条结果
  3. 显示学习内容类型、置信度和会话上下文

Execution

执行方式

When this skill is invoked, run:
bash
cd $CLAUDE_OPC_DIR && PYTHONPATH=. uv run python scripts/core/recall_learnings.py --query "<ARGS>" --k 5
Where
<ARGS>
is the query provided by the user.
调用此技能时,运行:
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
结果展示格式如下:
undefined

Memory 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> ```
<完整内容>
undefined

Options

可选参数

The user can specify options after the query:
  • --k N
    - Return N results (default: 5)
  • --vector-only
    - Use pure vector search (higher precision)
  • --text-only
    - Use text search only (faster)
Example:
/recall hook patterns --k 10 --vector-only
用户可在查询后指定以下参数:
  • --k N
    - 返回N条结果(默认值:5)
  • --vector-only
    - 仅使用向量搜索(精度更高)
  • --text-only
    - 仅使用文本搜索(速度更快)
示例:
/recall hook patterns --k 10 --vector-only