memory-cache
Installation
SKILL.md
Memory Cache
Setup
- Copy
.env.exampleto.env. - Set
REDIS_URL(e.g.redis://localhost:6379/0) orREDIS_HOST,REDIS_PORT,REDIS_DB,REDIS_PASSWORD. - Ensure Redis is running. Optional timeouts:
REDIS_SOCKET_TIMEOUT,REDIS_SOCKET_CONNECT_TIMEOUT. - On first run,
scripts/cachecreates a venv and installs dependencies.
Usage
- Role: Memory Manager.
- Trigger: "Save this for later", "Cache these results", "What was the last search?".
- Output: Confirmation of storage or retrieved values.
Commands (CLI)
Use scripts/cache (recommended) or python3 scripts/cache_manager.py.