Skip to content
Back to skills

Find Past Session

ASecurity

Find or recall a past Claude or Codex session. Use when the user refers to an earlier session ("the session from yesterday", "what did we do about X", "find the session where…") or names an Emacs buffer such as *agent-log-search*. Not for what a live session is doing now (live-session-status).

  • 12 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 7, 2026
data

Works with

  • cli

Security analysis

A100/100

Scanned October 7, 2026

npx -y skills add benthamite/dotfiles --skill find-past-session --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Find Past Session?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Find Past Session
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/benthamite-find-past-session-dotfiles/badge)](https://www.skillsdirectory.com/skills/benthamite-find-past-session-dotfiles)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: find-past-session
description: 'Find or recall a past Claude or Codex session. Use when the user refers to an earlier session ("the session from yesterday", "what did we do about X", "find the session where…") or names an Emacs buffer such as *agent-log-search*. Not for what a live session is doing now (live-session-status).'
---

# Find a past session

1. Run `"$HOME/My Drive/dotfiles/claude/bin/agent-log-find" --since YYYY-MM-DD TERMS…`
   first. It searches the rendered Claude and Codex logs
   (`~/.claude/rendered/<project>/<date>_<slug>.md`, with summaries) in under a
   second.
2. Add `--body` to search full logs. Add `--raw` only for sessions too recent
   to be rendered.
3. Never start by grepping raw JSONL transcripts.
4. When Pablo names an Emacs buffer such as `*agent-log-search*`, read it with
   `emacsclient -e` and follow the session links in it.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.