# Find Past Agent Sessions

Finds and reads past coding agent sessions and rebuilds what they did.

- Repository: https://github.com/code-yeongyu/oh-my-openagent (70577 stars)
- Category: AI and agents
- License: see repository
- Last updated: 2026-11-01
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add code-yeongyu/oh-my-openagent --skill coding-agent-sessions -g -a claude-code -y`
Codex: `npx skills add code-yeongyu/oh-my-openagent --skill coding-agent-sessions -g -a codex -y`
Cursor: `npx skills add code-yeongyu/oh-my-openagent --skill coding-agent-sessions -g -a cursor -y`
Gemini CLI: `npx skills add code-yeongyu/oh-my-openagent --skill coding-agent-sessions -g -a gemini-cli -y`

## Description

Finds, reads, and reconstructs coding-agent sessions across Codex, Claude, OpenCode, OMO/Senpi, and other local agent logs. Use when asked to find or search past sessions, transcripts, or subagent runs, or to recover what an earlier session did.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Coding Agent Sessions

Find local coding-agent sessions across agent products before answering from memory. Prefer the bundled finder for broad cross-platform search, then read the selected session or raw file when you need exact evidence.

## PHASE 0 - PLATFORM ROUTER

1. **IF the user names a platform, load its reference first.**

   | Platform | Read |
   |---|---|
   | Codex / OpenAI Codex CLI | `references/codex.md` |
   | Claude Code / Claude Desktop histories | `references/claude.md` |
   | OMO / Senpi / pi coding-agent logs | `references/senpi.md` |
   | oh-my-pi (`omp`, `~/.omp`) and gajae-code (`gjc`, `~/.gjc`) logs | `references/senpi.md` |
   | OpenCode / oh-my-openagent (formerly oh-my-opencode) storage | `references/opencode.md` |
   | OpenClaw, Droid, Amp, Gemini, Kimi, Qwen, Codebuff, Roo/Kilo/Cline, Kodu, Cursor CLI, Aider, Kiro, Goose, Hermes, Crush, Zed, Aside | `references/all-platforms.md` |
   | Unknown / "any session" / cross-agent search | `references/all-platforms.md` |

2. **Run the broad finder first unless the user gave an exact file path. For fuzzy recall, expand the query first.**

When the user remembers a task vaguely ("that OpenCode bug", "the dashboard PR", "when did we fix X"), derive 3-6 short query lanes before searching: product/tool aliases, repo/package names, exact error text, issue/PR/session IDs, English/Korean phrasing, and likely verbs such as `fix`, `review`, `plan`, `deploy`, or `merge`. Run the lanes together with repeated `--query` so `match_reasons` shows which wording found the hit.

The rest: https://github.com/code-yeongyu/oh-my-openagent/blob/HEAD/packages/shared-skills/skills/coding-agent-sessions/SKILL.md
