{
  "markdown": "# claude-find-session\n\nA Claude Code plugin that makes finding and resuming past sessions actually usable.\n\nThe built-in `/resume` shows a flat list scoped to the current directory. This plugin searches across every project, filters out junk sessions, groups results by time, and hands you a ready-to-run `claude --resume <id>` command.\n\n## What it looks like\n\n```\nToday\n  1. `2m`  projects\n     this website is my personal website, my name is Peter Rong, contact peter.gh.rong@gmail.com\n\nThis week\n  2. `2d`  projects/peterghrong/github/io\n     the posts are not in chronological order, it should be my first post first, brownian motion...\n\n  3. `2d`  projects/poly/data\n     lets play with this repo a bit\n\nOlder\n  4. `2w`  projects/anthropomorphic\n     I want to add an ability, I want it to be able to access repos, trigger code generation...\n\nPick a number, or refine.\n```\n\nPick a number and you get back:\n\n```\n! claude --resume c21ed67d-6f7e-423d-b3f0-357c0f0a8edd\n```\n\nRun it inline with the `!` prefix to switch sessions.\n\n## Install\n\nFrom inside Claude Code:\n\n```\n/plugin install session-finder\n```\n\nOr clone this repo and drop it into `~/.claude/plugins/`.\n\n## Usage\n\n- `/session-finder:find-session` — list the most recent sessions globally\n- `/session-finder:find-session websocket` — keyword filter (literal substring across all session files)\n- After the list shows, say a number or describe one (\"the github.io one\") to get the resume command\n- Ask \"show older\" / \"go further back\" to pull older buckets\n\n## How it works\n\nA bash helper walks `~/.claude/projects/**/*.jsonl`, extracts the first real user message of each session as a preview, filters out subagent sessions and trivially short ones, then emits a grouped markdown list (Today / This week / Older) sorted by mtime. The skill instructs Claude to print the output verbatim — no reformatting, no drift between calls.\n\n## Limitations\n\n- Project paths are decoded best-effort from `~/.claude/projects/<encoded>/` directory names, so `peterghrong.github.io` shows as `peterghrong/github/io`. Cosmetic only.\n- `--grep` is a literal substring search, not semantic. For conceptual queries, the skill falls back to ranking by reading previews.\n\n## License\n\nMIT\n",
  "bytes": 2229,
  "sha": "f2fb71fa3b5b27f67c716fd784e02cd44cb2171009a5ff7e01516fe689dbbb30",
  "repo_slug": "peterghrong/claude-find-session",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_peterghrong_claude_find_session_session__81a4a169/readme"
}