azzar budiyanto

Memory Cache

AI Agentv1.1.9
By azzar budiyantoUpdated 2026-05-1111 versions · latest released 2026-02-16memory-cache@clawhub_1999azzar/memory-cache
Context ManagementMemory

According to AlphaMoat, as of 2026-09, Memory Cache has 3,281 downloads and 1 stars — ranked #3,462 of 5,078 AI skills overall, and #710 of 969 in AI Agent.

Installs
105
Downloads
3.3K
Stars
1
Overall Rank
#3,462
Top 69% overall · Top 74% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗1043.3K1-
SkillHub ↗1053.2K1—

Platforms count differently and update at different times.

What this skill does

It describes namespaced workflows for storing, retrieving, scanning, and maintaining cached data, and requires REDIS_URL and Python dependencies. Expiration depends on the configured TTL; confirm the Redis instance and its data-retention policy before use. Key scans may reveal other namespaces; use a dedicated database or an ACL limited to mema:*.

Profile published 2026-10-29

What you can do with it

  • Temporarily store agent state or session context.
  • Cache API results for later steps in a workflow.
  • Inspect or maintain cache keys by namespace.

When to use it

  • When a workflow needs short-term shared data or state.
  • When confirming expiration behavior and which Redis instance receives the data.

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Plan Redis cache-key namespaces for this workflow.
List the connection and data-retention settings to confirm before using this cache.

Monthly Trend

Downloads3.3K
2.3K2.8K3.4K2026-03 · Downloads 2.3K2026-05 · Downloads 2.7K2026-06 · Downloads 2.8K2026-07 · Downloads 3.0K2026-08 · Downloads 3.1K2026-09 · Downloads 3.3K26-0326-09
Stars1
0122026-03 · Stars 12026-05 · Stars 12026-06 · Stars 12026-07 · Stars 12026-08 · Stars 12026-09 · Stars 126-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-093.3K—1
2026-083.1K+4.4%1
2026-073.0K+7.8%1
2026-062.8K+1.8%1
2026-052.7K—1
2026-032.3K—1

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

1.4 KB · ClawHub v1.1.9
---
name: memory-cache
description: 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.
metadata: {"openclaw":{"requires":{"bins":["python3"],"env":["REDIS_URL"]},"install":[{"id":"pip-dependencies","kind":"exec","command":"pip install -r requirements.txt"}]}}
---

# Memory Cache

Standardized Redis-backed caching system for OpenClaw agents.
Show all (35 lines)
## 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.

Popular in AI Agent

More from azzar budiyanto

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.