ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

Whatsapp Context Manager

Skill by cerbug45

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/cerbug45/whatsapp-context-manager
Or

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 warning in context.warnings:
    print(f"⚠️ {warning}")

# Suggested responses
for response in context.suggested_responses:
    print(f"💬 {response}")

4. Send Reply

# Agent sends reply
manager.send_message(
    phone="+1234567890",
    message_content="Your order #12345 is on the way!",
    agent_id="agent_001"
)

What Agent Sees - Dashboard Example

Metadata

Author@cerbug45
Stars3917
Views1
Updated2026-04-08
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-cerbug45-whatsapp-context-manager": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.