alexai-mcp/hermes-ccc/hermes-search
Claude Code and agent skill by alexai-mcp/hermes-ccc
- community
Checking that the SKILL.md file is still in the repository.
Search across past conversation sessions, memory files, and project history to recall what was discussed, decided, or built in previous sessions.
Install
npx vskill@latest install alexai-mcp/hermes-ccc/hermes-searchSKILL.md
hermes-search
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
Subcommands
/hermes-search "<query>" — Search All Memory
Searches all available memory sources in order:
~/.claude/projects/*/memory/*.md— all project memory files~/.claude/history.jsonl— conversation history log (if accessible)- Project files under the current working directory
MEMORY.mdindex
Returns a unified result list sorted by relevance.
How Claude executes this:
/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:
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:
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:
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:
Relevance scoring (heuristic):
- High: exact phrase match in a
decisionsorfacts_learnedblock - Medium: keyword match in a session file body or code comment
- Low: keyword match in a filename or metadata field
What Gets Searched
| Source | Path pattern | Format | |
|---|---|---|---|
| Session summaries | ~/.claude/projects/*/memory/session_*.md | YAML/Markdown | |
| Memory index | ~/.claude/projects/*/memory/MEMORY.md | Markdown | |
| Honcho profiles | ~/.claude/projects/*/memory/user_honcho_profile.md | YAML/Markdown | |
| Project source files | ./**/*.{md,py,ts,js,json,yaml} | Any | |
| History log | ~/.claude/history.jsonl | JSONL (if accessible) |
Handling Missing Sources
- If
~/.claude/history.jsonldoes 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-compressafter 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).
Relationship to Hermes FTS5 Session Search
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-sensitiveflag to override. - Queries containing spaces should be quoted:
/hermes-search "Neo4j connection pool". /hermes-searchdoes 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 addto pin it.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/hermes-search/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/alexai-mcp/hermes-ccc/hermes-search)