Skip to content
cccskills
FreePublished on GitHub

recall-reasoning

Search previous work records to recover useful decisions, successful approaches, and failed attempts. Find context in handoffs, plans, and build or test histories, then use those findings when tackling similar tasks or recurring errors.

OriginalShow the original description

Search past reasoning for relevant decisions and approaches

See how to install

Good for

  • Recall how a similar task was handled
  • Recover the reasons behind past decisions
  • Find fixes for previously encountered errors
  • Review failed approaches before starting work

Files included (1)

  • SKILL.md3.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Recall Past Work

Search through previous sessions to find relevant decisions, approaches that worked, and approaches that failed. Queries two sources:

  1. Artifact Index - Handoffs, plans, ledgers with post-mortems (what worked/failed)
  2. 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 work
  • build_pass = what finally succeeded
  • Multiple failures before success = non-trivial problem

Process

  1. Run Artifact Index query first - richer context, post-mortems
  2. Review relevant handoffs - check what worked/failed sections
  3. If needed, search reasoning - for specific build errors
  4. Apply learnings - follow successful patterns, avoid failed ones

No Results?

Artifact Index empty:

  • Run uv run python scripts/core/artifact_index.py --all to index existing handoffs
  • Create handoffs with post-mortem sections for future recall

Reasoning files empty:

  • Use /commit after builds to capture reasoning
  • Check if .git/claude/ directory exists

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Coordinate background agents through saved files, keeping lengthy work transcripts out of the main conversation. It defines how to pass results between agents, monitor progress, and verify completed work with tests.

  • Keeping long agent transcripts out of the main conversation
  • Passing research and plans between agents through files
  • Checking for stalled background agents
parcadei/Continuous-Claude-v33.9KUpdated Jan 27, 2026

Delegate implementation, file reading, and testing to separate agents, then bring concise summaries back to the main conversation. The rules explain when delegation helps and when a small edit is better handled directly.

  • Implementing a feature across multiple files
  • Completing a specific phase of an implementation plan
  • Delegating feature development and testing
parcadei/Continuous-Claude-v33.9KUpdated Jan 27, 2026

agentic-workflow

FreeSummary

Organize implementation work across research, planning, validation, implementation, and review agents. Each stage passes files to the next, while implementation starts with failing tests and the main conversation coordinates the workflow.

  • Dividing implementation work among specialized agents
  • Checking a plan against research before implementation
  • Writing failing tests before implementing changes
parcadei/Continuous-Claude-v33.9KUpdated Jan 27, 2026

Connect Agentica SDK agents to Claude Code CLI through a proxy, an intermediary server. Use setup and debugging guidance to address file permissions, streamed responses, result formatting, and agents reporting success without performing the requested operations.

  • Connecting Agentica agents to Claude Code tools
  • Investigating file write and edit permission errors
  • Debugging streaming and REPL response formats
parcadei/Continuous-Claude-v33.9KUpdated Jan 27, 2026

Consult Agentica APIs when building workflows where multiple AI agents cooperate. This reference covers eleven coordination patterns, agent tracking, shared state, handoffs, and ways to combine results, with pointers to detailed API specifications.

  • Choose a coordination pattern for multiple agents
  • Check pattern constructors and methods
  • Implement custom coordination patterns
parcadei/Continuous-Claude-v33.9KUpdated Jan 27, 2026

agentica-prompts

FreeSummary

Write clearer instructions for Agentica and REPL agents by specifying roles, file operations, and output formats. Includes templates for dividing research, coordinating specialists, reviewing solutions, and passing results between agents through files.

  • Clarifying instructions for reading and editing files
  • Dividing research among multiple agents
  • Passing findings and plans between agents
parcadei/Continuous-Claude-v33.9KUpdated Jan 27, 2026

See all skills by parcadei

Report a problem with this skill