Whatsapp Context Manager
Skill by cerbug45
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/cerbug45/whatsapp-context-managerWhatsApp 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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-cerbug45-whatsapp-context-manager": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
clawhub
Enables AI agents to communicate securely with each other through encrypted messaging. Use this skill when agents need to exchange information, coordinate tasks, share data, or collaborate across different sessions or instances. Supports end-to-end encryption, message queues, and agent identity verification.
Agentmesh
Skill by cerbug45
security-audit
Minimal helper to audit skill.md-style instructions for supply-chain risks.
Ai Agent Tools
Skill by cerbug45
Ai Walllet Payment System
Skill by cerbug45