返回顶部
m

memory-cache

High-performance temporary storage system using Redis. Supports namespaced keys (mema:*), TTL management, and session context caching. Use for: (1) Saving agent state, (2) Caching API results, (3) Sharing data between sub-agents.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.9
安全检测
已通过
2,160
下载量
1
收藏
概述
安装方式
版本历史

memory-cache

# Memory Cache Standardized Redis-backed caching system for OpenClaw agents. ## Prerequisites - **Binary**: `python3` must be available on the host. - **Credentials**: `REDIS_URL` environment variable (e.g., `redis://localhost:6379/0`). ## Setup 1. Copy `env.example.txt` to `.env`. 2. Configure your connection in `.env`. 3. Dependencies are listed in `requirements.txt`. ## Core Workflows ### 1. Store and Retrieve - **Store**: `python3 $WORKSPACE/skills/memory-cache/scripts/cache_manager.py set mema:cache:<name> <value> [--ttl 3600]` - **Fetch**: `python3 $WORKSPACE/skills/memory-cache/scripts/cache_manager.py get mema:cache:<name>` ### 2. Search & Maintenance - **Scan**: `python3 $WORKSPACE/skills/memory-cache/scripts/cache_manager.py scan [pattern]` - **Ping**: `python3 $WORKSPACE/skills/memory-cache/scripts/cache_manager.py ping` ## Key Naming Convention Strictly enforce the `mema:` prefix: - `mema:context:*` – Session state. - `mema:cache:*` – Volatile data. - `mema:state:*` – Persistent state.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 memory-cache-1776420081 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 memory-cache-1776420081 技能

通过命令行安装

skillhub install memory-cache-1776420081

下载 Zip 包

⬇ 下载 memory-cache v1.1.9

文件大小: 5.32 KB | 发布时间: 2026-4-17 20:16

v1.1.9 最新 2026-4-17 20:16
Simplified implementation: removed wrapper script, declared dependencies clearly in metadata, and ensured full manifest inclusion. Addressed all audit flags.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部