搜索

PythonReactSEOPDF
OpenClaw

Whatsapp Context Manager

WhatsApp Intelligent Context Manager Skill Guide

cerbug450 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install cerbug45/whatsapp-context-manager

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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
github
Repository
openclaw/skills
Path
skills/cerbug45/whatsapp-context-manager
Version
—
Commit
85c2c32471f7d68e1cc51b43ac5a384be6b8d2ad
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

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...

来源内容

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...

相关技能

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.