← Back to Skills Marketplace
MidOS Memory Cascade
by
msruruguay
· GitHub ↗
· v1.0.0
391
Downloads
0
Stars
2
Active Installs
2
Versions
Install in OpenClaw
/install midos-memory-cascade
Description
Auto-escalating multi-tier memory search that cascades from in-memory cache through SQLite, grep, and LanceDB vector search to find the best answer with mini...
Usage Guidance
This skill appears to be what it claims: a local multi-tier memory retriever. Before installing or enabling it broadly, check the following:
- Search memory_cascade.py for subprocess or os.system calls (especially to 'rg', 'ripgrep', or other binaries). If it shells out to external binaries, the manifest should list them as required and you should ensure those binaries are trusted.
- Search the file for any network-related imports or calls (e.g., requests, http.client, hive_commons/LanceDB client usage). If LanceDB is used against a remote host, confirm how the host/credentials are provided and whether the skill would transmit query data externally.
- Confirm the DB and filesystem paths (ROOT/knowledge/SYSTEM/pipeline_synergy.db and knowledge/SYSTEM/*.json and knowledge/SYSTEM/cascade_stats.json) point to directories you expect and do not contain sensitive system data you don't want the skill reading.
- Review optional dependencies (hive_commons, tools.memory.memory_router) before installing them; they could introduce additional network or credential requirements.
- Consider running the skill in a sandboxed environment first (or with reduced data) to observe behavior (what files it reads, whether it spawns processes, and whether it attempts outbound connections).
If you want, I can scan the full memory_cascade.py for subprocess/network calls and list the exact code locations that warrant review.
Capability Analysis
Type: OpenClaw Skill
Name: midos-memory-cascade
Version: 1.0.0
The skill implements a multi-tier memory search system but contains a hardcoded absolute file path pointing to a specific local user directory ('C:/Users/Leandro/...') in memory_cascade.py, which is a significant indicator of poor vetting or environment-specific targeting. It also utilizes subprocess.run to execute 'grep' for its T4 search tier; while it avoids direct shell injection by passing arguments as a list, the reliance on external system binaries and the ability to write to various local directories (json_state, hook_state, logs) via the store() function presents an elevated risk profile for an automated agent.
Capability Assessment
Purpose & Capability
The name/description match the code: this is a multi-tier memory cascade that checks an in-memory cache, JSON state files, SQLite, keyword/FTS, a grep fallback, and LanceDB-backed searches. The declared requirements (no env vars or binaries required) are mostly consistent with the described stdlib-first design, but the documentation explicitly mentions 'ripgrep' (T4) and LanceDB tiers (T5/T5b). If the implementation invokes the 'rg' binary or other external tools, the manifest should have listed that binary as required; conversely, if grep is implemented in Python, the documentation may be overstating the external dependency. Overall capability matches purpose, with a minor documentation vs. manifest mismatch to confirm.
Instruction Scope
SKILL.md and the code indicate the skill will read and write local files: it reads pipeline_synergy.db (ROOT/knowledge/SYSTEM/...), iterates SYSTEM_DIR JSON files, and writes cascade_stats.json. The API includes store() which writes to a docs/patterns/ (staging) area. These behaviors are consistent with a memory system, but they do involve filesystem reads/writes under the repository's parent directories; verify those paths point only to data you expect. Also confirm whether the T4/T5 tiers call external processes or remote services (LanceDB) — the runtime instructions route queries to semantic search and mention optional packages, so network access is plausible even though no network credentials are requested.
Install Mechanism
There is no install spec (no remote downloads), and the package is delivered as source code in the skill bundle. This is lower risk than an arbitrary installer URL. The code relies on stdlib for core tiers; optional third-party packages are named but not required at install time.
Credentials
The skill declares no required environment variables, secrets, or primary credential. The described functionality (local cache, JSON, SQLite, optional LanceDB) can operate without credentials in many deployments. Note: if LanceDB is remote/hosted, it may require credentials outside the skill; the skill does not request them, so double-check how LanceDB connections are configured in your environment before use.
Persistence & Privilege
always is false and the skill persists only its own stats to knowledge/SYSTEM/cascade_stats.json and writes via store() to its own docs/staging area. It does not request system-wide or other-skills configuration modification. The agent will be able to invoke it autonomously (default), which is normal for skills; no elevated 'always:true' privilege is present.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install midos-memory-cascade - After installation, invoke the skill by name or use
/midos-memory-cascade - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Memory cascade system: multi-tier SQLite storage, decay scoring, contextual routing
v1.0.2
midos-memory-cascade 1.0.2
- Improved SKILL.md with detailed documentation on architecture, tiered routing, self-tuning shortcuts, and comparison tables.
- Clearly describes the 5-tier memory system, confidence thresholds, and shortcut/skip learning mechanisms.
- Provides comprehensive usage patterns, integration tips, and configuration options.
- Added diagnostics section for monitoring shortcuts and tier skips.
- No code/API changes noted; this update focuses on documentation clarity and onboarding.
Metadata
Frequently Asked Questions
What is MidOS Memory Cascade?
Auto-escalating multi-tier memory search that cascades from in-memory cache through SQLite, grep, and LanceDB vector search to find the best answer with mini... It is an AI Agent Skill for Claude Code / OpenClaw, with 391 downloads so far.
How do I install MidOS Memory Cascade?
Run "/install midos-memory-cascade" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is MidOS Memory Cascade free?
Yes, MidOS Memory Cascade is completely free (open-source). You can download, install and use it at no cost.
Which platforms does MidOS Memory Cascade support?
MidOS Memory Cascade is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created MidOS Memory Cascade?
It is built and maintained by msruruguay (@msruruguay); the current version is v1.0.0.
More Skills