Find Session

Grep Claude Code jsonl logs to find a session UUID and pin a one-word resume alias

Tested · Works

Test report

Verdict
Tested · Works
Score
9.2/10
Tested
Jul 31, 2026
Environment
Claude Code 2.x (agent harness)
Upstream re-checked
Aug 10, 2026 · fdc6c62

Ran the full workflow against my real ~/.claude/projects/ bucket, which matched the skill's encoded-cwd scheme exactly (multiple .jsonl session files present). BASELINE (naive size/recency pick) selected 637cbdab.jsonl, the biggest file — which had ZERO hits for the target topic "upstreamGone"; the skill's grep -c across files instead found cc1d8a25.jsonl with 16 hits, the correct session. I then wrote the pin function into a throwaway HOME's .zshrc (never touching the real one), sourced it, and confirmed with `type fpin` that the one-word resume alias resolved. Docs claims (grep-not-size, ~/.zshrc function, cd $HOME rationale) all held up under execution.

Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works

  • Installs cleanly 5/5
  • Triggers reliably 5/5
  • Output vs. baseline 8/10
  • Docs & honesty 5/5

What Find Session does

Locates a specific past Claude Code conversation by grepping the .jsonl transcript logs under ~/.claude/projects/ for unique content you remember, then writes a ~/.zshrc shell function so you can resume that exact session with one word. Triggers when "claude --continue" opens the wrong session or when you want a stable, reboot-proof resume command for a long-running conversation.

How to install Find Session

git clone --depth 1 https://github.com/fleurytian/awesome-claude-skills.git /tmp/find-session-src
mkdir -p ~/.claude/skills
cp -R /tmp/find-session-src/find-session ~/.claude/skills/find-session
# No dependencies. Pure shell workflow (ls, grep, appends a function to ~/.zshrc).
# Assumes zsh; bash users should target ~/.bashrc instead of ~/.zshrc.
# The skill modifies ~/.zshrc (a standing config change) but asks you for the alias name first.

Skills live in ~/.claude/skills/ (global) or .claude/skills/ (per-project). Restart Claude Code after installing.

Commands — how to trigger Find Session

  • /find-session Grep Claude Code jsonl logs to find a session UUID and pin a one-word resume alias

It also activates on plain-language prompts like these:

  • Find the session UUID for yesterday's conversation
  • Pin this session so I can resume it quickly
  • Resume the correct conversation after a reboot

Frequently asked questions

Is the Find Session skill free?
Yes. The skill itself is free from fleurytian/awesome-claude-skills. SkillProof publishes the install command and an independent test verdict at no cost.
Does Find Session work with Claude Code?
We tested it with Claude Code 2.x (agent harness) on Jul 31, 2026. Verdict: Tested · Works. Ran the full workflow against my real ~/.claude/projects/ bucket, which matched the skill's encoded-cwd scheme exactly (multiple .jsonl session files present). BASELINE (naive size/recency pick) selected 637cbdab.jsonl, the biggest file — which had ZERO hits for the target topic "upstreamGone"; the skill's grep -c across files instead found cc1d8a25.jsonl with 16 hits, the correct session. I then wrote the pin function into a throwaway HOME's .zshrc (never touching the real one), sourced it, and confirmed with `type fpin` that the one-word resume alias resolved. Docs claims (grep-not-size, ~/.zshrc function, cd $HOME rationale) all held up under execution.
What is the Find Session SkillProof Score?
9.2/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 8/10, docs & honesty 5/5.
How do I install Find Session?
Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
Can I use Find Session with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.