Recall

作者 parcadeid07ff4b06b62无许可证3.9K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库8个月前更新

Query the memory system for relevant learnings from past sessions

仅含说明AI & Agents
AI 生成的概览

通过语义搜索从过往会话的记忆库中检索相关经验,并展示最匹配的结果。

功能
使用基于 PostgreSQL 与 BGE 嵌入的语义搜索,查询过往会话中存储的经验记忆。默认返回前五条结果,展示每条经验的类型、置信度和会话上下文以及完整内容。可通过选项调整结果数量,或限定为纯向量搜索或纯文本搜索。
适用场景
当需要回忆此前会话中的经验、模式或修复方法时使用,例如钩子开发模式、向导安装或 TypeScript 错误。
运行要求
需要由 PostgreSQL 支持并带 BGE 嵌入的记忆库、uv 运行时,以及位于所配置 CLAUDE_OPC_DIR 中的 recall_learnings.py 脚本。该技能本身不附带脚本,且不可由用户直接调用。

Recall - Semantic Memory Retrieval

Query the memory system for relevant learnings from past sessions.

Usage

/recall <query>

Examples

/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

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.

Output Format

Present results as:

## Memory Recall: "<query>"
### 1. [TYPE] (confidence: high, id: abc123)<full content>
### 2. [TYPE] (confidence: medium, id: def456)<full content>

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

来源与署名

来源:parcadei/continuous-claude-v3位于.claude/skills/recall提交d07ff4b

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架