Agent skill · AI & Agents

session-search

Search through historical Claude sessions for code, conversations, and commands. Use when user asks about previous sessions, past conversations, "did I ever", "find in history", or wants to retrieve code/info from earlier chats.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill session-search-atondwal-config --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 1 KB
Bundled scripts: none
Path: skills/analysis/session-search-atondwal-config/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Session Search Search through your Claude session history stored in `~/.claude/projects/`. ## Usage Run the search script with a regex or keyword pattern: ```bash python ~/.claude/skills/session-search/search.py "pattern" [max_results] ``` ## Examples ```bash # Find sessions mentioning a specific function python ~/.claude/skills/session-search/search.py "def parse_config" # Find discussions about a topic python ~/.claude/skills/session-search/search.py "kubernetes|docker" # Find code with specific imports python ~/.claude/skills/session-search/search.py "from fastapi import" # Limit results python ~/.claude/skills/session-search/search.py "error" 10 ``` ## Output Returns matches with: - Session slug/ID and project path - Timestamp - Role (user/assistant) - Matching content with surrounding context - 1 message before/after for context Results are sorted by recency (newest first), limited to 20 by default.

What's inside
Steps it walks through
  1. Usage
  2. Examples
  3. Output
Ships with 1 file
  • metadata.json
Commands it runs
python ~/.claude/skills/session-search/search.py "pattern" [max_results]
Find sessions mentioning a specific function
python ~/.claude/skills/session-search/search.py "def parse_config"
Find discussions about a topic
python ~/.claude/skills/session-search/search.py "kubernetes|docker"
Find code with specific imports
python ~/.claude/skills/session-search/search.py "from fastapi import"
Limit results
python ~/.claude/skills/session-search/search.py "error" 10
More from claude-skill-registry
All skills →
About this skill
What does the session-search skill do?

Search through historical Claude sessions for code, conversations, and commands. Use when user asks about previous sessions, past conversations, "did I ever", "find in history", or wants to retrieve code/info from earlier chats.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill session-search-atondwal-config --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going