Agent Skills
› mage0535/hermes-memory-installer
› memory-proactive
memory-proactive
GitHub提供基于本地存储的主动式上下文召回与领域路由能力。通过分层注入近期会话、治理对象及知识笔记,并结合轻量级领域分类助手,实现跨运行时的可移植记忆检索与隔离。
Trigger Scenarios
需要增强 Agent 上下文感知时
进行多领域记忆分离或路由时
Install
npx skills add mage0535/hermes-memory-installer --skill memory-proactive -g -y
SKILL.md
Frontmatter
{
"name": "memory-proactive",
"description": "Proactive layered recall and generic domain-aware routing."
}
Memory Proactive
This skill describes the current proactive recall surfaces that remain useful in the local repository.
Layered Context Injection
Primary engine: tiered_context_injector.py
It combines multiple recall paths before the next interaction:
- recent session recall from shared SQLite state
- governance-backed object and hub recall
- knowledge note recall
- optional live Hindsight recall when the query profile needs it
Example:
python3 scripts/tiered_context_injector.py --query "user preferences"
Useful knobs:
--min-score 0.3--max-results 10--recall "project status" "system config"--domains project,stock
Generic Domain Routing
Helper: domain_memory.py
This is a lightweight legacy helper for splitting local memory into generic domains so one topic does not crowd out everything else.
Example domains:
projectstocksystemmarketingrelationshipgeneral
Example:
python3 scripts/domain_memory.py check project "Milestone planning note"
python3 scripts/domain_memory.py status
Guidance
- use generic domains, not user- or project-specific hardcoded labels
- keep recall queries portable across agent runtimes
- treat this skill as an optional helper layer, not a required production contract
Version History
- cf22e8b Current 2026-07-05 14:36


