recall

Retrieves relevant entities from a knowledge base. Designed to be invoked automatically via hooks to inject context-appropriate entities before task execution.

Entity Retrieval

Overview

This skill retrieves relevant entities from a stored knowledge base based on the current task context. It loads all stored entities and presents them to Claude for relevance filtering.

How It Works

  1. Hook fires on user prompt submission
  2. Script reads prompt from stdin (JSON with prompt field)
  3. Loads all entities from the entities directory (.evolve/entities/)
  4. Outputs formatted entities to stdout
  5. Claude receives entities as additional context and applies relevant ones

Entities Storage

Entities are stored as individual markdown files in .evolve/entities/, nested by type:

.evolve/entities/
  guideline/
    use-context-managers-for-file-operations.md
    cache-api-responses-locally.md

Each file uses markdown with YAML frontmatter:

---
type: guideline
trigger: When processing files or managing resources
---

Use context managers for file operations

## Rationale

Ensures proper resource cleanup