Search

PythonReactSEOPDF
OpenClaw

Whatsapp Context Manager

WhatsApp Intelligent Context Manager Skill Guide

cerbug450 source installs☆ 0 Repository stars

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 cerbug45/whatsapp-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

WhatsApp Intelligent Context Manager - Skill Guide

This skill provides an AI-powered context management system for WhatsApp customer service agents, enabling instant access to customer history, sentiment analysis, and smart response suggestions.

Quick Installation

# Download and extract
unzip whatsapp-context-manager.zip
cd whatsapp-context-manager

# Verify installation (no dependencies needed!)
python install_check_whatsapp.py

# Run tests
python test_whatsapp.py

# Try examples
python examples_whatsapp.py

What Problem Does This Solve?

Without This System:

  • ❌ Agents have no context when customer messages arrive
  • ❌ No idea if customer is VIP or first-timer
  • ❌ Can't see order status without switching systems
  • ❌ Don't know if message is urgent or can wait
  • ❌ Guessing what to say instead of smart suggestions

With This System:

  • ✅ Complete customer context in 2 seconds
  • ✅ Automatic sentiment analysis (angry/happy/neutral)
  • ✅ Smart priority (critical/high/normal/low)
  • ✅ Order status right there
  • ✅ AI-powered response suggestions
  • ✅ VIP customer detection

Basic Usage

1. Initialize the System
from whatsapp_context_manager import ContextManager

# Create context manager (creates local database)
manager = ContextManager("production.db")
2. Process Incoming WhatsApp Message
# When a WhatsApp message arrives
context = manager.process_incoming_message(
    phone="+1234567890",
    message_content="Where is my order?!",
    agent_id="agent_001"
)
3. Display Context to Agent
# Show agent what they need to know
print(f"Priority: {context.priority.value}")        # "critical"
print(f"Sentiment: {context.sentiment.value}")      # "negative"
print(f"Category: {context.category}")              # "order_status"
print(f"VIP Customer: {context.customer.is_vip}")   # True/False

# Key insights
for insight in context.key_insights:
    print(f"💡 {insight}")

# Warnings
for wa...

Source information

Source
github
Repository
openclaw/skills
Path
skills/cerbug45/whatsapp-context-manager
Version
—
Commit
85c2c32471f7d68e1cc51b43ac5a384be6b8d2ad
Classification source
rules
Status
active
Visibility
public

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

README

WhatsApp Intelligent Context Manager

A secure, AI-powered context management system for WhatsApp customer service agents. Get instant, comprehensive customer insights to deliver better, faster support.

License: MIT Python 3.8+

🎯 What Problem Does This Solve?

The Agent's Nightmare:

  • ❌ Customer says "I told you last week..." — Agent has no idea what they're talking about
  • ❌ Switching between WhatsApp, CRM, order system, notes
  • ❌ Not knowing if customer is VIP or first-timer
  • ❌ Missing urgent messages buried in hundreds of chats
  • ❌ Guessing what to say instead of having smart suggestions

With This System:

  • ✅ Instant Context: See complete customer history in 2 seconds
  • ✅ Smart Prioritization: Angry customers flagged immediately
  • ✅ AI Analysis: Sentiment, category, urgency automatically detected
  • ✅ Response Suggestions: Get smart reply recommendations
  • ✅ Order Integration: See order status without leaving chat
  • ✅ VIP Detection: Know who your important customers are

🚀 Quick Start

Installation
# Clone the repository
git clone https://github.com/cerbug45/whatsapp-context-manager.git
cd whatsapp-context-manager

# No dependencies needed - pure Python standard library!
python test_whatsapp.py  # Verify installation
Basic Usage
from whatsapp_context_manager import ContextManager

# Initialize
manager = ContextManager()

# When a WhatsApp message arrives
context = manager.process_incoming_message(
    phone="+1234567890",
    message_content="Where is my order?!",
    agent_id="agent_001"
)

