A CLI utility for storing and retrieving persistent chat history and conversation contexts across various channels and users.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install multi-chat-context-manager
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install multi-chat-context-manager using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Multi-Chat Context Manager is a specialized CLI tool designed to bridge the gap between stateless scripts and persistent conversational experiences. It allows developers using Openclaw Skills to maintain a structured history of interactions keyed by specific channel, user, or thread identifiers. By leveraging a simple JSON-based storage mechanism, it provides a lightweight way to ensure that your AI agents remember previous exchanges.
As a core utility within the ecosystem of Openclaw Skills, this tool provides the foundational logic needed for building more complex, context-aware integrations. It acts as a manual key-value store for conversation data, making it ideal for developers who need full control over how and when history is saved or recalled.
Ensure you have Python 3.x installed. This tool is designed to work as a standalone utility or within your Openclaw Skills directory.
# Store a new message and response in context
python3 scripts/context_manager.py store --channel "telegram-123" --user "user-456" --message "Hello" --response "Hi there"
# Retrieve the history for a specific channel and user
python3 scripts/context_manager.py retrieve --channel "telegram-123" --user "user-456"
# Clear all data for a specific channel
python3 scripts/context_manager.py clear --channel "telegram-123"
The tool uses a structured JSON format to organize data. Each entry is keyed by a combination of channel and user IDs to ensure data integrity within Openclaw Skills.
| Field | Type | Description |
|---|---|---|
| channel_id | string | The unique identifier for the chat channel or platform thread. |
| user_id | string | The unique identifier for the specific user in the conversation. |
| history | array | A list of objects containing message and response string pairs. |
Loading
A comprehensive CLI tool for constructing, executing, and managing HTTP requests with support for templates and history tracking.

A specialized CLI utility designed to efficiently prune stopped containers, unused images, and orphaned volumes to optimize Docker disk usage.

A robust CLI tool for comparing database schemas, generating migration scripts, and tracking structural evolution across various environments.

A versatile CLI tool designed for testing and validating REST API endpoints using various HTTP methods and custom payloads.

A security-focused git pre-commit hook that scans for API keys, passwords, and tokens to prevent accidental data leakage.

A comprehensive CLI utility designed to organize, generate, and validate SSH host configurations for streamlined remote access.








































