Agent skill
session-search
[DEPRECATED] Use /conversation-search instead — has date filtering, context windows, and structured extraction
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/session-search-itsmattg-property-tracker
SKILL.md
/session-search — Past Session Search (DEPRECATED)
Use
/conversation-searchinstead. It provides date filtering, context windows, and structured extraction. This skill is a simplified version kept for backward compatibility.
Search ~/.claude/projects/ for past session transcripts containing a keyword.
Usage
User provides: /session-search <keyword> (e.g., /session-search weekly rent)
Steps
-
Search session files:
bashgrep -rl "<keyword>" ~/.claude/projects/ --include="*.jsonl" | head -20 -
For each matching file, extract context:
bashgrep -n "<keyword>" <file> | head -5 -
Present results as a table:
Session File Matches Date (from filename/mtime) -
Offer to read specific sessions for more detail.
Notes
- Session files are JSONL format (one JSON object per line)
- Each line contains a message with role, content, and metadata
- Search is case-insensitive by default
- Limit to 20 files to avoid overwhelming output
- Files may be large — use grep line numbers to find specific context
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?