arm-pz

Session Retrace — AI skill for Claude Code

AI community

Agent skill that finds a past AI coding conversation from a fuzzy memory — Qoder, Claude Code, Codex, Gemini CLI.

How to install Session Retrace

This entry records only its repository, not the path inside it, so there is no exact command to give. Open arm-pz/session-retrace and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Session Retrace does

Agent skill that finds a past AI coding conversation from a fuzzy memory — Qoder, Claude Code, Codex, Gemini CLI. Searches the transcripts already on disk, ranks sessions with verbatim evidence, prints the chosen chat, redacts tokens. Read-only, local, no index.

Alternatives in AI

README

session-retrace

An agent skill that finds a past AI coding conversation from a fuzzy memory — "the session where we fixed the Spotter palette". It searches the transcripts Qoder, Claude Code, Codex and Gemini CLI already keep on disk, ranks matches with verbatim evidence, and prints the chosen chat. It never invents a session, and it says plainly when nothing matches.

npx skills add arm-pz/session-retrace --skill session-retrace

Ask it things like:

  • "Find the session where we fixed the Spotter palette."
  • "Which Claude Code chat had the marketplace plugin discussion?"
  • "Where is that Codex session with the apinex curl test?"
  • "Which chat did I brainstorm skill names in?"

Every one of those tools has a session picker with no content search. This skill is the search bar, and it searches all four at once.

What it reads

Agent Location Notes
Qoder ~/.qoder/projects//.jsonl full turns; the sibling state.json is encrypted and never opened
Claude Code ~/.claude/projects//.jsonl full turns
Codex ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl full turns, merged with ~/.codex/history.jsonl for prompts whose rollout is gone
Gemini CLI ~/.gemini/tmp//chats/session-*.jsonl snapshot-format messages

Environment overrides are honoured: `QODER_CONFIG_DIR`, `CLAUDE_CONFIG_DIR`, `CODEX_HOME`. `--root` points a single `--provider` at a non-standard directory.

Not covered: Cursor keeps chats in SQLite, GitHub Copilot writes extension logs, and OpenCode had no readable transcripts on the machine this was built against. The skill names those as unsupported rather than silently returning nothing.

Use

Search every agent (default), a subset, or one:

python scripts/session_retrace.py search "spotter palette" --limit 8
python scripts/session_retrace.py search "marketplace plugin" --provider claude,codex
python scripts/session_retrace.py search "redirect fix" --work