# Memory Query

> Query the personal knowledge base — ask questions about past decisions, meetings, and context

- Skill: `lotfb86/memory-query` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lotfb86/memory-query`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lotfb86/memory-query/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Research & Search
- Author: lotfb86 (https://skillmd.com/u/lotfb86)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/lotfb86/memory-query

---


# Query the Memory Knowledge Base

Ask questions against your compiled knowledge base. The system reads the index, identifies relevant articles, and synthesizes an answer.

## Usage

When invoked, run:
```bash
cd /Users/jesseanglen/Documents/RandomStuff/memory-kb && uv run python scripts/query.py "THE USER'S QUESTION" --file-back
```

The `--file-back` flag saves the answer as a Q&A article so the knowledge base compounds with every question.

If the user provides a specific question after the slash command (e.g., `/memory-query What did I decide about the auth middleware?`), use that as the question.

If no question is provided, ask the user what they want to know.

Display the answer to the user.

