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 從公開儲存庫中收錄這些內容。

檢舉或申請下架