# Get instant insights
print(f"Priority: {context.priority.value}")  # "critical"
print(f"Sentiment: {context.sentiment.value}")  # "negative"
print(f"VIP Customer: {context.customer.is_vip}")  # True/Fals...

Extracted content

SKILL.md
# WhatsApp Intelligent Context Manager - Skill Guide

This skill provides an AI-powered context management system for WhatsApp customer service agents, enabling instant access to customer history, sentiment analysis, and smart response suggestions.

## Quick Installation

```bash
# Download and extract
unzip whatsapp-context-manager.zip
cd whatsapp-context-manager

# Verify installation (no dependencies needed!)
python install_check_whatsapp.py

# Run tests
python test_whatsapp.py

# Try examples
python examples_whatsapp.py
```

## What Problem Does This Solve?

**Without This System:**
- ❌ Agents have no context when customer messages arrive
- ❌ No idea if customer is VIP or first-timer
- ❌ Can't see order status without switching systems
- ❌ Don't know if message is urgent or can wait
- ❌ Guessing what to say instead of smart suggestions

**With This System:**
- ✅ Complete customer context in 2 seconds
- ✅ Automatic sentiment analysis (angry/happy/neutral)
- ✅ Smart priority (critical/high/normal/low)
- ✅ Order status right there
- ✅ AI-powered response suggestions
- ✅ VIP customer detection

## Basic Usage

### 1. Initialize the System

```python
from whatsapp_context_manager import ContextManager

# Create context manager (creates local database)
manager = ContextManager("production.db")
```

### 2. Process Incoming WhatsApp Message

```python
# When a WhatsApp message arrives
context = manager.process_incoming_message(
    phone="+1234567890",
    message_content="Where is my order?!",
    agent_id="agent_001"
)
```

### 3. Display Context to Agent

```python
# Show agent what they need to know
print(f"Priority: {context.priority.value}")        # "critical"
print(f"Sentiment: {context.sentiment.value}")      # "negative"
print(f"Category: {context.category}")              # "order_status"
print(f"VIP Customer: {context.customer.is_vip}")   # True/False

# Key insights
for insight in context.key_insights:
    print(f"💡 {insight}")

# Warnings
for wa...
README
# WhatsApp Intelligent Context Manager

A secure, AI-powered context management system for WhatsApp customer service agents. Get instant, comprehensive customer insights to deliver better, faster support.

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)

## 🎯 What Problem Does This Solve?

**The Agent's Nightmare:**
- ❌ Customer says "I told you last week..." — Agent has no idea what they're talking about
- ❌ Switching between WhatsApp, CRM, order system, notes
- ❌ Not knowing if customer is VIP or first-timer
- ❌ Missing urgent messages buried in hundreds of chats
- ❌ Guessing what to say instead of having smart suggestions

**With This System:**
- ✅ **Instant Context**: See complete customer history in 2 seconds
- ✅ **Smart Prioritization**: Angry customers flagged immediately
- ✅ **AI Analysis**: Sentiment, category, urgency automatically detected
- ✅ **Response Suggestions**: Get smart reply recommendations
- ✅ **Order Integration**: See order status without leaving chat
- ✅ **VIP Detection**: Know who your important customers are

## 🚀 Quick Start

### Installation

```bash
# Clone the repository
git clone https://github.com/cerbug45/whatsapp-context-manager.git
cd whatsapp-context-manager

# No dependencies needed - pure Python standard library!
python test_whatsapp.py  # Verify installation
```

### Basic Usage

```python
from whatsapp_context_manager import ContextManager

# Initialize
manager = ContextManager()

# When a WhatsApp message arrives
context = manager.process_incoming_message(
    phone="+1234567890",
    message_content="Where is my order?!",
    agent_id="agent_001"
)

# Get instant insights
print(f"Priority: {context.priority.value}")  # "critical"
print(f"Sentiment: {context.sentiment.value}")  # "negative"
print(f"VIP Customer: {context.customer.is_vip}")  # True/Fals...

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.