Recall

From norrietaylor/distillery · View interactive version

Recall is an AI agent skill from the GitHub repository norrietaylor/distillery. Search the knowledge base using natural language and return matching entries with provenance

How to use this skill

Skill file

<!-- Trigger phrases: recall, search knowledge, what do we know about, find in knowledge base, /recall <query> -->

Recall — Semantic Knowledge Search

Recall searches the Distillery knowledge base using natural language queries and returns ranked results with full provenance.

When to Use

Process

Step 1: Check MCP

See CONVENTIONS.md — skip if already confirmed this conversation.

Step 2: Prompt for Query if None Provided

If /recall was invoked with no arguments, ask: "What would you like to search for in the knowledge base?" Wait for the response.

Step 3: Parse Arguments and Filters

Parse invocation arguments for optional filter flags (any order):

| Flag | Parameter | Description |

|------|-----------|-------------|

| --type | <entry_type> | Filter by entry type (e.g., session, bookmark, minutes) |

| --author | <name> | Filter by author identifier |

| --project | <name> | Filter by project name |

| --limit | <n> | Override default result limit (default: 10) |

Remaining text after removing flags is the query string.

Example: /recall caching --type session --author Alice --limit 5 → query: "caching", filters: type=session, author=Alice, limit: 5

Valid entry_type values: session, bookmark, minutes, meeting, reference, idea, inbox.

Step 4: Search the Knowledge Base

Call distillery_search with the parsed query, limit, and any filters. Only include filter parameters that were explicitly provided — do not pass empty or null values.

Step 5: Display Results

If results are returned, display each using the Output Format below.

If no results found, display: No results found for "<query>". followed by suggestions to broaden terms, remove filters, or check that entries exist on the topic.

Output Format

Multiple results — show a header first:

Found <count> result(s) for "<query>"<filter_summary>:

Where <filter_summary> summarises active filters (e.g., (type: session, author: Alice)), omitted if none.

Each result (ordered by similarity, highest first):

## <similarity_score>% — [<entry_type>]

<full content of the entry>

ID: <entry_id> | Author: <author> | Project: <project> | <created_at>
Tags: <tag1>, <tag2>, ...

Separate results with ---.

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.