Search

PythonReactSEOPDF
OpenClaw

multi-chat-context-manager

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

derick0010 source installs☆ 0 Repository starsv1.0.2

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install derick001/multi-chat-context-manager

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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 information

Source
github
Repository
openclaw/skills
Path
skills/derick001/multi-chat-context-manager
Version
1.0.2
Commit
dc62ecf1cc16905c92130d786f85baae117c8ded
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# 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

Related skills

OpenClaw

13-Day Sprint Method

galizki

Productivity system based on Maya calendar with 13 natural tones for project management and personal development

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.