Skip to content
cccskills
FreePublished on GitHub

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.

The English summary is being prepared. Showing the original description.

Works withRedis
See how to install

Files included (7)

  • SKILL.md1.4 KB
  • _meta.json633 B
  • env.example.txt208 B
  • references/key-standards.md1.3 KB
  • requirements.txt34 B
  • scripts/cache_manager.py7.7 KB
  • scripts/cache.sh509 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

The English summary is being prepared. Showing the original description.

johnalbertini14-glitch/openclaw-skills2Updated Feb 26, 2026

Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user asks about crypto market data, orderbooks, trades, funding rates, or historical prices on Hyperliquid, Lighter.xyz, or HIP-3.

The English summary is being prepared. Showing the original description.

johnalbertini14-glitch/openclaw-skills2Updated Feb 26, 2026

Calculate ROI for AI-as-a-Service (managed AI agents). Estimates cost savings, efficiency gains, and payback period for deploying AI agents across business operations. Use when evaluating whether managed AI agents make financial sense for a company.

The English summary is being prepared. Showing the original description.

johnalbertini14-glitch/openclaw-skills2Updated Feb 26, 2026

Design, build, deploy, and operate production AI agent systems — single agents, multi-agent teams, and autonomous swarms. Complete methodology from agent architecture through orchestration, memory systems, safety guardrails, and operational excellence.

The English summary is being prepared. Showing the original description.

johnalbertini14-glitch/openclaw-skills2Updated Feb 26, 2026

Design, build, test, document, and secure production-grade APIs. Covers the full lifecycle from schema design through deployment, monitoring, and versioning. Use when designing new APIs, reviewing existing ones, generating OpenAPI specs, building test suites, or debugging production issues.

The English summary is being prepared. Showing the original description.

johnalbertini14-glitch/openclaw-skills2Updated Feb 26, 2026

Turn your AI agent into a business automation architect. Design, document, implement, and monitor automated workflows across sales, ops, finance, HR, and support — no n8n or Zapier required.

The English summary is being prepared. Showing the original description.

johnalbertini14-glitch/openclaw-skills2Updated Feb 26, 2026

See all skills by johnalbertini14-glitch

Report a problem with this skill