recall-rationale

recall-rationale is a skill for Claude Code, Codex from tobihagemann/turbo. It costs 74 tokens per session (1,208 once invoked), scanned A, original, MIT.

A tool for finding the conversation transcript that explains why a past code change was made.

In plain words
What is it for?
It is for looking up rationale from a commit, file path, line, reviewer question, or uncommitted passage.
Why use it?
It helps recover the reasoning behind a commit, file change, or line when the original context is no longer remembered.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit It is for looking up rationale from a commit, file path, line, reviewer question, or uncommitted passage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tobihagemann/turbo/recall-rationale
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tobihagemann/turbo --skill recall-rationale
Clone the repo
git clone --depth 1 https://github.com/tobihagemann/turbo

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for recall-rationale

README.md
[![agentmods](https://agentmods.dev/badge/skills/tobihagemann/turbo/recall-rationale/github.svg)](https://agentmods.dev/skills/tobihagemann/turbo/recall-rationale)
Your own site
<a href="https://agentmods.dev/skills/tobihagemann/turbo/recall-rationale"><img src="https://agentmods.dev/badge/skills/tobihagemann/turbo/recall-rationale/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for recall-rationale

Your own site · 80×15
<a href="https://agentmods.dev/skills/tobihagemann/turbo/recall-rationale"><img src="https://agentmods.dev/badge/skills/tobihagemann/turbo/recall-rationale.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,208 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.01208
Opus 5.5 $0.00030 $0.00483
Sonnet 5.5 $0.00015 $0.00242
Haiku 4.5 $0.00007 $0.00121

Measured 13d ago against content hash b28ff039491a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

recall-rationale scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/find_transcript.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

claude/skills/recall-rationale/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Recall Rationale

Locate the Claude Code transcript that produced a given change and recover why it was made. 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)
  • A passage with no commit behind it, because the project is not a git repository or the change is uncommitted

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.

python3 <skill-dir>/scripts/find_transcript.py --file <path>:<line>
python3 <skill-dir>/scripts/find_transcript.py --commit <sha>

When there is no commit to resolve, because the project is not a git repository or --file returns no-commit for an uncommitted line, run --phrase with a distinctive stretch of the passage's current text, taken from a single line, instead. It skips git, ranks the project's transcripts by how often they handle the phrase, and returns the same JSON with commit: null.

python3 <skill-dir>/scripts/find_transcript.py --phrase "<distinctive text from the passage>"

With --commit or --file, the script:

  1. Resolves the commit via git rev-parse or git blame
  2. Enumerates directories under the effective Claude configuration home's projects/ tree and filters their transcripts by authoritative cwd records, covering path encoding, truncation, collisions, and subdirectory launches
  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

Read the full file on GitHub · 101 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 101 lines · 74 tokens per session scan A b28ff039491a

Subscribe to this mod's changes

recall-rationale is a skill published in the GitHub repository tobihagemann/turbo (409 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 1,208 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-01.

Related

Other skills, from other repositories

iterate

Diverge-converge workflow: spin up N agents on isolated worktrees, each exploring a different approach to the same problem. Compare results side-by-side (with optional preview ports), pick a winner, merge it back. Use when the user says /iterate, 'try multiple approaches', 'explore different directions', or wants to…

SZoloth/skill-pack · 73 tokens

end

Close a work session — log what happened, update state and the decision log, propose durable memory updates, and check for uncommitted or unpushed work.

conorbronsdon/agent-workspace · 35 tokens

diffler

Generate and deliver a graded comprehension quiz from the current Git branch diff, either in the local terminal or through Google Forms. Use when a user asks to prove, test, or verify understanding of branch changes, a feature branch, or a pull request.

jamestkelly/diffler · 53 tokens

napkin

Maintain a per-repo napkin as a continuously curated runbook (not a session log). Activates EVERY session. Read and curate it before work, keep only recurring high-value guidance, organize by priority-sorted categories, and cap each category at top 10 items. The napkin lives at .claude/napkin.md.

SZoloth/skill-pack · 75 tokens

git-workflow

A guide for handling Git repository work safely, including status checks, branches, commits, pushes, pull requests, and rebasing. Git is a version-control system that records code changes and coordinates work between developers.

laolaoshiren/claude-code-skills-zh · 73 tokens

changelog-gen

A changelog generator that turns Git history into a version-by-version record of project changes. A changelog is a readable summary of new features, fixes, breaking changes, documentation, and other updates.

laolaoshiren/claude-code-skills-zh · 19 tokens