Agent skill

Hermes Search

by AlexAI-MCP in AlexAI-MCP/hermes-CCC

Search across past conversation sessions, memory files, and project history to recall what was discussed, decided, or built in previous sessions.

MITAuto-check passed

Install Hermes Search

skills CLI
$ npx skills add AlexAI-MCP/hermes-CCC --skill hermes-search -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AlexAI-MCP/hermes-CCC hermes-search --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AlexAI-MCP/hermes-CCC.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/hermes-search .claude/skills/hermes-search && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hermes-search
GitHub stars
135
Token cost
~1.5k tokens
SKILL.md length
507 words
Files
1
Skills in repo
44
Repo updated
First seen
Licence
MIT

At a glance

Search across past conversation sessions, memory files, and project history to recall what was discussed, decided, or built in previous sessions.

  • Works in 4 steps: ~/.claude/projects/*/memory/*.md — all… → ~/.claude/history.jsonl — conversation… → Project files under the current working… → …
  • SKILL.md covers Invocation, Subcommands, Output Format and What Gets Searched, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Hermes Search is an agent skill from AlexAI-MCP/hermes-CCC. Search across past conversation sessions, memory files, and project history to recall what was discussed, decided, or built in previous sessions.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Hermes Agent ported to Claude Code Channel — 46 native skills, no OAuth, no external process. The licence is MIT.

Example prompts

  • “/hermes-search”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. ~/.claude/projects/*/memory/*.md — all project memory files
  2. ~/.claude/history.jsonl — conversation history log (if accessible)
  3. Project files under the current working directory
  4. MEMORY.md index

What it can do on your machine

Read from SKILL.md and the folder at commit 8107e89. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hermes Search loads about 1.5k tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 507 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from AlexAI-MCP/hermes-CCC at commit 8107e89, republished under its MIT licence (© AlexAI-MCP). 507 words, ~1,477 tokens.

Download SKILL.mdSave it as .claude/skills/hermes-search/SKILL.md (or your agent's skills folder).
name
hermes-search
description
Search across past conversation sessions, memory files, and project history to recall what was discussed, decided, or built in previous sessions.
version
1.0.0
author
hermes-CCC (ported from Hermes Agent by NousResearch)
license
MIT

Search across past conversation sessions, memory files, and project files to recall what was discussed, decided, or built. This skill is the cross-session retrieval complement to hermes-compress, which writes the memory, and hermes-memory, which indexes it.

Invocation

/hermes-search "<query>"
/hermes-search --memory "<query>"
/hermes-search --project "<query>"
/hermes-search --recent <N>

Subcommands

/hermes-search "<query>" — Search All Memory

Searches all available memory sources in order:

  1. ~/.claude/projects/*/memory/*.md — all project memory files
  2. ~/.claude/history.jsonl — conversation history log (if accessible)
  3. Project files under the current working directory
  4. MEMORY.md index

Returns a unified result list sorted by relevance.

How Claude executes this:

bash
# Memory files
grep -r --include="*.md" -l "<query>" ~/.claude/projects/*/memory/

# Within matched files, extract surrounding context
grep -n -A 3 -B 3 "<query>" <matched-file>

# Project files (from cwd)
grep -r --include="*.md" --include="*.py" --include="*.ts" \
     --include="*.json" -l "<query>" .

# history.jsonl (if present)
grep "<query>" ~/.claude/history.jsonl | head -20

/hermes-search --memory "<query>" — Memory Files Only

Restricts search to ~/.claude/projects/*/memory/*.md. Faster and more focused. Use this when you know the information was captured in a previous session via hermes-compress or hermes-memory.

How Claude executes this:

bash
grep -r --include="*.md" -n -A 3 -B 3 "<query>" \
     ~/.claude/projects/*/memory/

Returns: file path, line number, and 3 lines of surrounding context per match.


/hermes-search --project "<query>" — Project Files Only

Restricts search to the current working directory. Useful for recalling where a piece of code or config lives.

How Claude executes this:

bash
grep -r --include="*.md" --include="*.py" --include="*.ts" \
     --include="*.js" --include="*.json" --include="*.yaml" \
     -n -l "<query>" .

Claude then reads the top 3 matched files and extracts the relevant sections.


/hermes-search --recent <N> — Recent N Sessions Summary

