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
- Hook fires on user prompt submission
- Script reads prompt from stdin (JSON with
promptfield) - Loads all entities from the entities directory (
.evolve/entities/) - Outputs formatted entities to stdout
- 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