# Cfn Memory Persistence Redis

> Redis-based agent coordination with pub/sub and waiting mode

- Skill: `masharratt/cfn-memory-persistence-redis` (Agent Skill)
- Install (CLI): `npx skillmds@latest add masharratt/cfn-memory-persistence-redis`
- Raw SKILL.md: https://api.skillmd.com/api/skills/masharratt/cfn-memory-persistence-redis/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: masharratt (https://skillmd.com/u/masharratt)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/masharratt/cfn-memory-persistence-redis

---


# Redis Coordination Submodule

**Parent Skill:** cfn-memory-persistence
**Purpose:** Redis-based coordination for agent synchronization and waiting mode

## Components

- `bash-wrappers/` - Bash wrapper scripts for Redis operations
- `data/` - SQLite database for local persistence
- `dist/` - Compiled TypeScript
- `coverage/` - Test coverage reports

## Key Operations

- Agent waiting mode (BLPOP-based)
- Confidence score collection
- Context storage and retrieval
- Swarm coordination signals
- Agent completion tracking

## Usage

```bash
# Invoke waiting mode
$HOME/.claude/skills/cfn-memory-persistence/lib/redis/bash-wrappers/invoke-waiting-mode.sh \
  --task-id "task-123" \
  --agent-id "agent-456" \
  --action wait

# Store context
$HOME/.claude/skills/cfn-memory-persistence/lib/redis/bash-wrappers/store-context.sh \
  --task-id "task-123" \
  --context "implementation context"
```