Lists and summarizes the most recent N session memory files.

How Claude executes this:

bash
ls -t ~/.claude/projects/*/memory/session_*.md | head -<N>

Claude reads each file and produces a one-line summary per session: [date] [project] — <top decision or artifact from that session>


Output Format

All subcommands return results in the following structure:

## Search Results: "<query>"
Source: --memory | --project | all
Query time: <timestamp>

### Match 1
- Source: ~/.claude/projects/ontology/memory/session_20260321_1430.md (line 47)
- Relevance: high
- Snippet:
  > decisions:
  >   - "Use Neo4j as primary graph store for ontology nodes"  ← MATCH
  >   - "REST API over gRPC for external integrations"

### Match 2
- Source: ./AlexAI/api/routes.py (line 12)
- Relevance: medium
- Snippet:
  > # Neo4j connection pool config  ← MATCH
  > driver = GraphDatabase.driver(uri, auth=(user, pw), max_connection_pool_size=20)

---
Total matches: 2 | Searched: 14 files

Relevance scoring (heuristic):

  • High: exact phrase match in a decisions or facts_learned block
  • Medium: keyword match in a session file body or code comment
  • Low: keyword match in a filename or metadata field

What Gets Searched

SourcePath patternFormat
Session summaries~/.claude/projects/*/memory/session_*.mdYAML/Markdown
Memory index~/.claude/projects/*/memory/MEMORY.mdMarkdown
Honcho profiles~/.claude/projects/*/memory/user_honcho_profile.mdYAML/Markdown
Project source files./**/*.{md,py,ts,js,json,yaml}Any
History log~/.claude/history.jsonlJSONL (if accessible)

Show full SKILL.md (217 more words)Show less

Handling Missing Sources

  • If ~/.claude/history.jsonl does not exist or is not readable, Claude skips it and notes: "history.jsonl not accessible — searching memory files only."
  • If no memory files exist, Claude reports: "No memory files found. Run /hermes-compress after a session to start building memory."
  • If project files return too many matches (>50), Claude limits output to the top 10 by file modification date (most recent first).

This skill is the Claude Code equivalent of Hermes Agent's full-text search over its SQLite session store (using SQLite FTS5). In Hermes, /search <query> performs a ranked FTS5 query over all session message content. In hermes-CCC, the equivalent is grep-based search over the Markdown memory files written by hermes-compress. The result schema (source, relevance, snippet) mirrors the Hermes search output contract.

For projects that generate large volumes of session memory, consider building a local SQLite FTS5 index over the memory files using the hermes-memory skill's index-build subcommand.


Notes

  • Search is case-insensitive by default. Add --case-sensitive flag to override.
  • Queries containing spaces should be quoted: /hermes-search "Neo4j connection pool".
  • /hermes-search does not modify any files. It is always read-only.
  • Results are printed to the conversation; they are not automatically written to memory. If a search result is important, follow up with /hermes-memory add to pin it.

© AlexAI-MCP, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/hermes-search of AlexAI-MCP/hermes-CCC.

Open the folder on GitHubat commit 8107e89

Compare with similar skills

Hermes Search next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hermes Search compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hermes Search this skillAlexAI-MCP/hermes-CCC135—~1.5kAutomated safety check: PassMIT
Session History Searchslopus/happy24k—~3.1kAutomated safety check: PassMIT
Hermes Importsaffaan-m/ECC276k—~324Automated safety check: PassMIT
Session Handoffsickn33/agentic-awesome-skills47k—~1.8kAutomated safety check: NotesMIT
Coding Agent Session Findercode-yeongyu/oh-my-openagent70k—~2.8kAutomated safety check: PassCustom licence
Session Persistruvnet/ruflo74k—~415Automated safety check: NotesMIT

