memory-proactive
GitHub提供主动式分层上下文注入与通用领域路由功能。通过 tiered_context_injector.py 结合近期会话、治理对象及知识笔记进行多维召回;利用 domain_memory.py 按领域划分记忆以避免干扰,支持可选的轻量级辅助层。
触发场景
安装
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
版本历史
- cf22e8b 当前 2026-07-05 14:36


