session-search

Search historical Claude sessions for code and conversations using regex patterns.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/atondwal/config --skill session-search-atondwal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-search
Source: https://github.com/atondwal/config/tree/main/.claude/skills/session-search
Command: npx skills add https://github.com/atondwal/config --skill session-search-atondwal

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you quickly find information, code snippets, or specific conversations from your past Claude sessions, saving you time and effort in recalling or re-generating content.

Core Features & Use Cases

  • Search History: Efficiently search through all your saved Claude session data.
  • Pattern Matching: Use regular expressions or keywords to pinpoint exact matches.
  • Contextual Results: View relevant messages before and after the match for better understanding.
  • Use Case: You remember discussing a specific Python function a few weeks ago but can't recall the exact code. Use this Skill to search your history for mentions of that function name.

Quick Start

Run the search script with a regex or keyword pattern to find sessions mentioning a specific function.

Frequently Asked Questions about session-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search my Claude conversation history for specific code snippets?

To search Claude conversation history, run the search script with a keyword or regex pattern to pinpoint exact matches of code snippets within your archived session data.

Can I use regular expressions to find past conversations in Claude session data?

Yes, you can use regular expressions to search Claude session data, allowing you to perform pattern matching to pinpoint exact conversations and retrieve relevant contextual messages.

What is the best way to retrieve previously generated Python functions from past Claude sessions?

The best way to retrieve previously generated Python functions is to search your Claude history using the specific function name as a keyword pattern to locate the exact code artifact.

Does searching past Claude conversations show the context around the matched code?

Yes, searching past Claude conversations displays contextual results by showing relevant messages before and after the pattern match for better understanding of the retrieved code.

How do I find old interactions in my Claude session history without manually scrolling?

You can find old interactions by executing a search script across your saved Claude session data using targeted keywords to efficiently retrieve conversational context instead of scrolling.

Are there limitations when retrieving code artifacts from archived Claude sessions?

Retrieval effectiveness depends on the specificity of your regex or keyword patterns, as searching archived sessions requires precise matching to successfully extract code artifacts and conversational context.