Similar skills

  • Searches past Claude Code, Codex and Cursor sessions and summarizes what was worked on, tried or decided, using extraction scripts instead of reading raw logs.

    24k GitHub stars~3.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Hermes Imports

    affaan-m/ECC

    将本地 Hermes 操作员工作流转换为经过清理的 ECC 技能和发布包工件。在准备将 Hermes 工作流用于公共 ECC 重用而不泄露私有工作区状态、凭据或仅本地路径时使用。

    276k GitHub stars~324 tokensUpdated yesterday
    Auto-check passed
  • Session Handoff

    sickn33/agentic-awesome-skills

    A skill your agent uses when context approaches capacity, before /clear or /compact, when switching tasks, or when ending a coding session: produces a structured handoff artifact for the next session.

    47k GitHub stars~1.8k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check: notes
  • Coding Agent Session Finder

    code-yeongyu/oh-my-openagent

    Finds, reads and reconstructs past coding-agent sessions across Codex, Claude, OpenCode, Senpi and many other local agent logs.

    70k GitHub stars~2.8k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Session Persist

    ruvnet/ruflo

    Persist and restore agent sessions across conversations with state snapshots

    74k GitHub stars~415 tokensUpdated yesterday
    Auto-check: notes
  • Session

    anthropics/claude-for-legal

    Official

    Run a focused N-question study session on a subject — MBE, essay, or flashcards.

    9.6k GitHub starsUsed in 3 repos~478 tokens
    EducationAuto-check passed

More from AlexAI-MCP/hermes-CCC

All 44 skills in this repo
  • GitHub Code Review

    AlexAI-MCP/hermes-CCC

    Review GitHub pull requests with a findings-first engineering mindset.

    135 GitHub stars~1.3k tokensUpdated 6 mo ago
    Auto-check passed
  • GitHub PR Workflow

    AlexAI-MCP/hermes-CCC

    Run a disciplined GitHub pull request workflow from branch creation through merge.

    135 GitHub stars~1.4k tokensUpdated 6 mo ago
    Auto-check passed
  • Hermes Memory

    AlexAI-MCP/hermes-CCC

    Manage durable project memory for Claude Code. An agent skill from AlexAI-MCP/hermes-CCC.

    135 GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Hermes Route

    AlexAI-MCP/hermes-CCC

    Route Claude Code work by complexity, risk, and tool needs. An agent skill from AlexAI-MCP/hermes-CCC.

    135 GitHub stars~1.9k tokensUpdated 6 mo ago
    Auto-check passed
  • Hermes Skill

    AlexAI-MCP/hermes-CCC

    Create, improve, inventory, and audit Claude Code skills. An agent skill from AlexAI-MCP/hermes-CCC.

    135 GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Hermes Traj

    AlexAI-MCP/hermes-CCC

    Capture Claude Code interaction trajectories in training-friendly formats.

    135 GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed

Questions about Hermes Search

What does Hermes Search do?

Search across past conversation sessions, memory files, and project history to recall what was discussed, decided, or built in previous sessions. Hermes Search is an agent skill from AlexAI-MCP/hermes-CCC. Search across past conversation sessions, memory files, and project history to recall what was discussed, decided, or built in previous sessions.

How do I install Hermes Search in Claude Code?

Run `npx skills add AlexAI-MCP/hermes-CCC --skill hermes-search -a claude-code`. Or copy the skill folder (skills/hermes-search in AlexAI-MCP/hermes-CCC) into .claude/skills/hermes-search in your project. Claude Code loads it when a task matches its description.

How do I install Hermes Search in Codex?

Run `npx skills add AlexAI-MCP/hermes-CCC --skill hermes-search -a codex`. Or copy the skill folder (skills/hermes-search in AlexAI-MCP/hermes-CCC) into .agents/skills/hermes-search in your project. Codex loads it when a task matches its description.

Can I use Hermes Search in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AlexAI-MCP/hermes-CCC --skill hermes-search -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hermes-search, .gemini/skills/hermes-search, .github/skills/hermes-search and .opencode/skills/hermes-search in your project.

What does Hermes Search need to run?

SKILL.md names no scripts, command-line tools or credentials: Hermes Search is instructions for the agent only.

Does Hermes Search access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Hermes Search safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Hermes Search use?

Hermes Search is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hermes Search use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Hermes Search?

Skills that share tags, products or a category with Hermes Search: Session History Search (slopus/happy, 24k stars), Hermes Imports (affaan-m/ECC, 276k stars), Session Handoff (sickn33/agentic-awesome-skills, 47k stars) and Coding Agent Session Finder (code-yeongyu/oh-my-openagent, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hermes Search?

AlexAI-MCP (a GitHub user) maintains it in AlexAI-MCP/hermes-CCC, which has 135 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on April 8, 2026.

Source: AlexAI-MCP/hermes-CCC on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.