---
name: loom-extract
description: >
  Extract atomic, searchable facts from stored memories using LLM-backed
  fact extraction. Use after storing important memories to make knowledge
  queryable via FTS5. Triggers: "extract facts", "index memories",
  "make memories searchable", "weave extract".
---

# Loom Extract

Extract atomic facts from memories for better search.

## Usage

```
/loom-extract                           # Extract from 20 most recent
/loom-extract entity:<id>               # Extract from entity's memories
/loom-extract limit:10                  # Fewer memories
/loom-extract model:deepseek/deepseek-v3.1  # Custom model
```

## When to run

- After storing 5+ important memories via `/loom-store`
- After a session with significant decisions and discoveries
- When you want to make memories findable by conceptual search (not just keyword)

Set `PI_FACT_MODEL` env var to override the default extraction model.
