# Memory

> Search past conversations in the agent's history log.

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

---


# Memory

## Search Past Events

Search the exact `History log` path from the system prompt with `grep`; a project-relative
`memory/history.jsonl` may belong to a different workspace. The log is append-only JSONL,
with `cursor`, `timestamp`, and `content` per entry, and is not loaded into context.

Start broad searches with `output_mode="count"`, then narrow by topic or date and request
matching content. Use `fixed_strings=true` for literal timestamps or JSON fragments.
Page long results with `head_limit` / `offset` and use `context_before` / `context_after`
when nearby entries matter.

Example (replace `<history-log-path>` with the path from the system prompt):
`grep(pattern="project-name", path="<history-log-path>", output_mode="content", case_insensitive=true, head_limit=20)`

