← ClaudeAtlas

right-reflectlisted

Inspects this agent's own past reasoning by reading the conversation-history JSONL files Claude Code writes inside the sandbox. Use when the user asks "why did you...", "what were you thinking when...", or to debug a wrong decision the agent made in an earlier turn or session. Reads thinking blocks, tool calls, and tool results to reconstruct prior reasoning. Filesystem-only — no MCP calls, no DB.
onsails/right-agent · ★ 22 · AI & Automation · score 74
Install: claude install-skill onsails/right-agent
# /right-reflect — Read Your Own Past Reasoning You are reflecting on your own past sessions to answer "why did you ...?" The data exists. Your job is to find the right file, read it efficiently, and report a coherent narrative. ## When to Activate - The user asks "why did you ...?", "what were you thinking when ...?", "you got X wrong, what happened?" - You yourself notice two of your own past decisions disagree and want to reconcile them before answering. - The user is debugging something that involved a past cron run or a past conversational turn. ## Where Your Reasoning Is Stored **Primary — always available:** ``` /sandbox/.claude/projects/-sandbox/<session-uuid>.jsonl ``` One JSON object per line. Contains every `thinking` block, every `tool_use`, every `tool_result`, plus session lifecycle events. This is Claude Code's own conversation-history file — it exists for every session, no flag required. **Fallback — only if `/debug` is on:** ``` /sandbox/.claude/logs/<session-uuid>.log ``` Raw API request/response payloads, MCP transport events, hook firings. Verbose. Only present when the user has enabled `/debug on`. Check with: ```bash ls /sandbox/.claude/logs/ 2>/dev/null ``` If empty or "No such file or directory" — you are not in debug mode. See `Fallback Decision Tree` below for what to tell the user. ## Finding the Right File Three patterns, in order of preference: ### 1. The most recent session Almost always the answer when the user is asking ab