---
name: recall
description: "Query the memory system for relevant learnings from past sessions using semantic search."
license: "MIT"
metadata:
  decimalai-skill-id: "bef10899-7575-4add-a794-a0f33c06c751"
  decimalai-version-id: "f0fc873e-f2fc-4e29-9954-543666144d6b"
  decimalai-version: "2"
  decimalai-body-sha256: "448e7fed37ca47e317b90204101c5764754e631b9dc84bbd0c4cd7d2a50a5f29"
  decimalai-name: "recall"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "agent-tooling"
  decimalai-source: "https://app.decimal.ai/s/recall@2/SKILL.md"
---
# 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`
