Skip to content
Back to skills

Glhf

ASecurity

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.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
toolsgobashdockergitdocumentation

Works with

  • claude code

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill glhf --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Glhf?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Glhf
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-glhf/badge)](https://www.skillsdirectory.com/skills/majiayu000-glhf)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: glhf
description: 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.
---

# glhf

Search your Claude Code conversation history using hybrid search (text + semantic).

## Quick Examples

```bash
# 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                              |
| ---------- | ------------------------------------ |
| `search`   | Find content across all sessions     |
| `session`  | View a specific session's content    |
| `related`  | Find sessions similar to a given one |
| `recent`   | List recent sessions                 |
| `projects` | List all indexed projects            |
| `status`   | Show index stats                     |
| `index`    | Rebuild the search index             |

## Key Search Flags

| Flag                | Purpose                                       |
| ------------------- | --------------------------------------------- |
| `--compact`         | One-line output, fewer tokens                 |
| `--mode semantic`   | Conceptual search (how to X, patterns)        |
| `--mode text`       | Exact keyword matching                        |
| `-t Bash`           | Filter by tool (Bash, Read, Edit, Grep, etc.) |
| `-p .`              | Filter to current project                     |
| `--since 1d`        | Time filter (1h, 2d, 1w, or date)             |
| `--errors`          | Only show error results                       |
| `--show-session-id` | Include session IDs for follow-up             |

## Recommended Patterns

**Find past solutions:**

```bash
glhf search "problem description" --mode semantic --compact
glhf search "specific keyword" --show-session-id --compact
glhf session <id> --summary
```

**Recall commands:**

```bash
glhf search "git rebase" -t Bash --compact
glhf search "cargo" -t Bash --since 1w --compact
```

**Find similar work:**

```bash
glhf recent -l 10
glhf related <session-id> --limit 5
```

**Debug past errors:**

```bash
glhf search "error" --errors --since 1d --compact
```

## Tips

1. **Always use `--compact`** - significantly reduces output tokens
2. **Use `--mode semantic`** for "how to" questions and conceptual searches
3. **Use `--mode text`** for exact keywords and error messages
4. **Chain commands**: search → get session ID → view summary → get full context
5. **Current project/session auto-excluded** when running inside Claude Code
6. **Use `-p .`** to filter to current project when you want to include it
7. **Use `glhf <command> --help`** for complete option documentation

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.