recall-reasoning
Searches previous work sessions to find successful approaches or patterns that failed.
Install
mkdir -p .claude/skills/recall-reasoning && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2011" && unzip -o skill.zip -d .claude/skills/recall-reasoning && rm skill.zipInstalls to .claude/skills/recall-reasoning
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Search past reasoning for relevant decisions and approachesKey capabilities
- →Search past session handoffs and ledgers
- →Retrieve successful patterns from previous tasks
- →Identify failed approaches to avoid repetition
- →Query build attempt reasoning files
- →Extract key decisions and rationale from past work
How it works
It queries an artifact index of handoffs and a repository of reasoning files to provide context on what worked or failed in previous sessions.
Inputs & outputs
When to use recall-reasoning
- →Review past debugging attempts for a specific error
- →Find successful patterns for implementing authentication
- →Avoid repeating failed configuration steps
About this skill
Recall Past Work
Search through previous sessions to find relevant decisions, approaches that worked, and approaches that failed. Queries two sources:
- Artifact Index - Handoffs, plans, ledgers with post-mortems (what worked/failed)
- Reasoning Files - Build attempts, test failures, commit context
When to Use
- Starting work similar to past sessions
- "What did we do last time with X?"
- Looking for patterns that worked before
- Investigating why something was done a certain way
- Debugging an issue encountered previously
Usage
Primary: Artifact Index (rich context)
uv run python scripts/core/artifact_query.py "<query>" [--outcome SUCCEEDED|FAILED] [--limit N]
This searches handoffs with post-mortems (what worked, what failed, key decisions).
Secondary: Reasoning Files (build attempts)
bash "$CLAUDE_PROJECT_DIR/.claude/scripts/search-reasoning.sh" "<query>"
This searches .git/claude/commits/*/reasoning.md for build failures and fixes.
Examples
# Search for authentication-related work
uv run python scripts/core/artifact_query.py "authentication OAuth JWT"
# Find only successful approaches
uv run python scripts/core/artifact_query.py "implement agent" --outcome SUCCEEDED
# Find what failed (to avoid repeating mistakes)
uv run python scripts/core/artifact_query.py "hook implementation" --outcome FAILED
# Search build/test reasoning
bash "$CLAUDE_PROJECT_DIR/.claude/scripts/search-reasoning.sh" "TypeError"
What Gets Searched
Artifact Index (handoffs, plans, ledgers):
- Task summaries and status
- What worked - Successful approaches
- What failed - Dead ends and why
- Key decisions - Choices with rationale
- Goal and constraints from ledgers
Reasoning Files (.git/claude/):
- Failed build attempts and error output
- Successful builds after failures
- Commit context and branch info
Interpreting Results
From Artifact Index:
✓= SUCCEEDED outcome (pattern to follow)✗= FAILED outcome (pattern to avoid)?= UNKNOWN outcome (not yet marked)- Post-mortem sections show distilled learnings
From Reasoning:
build_fail= approach that didn't workbuild_pass= what finally succeeded- Multiple failures before success = non-trivial problem
Process
- Run Artifact Index query first - richer context, post-mortems
- Review relevant handoffs - check what worked/failed sections
- If needed, search reasoning - for specific build errors
- Apply learnings - follow successful patterns, avoid failed ones
No Results?
Artifact Index empty:
- Run
uv run python scripts/core/artifact_index.py --allto index existing handoffs - Create handoffs with post-mortem sections for future recall
Reasoning files empty:
- Use
/commitafter builds to capture reasoning - Check if
.git/claude/directory exists
When not to use it
- →Searching for real-time system status
- →Retrieving information not captured in session artifacts
Prerequisites
Limitations
- →Dependent on the quality of past handoffs
- →Requires existing reasoning files
How it compares
It provides historical context from specific past sessions rather than relying on general knowledge or current session state.
Compared to similar skills
recall-reasoning side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| recall-reasoning (this skill) | 2 | 7mo | Review | Intermediate |
| deep-research | 35 | 9mo | Review | Advanced |
| math-progress-monitor | 1 | 7mo | No flags | Intermediate |
| memory-grep | 0 | 4mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by parcadei
View all by parcadei →You might also like
deep-research
davidorex
Multi-agent parallel investigation for complex VCV Rack problems
math-progress-monitor
parcadei
Metacognitive check-ins during problem solving - detects when to pivot or persist
memory-grep
zxl85813-web
传统检索引擎集成:利用 SmartGrep (BM25 + Fuzzy) 召回向量匹配难以处理的精确事实。当用户询问特定错误 ID、唯一代号、或特定的代码 API 细节时触发。
deep-dive
doumeng
>
analyse
eschaar
Cross-cutting technical analysis. Investigates impact, tradeoffs, root causes, or feasibility without implementing changes. Use when asked to "analyse this", "investigate the impact", "what are the tradeoffs", "root cause analysis", "is this feasible?", or "compare these approaches". Produces an ana
exploring-codebases
tmcfarlane
Semantic search for codebases. Locates matches with ripgrep and expands them into full AST nodes (functions/classes) using tree-sitter or pre-generated _MAP.md files. Returns complete, syntactically valid code blocks rather than fragmented lines. Use when looking for specific implementations, exampl