← 返回 Skills 市场
Memory Cache
作者
azzar budiyanto
· GitHub ↗
· v1.1.9
2242
总下载
1
收藏
9
当前安装
11
版本数
在 OpenClaw 中安装
/install memory-cache
功能描述
High-performance temporary storage system using Redis. Supports namespaced keys (mema:*), TTL management, and JSON serialization for session context and API...
安全使用建议
This skill appears to do what it says: a Redis-backed cache accessed via a local Python script. Before installing, confirm: (1) REDIS_URL points to a trusted Redis instance (a misconfigured or public Redis can leak or accept data); (2) you understand that the skill will read a .env file and environment variables (do not store unrelated secrets there); (3) the script will create a .venv inside the skill directory and install packages from requirements.txt (no external downloads); (4) keys can be up to 512 MiB in value — avoid storing sensitive or large blobs unless intended. Also ask the publisher to fix the metadata mismatch (registry shows no required env vars while SKILL.md requires REDIS_URL) and to confirm the intended workspace path usage ($WORKSPACE). If you need tighter controls, restrict network access to the Redis host and avoid using the cache for secrets or long-term storage.
功能分析
Type: OpenClaw Skill
Name: memory-cache
Version: 1.1.9
The skill bundle provides a Redis-backed memory cache system. All code and documentation align with the stated purpose of a high-performance temporary storage system. The `SKILL.md` instructions do not contain any prompt injection attempts. The `scripts/cache_manager.py` script includes robust key validation, uses `scan_iter` for safe key scanning, and handles Redis connections securely via environment variables. The `scripts/cache.sh` script safely sets up a virtual environment and executes the Python script without introducing shell injection vulnerabilities. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or obfuscation. The dependencies are standard and appropriate for the functionality.
能力评估
Purpose & Capability
Name/description (Redis-backed cache with mema: namespace) aligns with the included Python script and shell helper. The functionality (set/get/scan/ttl/expire/ping) and declared dependencies (redis, python-dotenv, python3) are appropriate for the stated purpose.
Instruction Scope
SKILL.md instructs using a .env (env.example.txt) and running the provided cache_manager.py via python3 or scripts/cache.sh which creates a local virtualenv and installs requirements. The script loads environment variables (.env and the process environment) and only communicates with Redis; it does not contact external endpoints beyond the Redis server. Note: example command references $WORKSPACE path — runtime must ensure correct path mapping.
Install Mechanism
No remote downloads or arbitrary URLs; installation is local pip install -r requirements.txt performed by the provided script or by the SKILL.md metadata. Requirements are standard (redis, python-dotenv). The script will create a .venv directory inside the skill tree to install dependencies.
Credentials
The runtime requires REDIS_URL (and supports REDIS_HOST/PORT/PASSWORD/DB/timeouts), which is proportional to a Redis cache skill. However, top-level registry metadata lists no required env vars while SKILL.md metadata declares REDIS_URL — this mismatch should be clarified. The script reads .env and environment variables, so any secrets present in .env will be loaded.
Persistence & Privilege
always is false and model invocation is allowed (default), which is appropriate. The skill writes a local .venv but does not modify other skills or system-wide agent configurations. No elevated privileges or permanent always-on presence are requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install memory-cache - 安装完成后,直接呼叫该 Skill 的名称或使用
/memory-cache触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.9
Simplified implementation: removed wrapper script, declared dependencies clearly in metadata, and ensured full manifest inclusion. Addressed all audit flags.
v1.1.8
Ensured inclusion of env.example.txt and verified full manifest with scripts and metadata.
v1.1.7
Final manifest and metadata fix. Standardized script naming and env declaration.
v1.1.6
Addressed audit findings: corrected install metadata, declared python3 requirement, ensured env.example inclusion, and verified manifest.
v1.1.5
CRITICAL: Fixed metadata inconsistencies (id: node -> pip), declared python3 requirement, renamed wrapper to cache.sh for clarity, and verified full manifest inclusion.
v1.1.4
CRITICAL: Fixed manifest inclusion for all files by using .py and .txt extensions. All logic and docs verified.
v1.1.3
Final manifest fix: renamed scripts/cache to scripts/cache.py and included env.example.txt to ensure ClawHub inclusion.
v1.1.2
Ensured all files including env.example and scripts are in the manifest. Updated metadata.
v1.1.1
CRITICAL: Ensured inclusion of .env.example and verified manifest contents via isolated build.
v1.1.0
Addressed audit: added .env.example, explicitly included wrapper script (as cache.sh), and declared env dependencies in metadata.
v1.0.0
Initial release – high-performance temporary storage and context caching using Redis.
- Provides CLI tool for managing keys, values, TTLs, and Redis connectivity.
- Strict key naming convention enforced: mema:<category>:<name>.
- Supports categories for context, cache, state, and queue with recommended TTLs.
- Includes example usage and full command documentation.
- Returns specific exit codes for success, Redis errors, or invalid keys.
元数据
常见问题
Memory Cache 是什么?
High-performance temporary storage system using Redis. Supports namespaced keys (mema:*), TTL management, and JSON serialization for session context and API... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2242 次。
如何安装 Memory Cache?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install memory-cache」即可一键安装,无需额外配置。
Memory Cache 是免费的吗?
是的,Memory Cache 完全免费(开源免费),可自由下载、安装和使用。
Memory Cache 支持哪些平台?
Memory Cache 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Memory Cache?
由 azzar budiyanto(@1999azzar)开发并维护,当前版本 v1.1.9。
推荐 Skills