codex/skills/recall-reasoning/SKILL.md
Recall the reasoning behind a past change from Codex session history when available, falling back to commit diff and surrounding code. Use when the user asks to "recall reasoning", "find reasoning", "look up reasoning", "recall implementation reasoning", "find the rationale", "why did I do X", "recall from transcripts", or "find the transcript for this commit".
npx skillsauth add tobihagemann/turbo recall-reasoningInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Recover the reasoning behind a change. Prefer Codex session history when it can be found; otherwise derive the explanation from git history and current code.
Accept any of:
<path>:<line>)If only a file is given, use git blame to resolve the commit that last touched the line.
Resolve the target commit:
git rev-parse <sha>
git blame -L <line>,<line> -- <path>
Collect the commit subject, changed files, and relevant diff:
git show --stat --oneline <sha>
git show -- <path>
If Codex session files are available, search them for the commit SHA, touched file paths, branch name, and distinctive user request text:
rg "<sha>|<file>|<branch>|<distinctive text>" ~/.codex/sessions
Read only the smallest relevant transcript excerpts. Prefer sessions close to the commit time and sessions that mention both the file and the task.
If no matching session is found, continue with the fallback path.
If session reasoning was found:
If no session reasoning was found:
When session reasoning was found:
**Commit:** <short-sha> — <subject>
**Session:** <session reference>
<one or two paragraphs of reasoning>
When no session reasoning was found:
**Commit:** <short-sha> — <subject>
**Session:** none found
<fallback explanation derived from git history and current code>
Then update or check the active plan and proceed to any remaining task.
tools
Run autonomous task execution using the codex CLI. Use when the user asks to "codex exec", "run codex exec", "execute a task with codex", or "delegate to codex".
development
Run the post-implementation quality assurance workflow including tests, code polishing, review, and commit. Use when the user asks to "finalize implementation", "finalize changes", "wrap up implementation", "finish up", "ready to commit", or "run QA workflow".
development
Run the post-implementation quality assurance workflow including tests, code polishing, review, and commit. Use when the user asks to "finalize implementation", "finalize changes", "wrap up implementation", "finish up", "ready to commit", or "run QA workflow".
tools
Teach the user to deeply understand a change through interactive tutoring: restating understanding, drilling into why/what/how, and quizzing until mastery. The active counterpart to a one-shot explanation. Use when the user asks to "understand this change", "teach me this change", "help me understand what changed", "walk me through this change", "make sure I understand this", "quiz me on this", or "teach me what we did".