multi-chat-context-manager

CLI tool to store and retrieve conversation contexts per channel/user.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "multi-chat-context-manager" with this command: npx skills add Derick001/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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

A Python CLI skill for Cutout.Pro visual APIs — background removal, face cutout, and photo enhancement. Supports file upload & image URL input.

Call Cutout.Pro visual processing APIs to perform background removal, face cutout, and photo enhancement. Supports both file upload and image URL input, retu...

Registry SourceRecently Updated
Coding

client-onboarding-agent

Client onboarding and business diagnostic framework for AI agent deployments. Covers 4-round diagnostic process, 6 constraint categories, deployment SOP with...

Registry SourceRecently Updated
Coding

Ai Tools

AI Tools Box - Search and invoke 100+ AI tools. Categories: Writing, Image, Video, Coding, Office, Search, Chat, Audio, Design, Agent, Translation, Dev Platf...

Registry SourceRecently Updated