Lossless memory for Hermes Agent: every turn kept in a local store, not compacted away, and searchable by your agent.
# Add to your Claude Code skills
git clone https://github.com/electricsheephq/lcm-xGuides for using ai agents skills like lcm-x.
See how lcm-x compares with popular alternatives.
lcm-x is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by electricsheephq. Lossless memory for Hermes Agent: every turn kept in a local store, not compacted away, and searchable by your agent. It has 557 GitHub stars.
lcm-x's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/electricsheephq/lcm-x" and add it to your Claude Code skills directory (see the Installation section above).
lcm-x is primarily written in Python. It is open-source under electricsheephq on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh lcm-x against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.

Lossless memory for Hermes Agent: every turn kept in a local store, not compacted away, and searchable by your agent. Watch the demo
https://github.com/user-attachments/assets/c215bf7f-e8c8-428f-9510-ba1da3571f53
hermes plugins install hermes-lcm-x --enable
hermes config set context.engine lcm-x
This installs the version the Hermes catalog currently pins, which can trail the latest release by a few days (see catalog payload). The default local setup needs no API key; optional cloud embeddings and Voyage reranking use configured provider keys (see embeddings setup). The first line installs and enables the plugin; the second selects it as the context engine (both checked on a clean Hermes 0.23.0 home). Restart Hermes afterwards.
The plugin has two names:
hermes-lcm-xlcm-xBoth must be configured. The two commands above write this; you can also edit the config by hand:
plugins:
enabled:
- hermes-lcm-x
context:
engine: lcm-x
Restart Hermes after changing plugin or context-engine config.
For Claude Code, use LCM-X for Claude Code, which we recommend for every Claude Code user on macOS
and Linux. It captures your Claude Code sessions into their own local, lossless store and gives the
agent the same five recall tools. Download the asset from the newest
release titled
LCM-X for Claude Code
(these releases are never marked Latest, which stays with the Hermes plugin), unpack it, and start Claude Code
with claude --plugin-dir <unpacked folder>; the steps are in the release notes and in
its README. The read-only server under
Use LCM-X memory from Claude Code is a different
thing: it reads a Hermes profile's store from Claude Code.
lcm_status.Bounded context, unbounded memory. Nothing is ever lost.
Two opt-ins discard content by design: durable sensitive-pattern redaction (LCM_SENSITIVE_PATTERNS_ENABLED) and message ignore patterns (LCM_IGNORE_MESSAGE_PATTERNS); the operator's /lcm doctor clean apply deletes on purpose (off by default, takes a backup first). Sessions matched by LCM_IGNORE_SESSION_PATTERNS or LCM_STATELESS_SESSION_PATTERNS (both empty by default) are not stored at all.
Benchmark highlights (OmniMemEval, contributor-run, accepted upstream)
| Benchmark | LCM-X | Placement |
|---|---|---|
| BEAM 100K | 71.84 | 1st of 12 |
| BEAM 10M | 63.32 | 1st of 12 |
| LongMemEval | 87.00 | 2nd of 13 |
| LoCoMo | 78.83 | 5th of 15 |
| HaluMem | 81.68 | 5th of 13 |
| PersonaMem v2 | 33.96 | 8th of 13 |
Configuration, evidence and disclosures: benchmarks/RESULTS.md.
LCM-X replaces one-shot active-context compression with a SQLite-backed, DAG-based context engine. It keeps the live prompt bounded, preserves raw messages, and gives the agent tools to recover exact detail after compaction. The promise says exactly what "nothing is ever lost" covers; known exceptions are bugs against it, listed in the latest release's Known issues.
The project name is LCM-X. From v0.24.0 the plugin is named
hermes-lcm-x and the runtime context engine lcm-x
(#471); this is a
breaking change for existing installs — see
Migrating from hermes-lcm.
Unchanged: lcm.db, the lcm: config block, LCM_* environment variables,
the lcm_* tools, /lcm, and the bundled skill name hermes-lcm.
Based on the LCM paper by Ehrlich & Blackman (Voltropy PBC, Feb 2026). Inspired by lossless-claw for OpenClaw. For an interactive visualization of the LCM idea, see losslesscontext.ai. Project site: losslesscontext.com.
What we are building and why: VISION.md. What ships when: ROADMAP.md and the tracker #658.
Hermes Agent's built-in compressor is a practical continuity layer: when the
prompt crosses its configured threshold, it prunes older tool results, asks an
auxiliary model to summarize the middle/older conversation, and rebuilds the
active prompt from that summary plus a protected recent tail. The original
session rows can still live in Hermes state.db and remain searchable through
host tools such as session_search, but the model's active context no longer
contains the compacted turns verbatim or a structured drill-down path back to
them.
LCM-X instead:
Nothing is lost in normal operation. Raw messages stay recoverable in bounded
pages, summaries retain source lineage, and oversized externalized payloads keep
stable refs for later expansion.
Two opt-ins discard content by design: durable sensitive-pattern redaction (LCM_SENSITIVE_PATTERNS_ENABLED) and message ignore patterns (LCM_IGNORE_MESSAGE_PATTERNS); the operator's /lcm doctor clean apply deletes on purpose (off by default, takes a backup first). Sessions matched by LCM_IGNORE_SESSION_PATTERNS or LCM_STATELESS_SESSION_PATTERNS (both empty by default) are not stored at all.
Core capabilities:
lcm_grep, lcm_recall, lcm_query_state, lcm_compute, lcm_compile_evidence, lcm_evidence_pack, lcm_retrieve, lcm_recent, lcm_load_session,
lcm_describe, lcm_expand, lcm_expand_query, lcm_status, lcm_inspect,
lcm_doctor, and the opt-in lcm_memory