Overview
- Skill Key
- derick001/multi-chat-context-manager
- Author
- skill-factory
- Source Repo
- openclaw/skills
- Version
- 1.0.2
- Source Path
- skills/derick001/multi-chat-context-manager
- Latest Commit SHA
- dc62ecf1cc16905c92130d786f85baae117c8ded
CLI tool to store and retrieve conversation contexts per channel/user.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 multi-chat-context-manager 技能。 若已安装,则直接安装 multi-chat-context-manager 技能。
# Multi-Chat Context Manager
## What This Does
A simple CLI tool to store, retrieve, and clear conversation contexts. Contexts are saved as JSON, keyed by channel/user/thread IDs. This is a utility library, not an auto-integration plugin.
## When To Use
- You need to manually store conversation history per channel or user
- You want a simple key-value context store for your scripts
- You're building custom integrations and need context persistence
## Usage
Store a conversation:
python3 scripts/context_manager.py store --channel "telegram-123" --user "user-456" --message "Hello" --response "Hi there"
Retrieve context:
python3 scripts/context_manager.py retrieve --channel "telegram-123" --user "user-456"
Clear context:
python3 scripts/context_manager.py clear --channel "telegram-123"
List all contexts:
python3 scripts/context_manager.py list
## Examples
### Example 1: Store and retrieve
Store:
python3 scripts/context_manager.py store --channel "discord-general" --user "john" --message "What is AI?" --response "AI is artificial intelligence."
Retrieve:
python3 scripts/context_manager.py retrieve --channel "discord-general" --user "john"
Output:
{
"channel_id": "discord-general",
"user_id": "john",
"history": [{"message": "What is AI?", "response": "AI is artificial intelligence."}]
}
## Requirements
- Python 3.x
- No external dependencies
## Limitations
- This is a CLI tool, not an auto-integration plugin
- Does not automatically intercept messages from platforms
- Stores data in plaintext JSON (not encrypted)
- No file-locking for concurrent access
- You must call it manually from your scripts or workflows
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.