← 返回 Skills 市场
msruruguay

MidOS Memory Cascade

作者 msruruguay · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
391
总下载
0
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install midos-memory-cascade
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /midos-memory-cascade 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug midos-memory-cascade
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 2
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 391 次。

如何安装 MidOS Memory Cascade?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install midos-memory-cascade」即可一键安装,无需额外配置。

MidOS Memory Cascade 是免费的吗?

是的,MidOS Memory Cascade 完全免费(开源免费),可自由下载、安装和使用。

MidOS Memory Cascade 支持哪些平台?

MidOS Memory Cascade 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 MidOS Memory Cascade?

由 msruruguay(@msruruguay)开发并维护,当前版本 v1.0.0。

💬 留言讨论