by 410979729
Hermes scoped memory provider with SQLite truth, LanceDB semantic recall, and nightly workflow digest.
# Add to your Claude Code skills
git clone https://github.com/410979729/scope-recall-hermesGuides for using ai agents skills like scope-recall-hermes.
Last scanned: 6/17/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-06-17T09:02:41.674Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}scope-recall-hermes is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by 410979729. Hermes scoped memory provider with SQLite truth, LanceDB semantic recall, and nightly workflow digest. It has 100 GitHub stars.
Yes. scope-recall-hermes passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/410979729/scope-recall-hermes" and add it to your Claude Code skills directory (see the Installation section above).
scope-recall-hermes is primarily written in Python. It is open-source under 410979729 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 scope-recall-hermes against similar tools.
No comments yet. Be the first to share your thoughts!
Hermes current-turn memory provider with journal-first semantic capture, durable recall, SQLite truth storage, and optional vector companions
Give Hermes durable memory that can follow the same user across windows/chats while keeping local scratch context from bleeding into the wrong place.
Current-turn recall · Journal-first capture · Durable shared memory · Background digest · Local scratch scopes · SQLite truth · LanceDB/SQLite companion · Hybrid RRF retrieval
scope-recall is a Hermes local memory provider built for current-turn recall and durable semantic memory. Durable user/project/ops/memory facts are shared across windows/chats for the same user + agent identity; raw general turn captures stay local to the current chat/thread/session.
This repository, scope-recall-hermes, is the Hermes implementation. The Python distribution package is hermes-scope-recall, the Python import/package spelling is scope_recall, and the Hermes plugin ID/provider name remains scope-recall for runtime compatibility. The OpenClaw sibling implementation lives at scope-recall-openclaw.
Version 1.3.0 continues the stable V1 release line for the documented interfaces and adds scope_recall_profile, a compact high-level profile/context surface for durable user/memory/project/ops rows, optional local general scratch, and live Hermes curated memory files. It keeps compression-boundary journal staging through Hermes' on_pre_compress() memory-provider hook, preserves surrounding user text when gateway image attachment markers appear inline, keeps the supported standalone install shape added in v1.1.0, and retains native-safe LanceDB probing with automatic SQLite vector fallback for non-AVX hosts.
It uses a three-layer design:
sqlite-bruteforce for native-free/non-AVX hostsThis replaces the old lancepro naming, which was misleading because the earlier implementation was SQLite-only.
user, memory, project, and ops facts can follow the same user + agent identity across windows/chats, and can cross platforms only when explicit canonical identity mapping is configured.user/memory/project/ops rows enter durable recall and vector sync.local-hash keeps no-key bootstrap available.scope-recall is the local per-Hermes recall layer. In multi-agent deployments that already run a central shared backend such as PostgreSQL, keep that backend as the cross-agent source of truth and connect it to scope-recall through explicit import/export/tool boundaries.
The V1 shape is intentionally simple:
user/memory/project/ops facts can be bridged deliberately across systems.general scratch, raw system/tool output, and plaintext secret values stay outside durable recall; explicit scope_recall_store_secret_index rows may store only searchable credential indexes such as service/account/purpose/vault references and non-reversible fingerprints.For external shared-memory bridge guidance, see docs/external-shared-memory.md.
By default, durable shared scope remains platform-isolated: platform + agent_workspace + agent_identity + user_id. To let the same human recall durable rows across Telegram, CLI, Feishu, or another gateway, configure an explicit canonical identity map in $HERMES_HOME/scope-recall/config.json:
{
"identity": {
"cross_platform_shared_scope": true,
"cli_user_id_fallback": "local",
"user_aliases": {
"telegram:8176453077": "joy",
"cli:local": "joy",
"feishu:ou_xxx": "joy"
}
}
}
Only durable targets (user, memory, project, ops) use the canonical shared scope. general scratch, raw journal evidence, chat/thread/session context, and tool traces remain local. Existing platform-specific durable rows stay readable through query-time aliases before any explicit migration. Newly written rows keep raw_platform, raw_user_id, and mapped canonical_user metadata for auditability.
For capture, journal, or nightly digest LLM providers whose chat-completions endpoint is not base_url + /v1/chat/completions, set either a full endpoint or disable /v1 appending:
{
"journal": {
"endpoint": "https://ark.cn-beijing.volces.com/api/coding/v3/chat/completions",
"append_v1": false
}
}
For scripts/nightly-digest.py, the same behavior is available through --endpoint or --no-append-v1.
Most agent memory pain is not just "wrong memory was recalled". The bigger user-facing failure is often "the agent forgot everything when I opened a new window." scope-recall therefore separates durable facts from local scratch context:
scope-recall is built around a simple rule:
Recall the relevant durable memory for the current query, while keeping local scratch context inside the current runtime scope.
You: "For this memory-provider project, SQLite is the source of truth."
(later, in another window/chat)
Agent: "I don't have that context here." ❌
You: "What did we decide for this Hermes memory provider?"
Agent: recalls the durable project memory from SQLite truth/vector companion and answers from the relevant context. ✅
Group A: "Temporary note: restart this group's test bot only."
(later, in Group B)
Agent: applies Group A's temporary note in Group B. ❌
scope-recall keeps that temporary general scratch row local while still sharing durable user/memory/project/ops facts.
| Area | What scope-recall V1 provides |
|---|---|
| Current-turn recall | prefetch(query) retrieves against the active user query; queue_prefetch() is intentionally a no-op |
| Storage authority | SQLite is the durable truth; vector backends are rebuildable companion state |
| Hybrid retrieval | SQLite lexical/FTS/BM25 candidates + configured vector companion candidates + RRF reranking + bounded prompt rendering |
| Entity/context layer | SQLite entity index, entity probe/related tools, compact query context, compact profile/context surface, trust feedback |
| Background digest | Profile-scoped journal/nightly consolidation for durable facts, workflow summaries, and sanitized tool-chain evidence |
| Memory scope model | shared durable scope for user/project/ops/memory facts; local scope for general scratch captures |
| Built-in memory integration | Hermes curated USER.md / MEMORY.md are live-read, not mirrored into SQLite. In gateway contexts with an explicit user_id, curated-file recall is opt-in/allowlisted to avoid cross-user leakage from global profile files. |
| Governance | deterministic exact dedupe, conservative near-duplicate merge, filtering, metadata, decay review |
| Migration | local lancepro auto-migration; OpenClaw memory-lancedb-pro import is explicit |
| Offline bootstrap | deterministic local-hash fallback when hosted embeddings are unavailable |
scope-recall works as a standalone Hermes memory provider. You can install only this plugin and get scoped current-turn recall, SQLite truth storage, configured vector companion retrieval, and local scratch isolation.
For stric