Claude-skill-registry glhf
Search Claude Code conversation history to find past solutions, recall commands, and discover related work. Use when looking for previous implementations, finding commands you ran before, or exploring what was done in past sessions.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/glhf" ~/.claude/skills/majiayu000-claude-skill-registry-glhf && rm -rf "$T"
manifest:
skills/data/glhf/SKILL.mdsource content
glhf
Search your Claude Code conversation history using hybrid search (text + semantic).
Quick Examples
# Find past solutions (semantic search) glhf search "authentication" --mode semantic --compact # Find commands you've run glhf search "docker" -t Bash --compact # Check recent sessions glhf recent -l 10 # Get session overview then dive deeper glhf session abc123 --summary glhf session abc123 --limit 50
Commands
| Command | Purpose |
|---|---|
| Find content across all sessions |
| View a specific session's content |
| Find sessions similar to a given one |
| List recent sessions |
| List all indexed projects |
| Show index stats |
| Rebuild the search index |
Key Search Flags
| Flag | Purpose |
|---|---|
| One-line output, fewer tokens |
| Conceptual search (how to X, patterns) |
| Exact keyword matching |
| Filter by tool (Bash, Read, Edit, Grep, etc.) |
| Filter to current project |
| Time filter (1h, 2d, 1w, or date) |
| Only show error results |
| Include session IDs for follow-up |
Recommended Patterns
Find past solutions:
glhf search "problem description" --mode semantic --compact glhf search "specific keyword" --show-session-id --compact glhf session <id> --summary
Recall commands:
glhf search "git rebase" -t Bash --compact glhf search "cargo" -t Bash --since 1w --compact
Find similar work:
glhf recent -l 10 glhf related <session-id> --limit 5
Debug past errors:
glhf search "error" --errors --since 1d --compact
Tips
- Always use
- significantly reduces output tokens--compact - Use
for "how to" questions and conceptual searches--mode semantic - Use
for exact keywords and error messages--mode text - Chain commands: search → get session ID → view summary → get full context
- Current project/session auto-excluded when running inside Claude Code
- Use
to filter to current project when you want to include it-p . - Use
for complete option documentationglhf <command> --help