memory-proactive

memory-proactive is a skill for Claude Code, Codex from mage0535/hermes-memory-installer. It costs 14 tokens per session (309 once invoked), scanned A, original, MIT.

A local memory system that recalls relevant past information before the next interaction. It combines recent sessions, stored knowledge, governance records, and optional live recall, then groups information into broad domains such as projects or systems.

In plain words
What is it for?
Use it to retrieve user preferences, project status, system details, and other stored context with score limits, result limits, and domain filters.
Why use it?
It reduces the chance that useful context is missed or that one topic crowds out another. It helps keep recall queries portable across different projects and subjects.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/tiered_context_injector.py --query "user preferences".

Good fit Use it to retrieve user preferences, project status, system details, and other stored context with score limits, result limits, and domain filters.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/mage0535/hermes-memory-installer
agentmods
npx agentmods add skills/mage0535/hermes-memory-installer/memory-proactive

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for memory-proactive

README.md
[![agentmods](https://agentmods.dev/badge/skills/mage0535/hermes-memory-installer/memory-proactive/github.svg)](https://agentmods.dev/skills/mage0535/hermes-memory-installer/memory-proactive)
Your own site
<a href="https://agentmods.dev/skills/mage0535/hermes-memory-installer/memory-proactive"><img src="https://agentmods.dev/badge/skills/mage0535/hermes-memory-installer/memory-proactive/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for memory-proactive

Your own site · 80×15
<a href="https://agentmods.dev/skills/mage0535/hermes-memory-installer/memory-proactive"><img src="https://agentmods.dev/badge/skills/mage0535/hermes-memory-installer/memory-proactive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 309 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.00309
Opus 5.5 $0.00006 $0.00124
Sonnet 5.5 $0.00003 $0.00062
Haiku 4.5 $0.00001 $0.00031

Measured 1mo ago against content hash 0fd81a349652, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

memory-proactive scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/memory-proactive/SKILL.md · 64 lines

What it actually says

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:

  • project
  • stock
  • system
  • marketing
  • relationship
  • general

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
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 64 lines · 14 tokens per session scan A 0fd81a349652

Subscribe to this mod's changes

memory-proactive is a skill published in the GitHub repository mage0535/hermes-memory-installer (211 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 309 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

engraphis-memory

Give the agent durable, scoped, explainable memory across sessions and repositories through the Engraphis MCP tools. Use when you learn a convention, decision, bug cause/fix, or user preference worth keeping; when prior context would help before you answer or act (to avoid re-asking or re-deriving); when asked "why is…

Coding-Dev-Tools/engraphis · 134 tokens

ori-memory

Persistent agent memory with learning retrieval. Knowledge graph on markdown files — capture insights, decisions, research, and learnings during work, then retrieve them weeks or months later. Use when knowledge is too valuable to lose but too much to inject into every prompt.

aayoawoyemi/Ori-Mnemos · 54 tokens

lemmalog

Externalize working memory and logical state into the lemmalog Datalog engine (MCP). Use for ANY multi-step task where state should outlive one context window or span agents: long investigations, debugging sessions, audits, multi-agent searches, systematic explorations, planning with many interdependent constraints…

JordyZomer/lemmalog · 105 tokens

agent-recall

Persistent compounding memory for AI agents. 5 default MCP tools: sessionstart, sessionend, remember, recall, check. Full surface: 6 tools with --full (adds checkaction); 13 tools with AREXTRAS=1 --full. Two-verb model: inhale (sessionstart) and exhale (sessionend). Correction-first memory with decision trail…

Goldentrii/AgentRecall-X · 172 tokens

graft

Persistent graph memory shared across conversations and agents. Graft is a prompter, not a cache: it hands you notes that may be close to the problem in front of you, and a close note is already a win - it gives you a starting point and reminds you what was decided before. Search it before non-trivial work, and write…

AEndrix03/Graft · 196 tokens

memory-audit

Maintenance pass + health check of the graft graph. Runs the graft maintain loop: checks what is due, applies the mechanical cleanup, then adjudicates every maintenance candidate (near duplicates, supersessions, contradictions, memories whose source file changed or disappeared, keyword variants, stale low-value notes)…

AEndrix03/Graft · 144 tokens