← 返回
开发者工具 Key 中文

Memory Cache

High-performance temporary storage system using Redis. Supports namespaced keys (mema:*), TTL management, and JSON serialization for session context and API...
高性能临时存储系统,基于Redis,支持命名空间键(mema:*)、TTL管理、JSON序列化,适用于会话上下文和API。
1999azzar
开发者工具 clawhub v1.1.9 1 版本 100000 Key: 需要
★ 1
Stars
📥 2,761
下载
💾 105
安装
1
版本
#cache#latest#performance#redis#state

概述

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: [--ttl 3600]
  • Fetch: python3 $WORKSPACE/skills/memory-cache/scripts/cache_manager.py get mema:cache:

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.

版本历史

共 1 个版本

  • v1.1.9 当前
    2026-03-28 14:31 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,767
productivity

File Organizer Skill

1999azzar
{ "translation": "按扩展名或日期分文件夹整理目录文件,支持预演、递归及撤销功能。" }
★ 5 📥 10,174
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 323,970