recall-reasoning
SolidRecall the reasoning behind a past change by locating the Claude Code transcript that produced it. 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".
Code & Development 335 stars
26 forks Updated 5 days ago MIT
Install
Quality Score: 89/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Recall Reasoning
Locate the Claude Code transcript that produced a given change and extract the implementer's reasoning. Useful for answering reviewer questions, writing post-hoc explanations, or recovering forgotten context.
## Inputs
Accept any of:
- A commit SHA
- A file path, optionally with a line number (`<path>:<line>`)
- A reviewer question plus surrounding context (file and line)
If only a file is given, `git blame` resolves the commit that last touched the line.
## Step 1: Resolve the Commit and Run the Script
Call `scripts/find_transcript.py` with either `--commit <sha>` or `--file <path>[:<line>]`. Pass `--cwd /path/to/repo` when searching a different repo than the current working directory.
```bash
python3 <skill-dir>/scripts/find_transcript.py --file <path>:<line>
python3 <skill-dir>/scripts/find_transcript.py --commit <sha>
```
The script:
1. Resolves the commit via `git rev-parse` or `git blame`
2. Looks up `~/.claude/projects/<encoded-cwd>/` (slashes and dots become dashes)
3. Ranks candidate transcripts whose mtime is within `--window-days` of the commit (default 14)
4. Scores candidates by mentions of touched files and tool-use edits on them
5. Extracts cleaned user prompts and substantive assistant text from the top candidates
The JSON output has `status`, `commit`, `project_dir`, and `candidates` with `session_id`, `score`, `match_reasons`, and `excerpts`.
Status values:
- `ok` — candidates returned
- `no-commit` — couldn't resolve a commit...
Details
- Author
- tobihagemann
- Repository
- tobihagemann/turbo
- Created
- 3 months ago
- Last Updated
- 5 days ago
- Language
- Python
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
recall-reasoning
Search past reasoning for relevant decisions and approaches
3,809 Updated 4 months ago
parcadei AI & Automation Solid
recall-reasoning
Search past reasoning for relevant decisions and approaches
501 Updated yesterday
vibeeval Code & Development Listed
recall
Reconstruct and narrate the current development context from contextual commits. Run at session start, when resuming work, or when switching branches. Produces a brief, conversational summary of where things stand.
0 Updated today
mistakenot