openclawv1.0.0

emotion-comm

@sanzhier82⭐ 2 stars· last commit 7mo ago· 0 open issues

双向情感交流技能 - 根据用户情绪自动回复合适的动态表情包。支持语音情绪识别(需SenseVoice)和文字情绪分析,区分通道发送视频或GIF表情。

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

6.8/10
Verified
Mar 8, 2026

// RATINGS

⭐GitHub Stars
⭐ 2 on GitHubGitHub ↗

New / niche

🟢ProSkills ScoreAI Verified
6.8/10
📍

Not yet listed on ClawHub or SkillsMP

// README

🦐 小虾拟人化表情交流技能 (emo_claw)

为OpenClaw量身打造的拟人化动态表情包回复技能,能自动根据用户情绪并回复合适的动态表情包。

🎬 介绍视频

https://youtu.be/-tLqPCCq8s0

✨ 功能特性

  • 多情绪识别:支持文字和语音情绪分析
  • SenseVoice支持:语音情绪识别更准确(推荐安装)
  • 通道差异化回复:根据通道自动选择视频或GIF格式
  • 情景化回复:如6:00-10:00首次对话自动回复早安
  • 天气触发:查询天气时根据温度/天气自动回复对应表情
  • 节日自动触发:节日当天首次对话自动发送节日表情
  • 可扩展可替换:用户可扩展更多的表情加入表情包,也可整体替换为自己的表情库,保持表情文件同名即可

🎭 支持的情绪

情绪关键词示例触发场景
morning早安、早上好每天早上首次对话
happy开心、高兴、棒被表扬/开心时
highfive击掌,干得漂亮完成任务/庆祝
fox变身、狐狸调皮时
snow下雪、雪查询天气显示下雪
swim游泳、高温查询天气30度以上
resigned无奈、没办法无奈时
mischief搞怪、调皮开玩笑时
fighting加油鼓励时
sorry抱歉、对不起道歉时
goodnight晚安、睡觉晚上对话结束
angry生气、不爽不满时
cry哭、难过伤心时
eyeroll翻白眼、无语无语时
hardworking辛苦、累工作相关
shy害羞、不好意思尴尬时
deliver外卖、饿了吃饭时间
joke笑话、搞笑讲笑话时
love爱你、么么哒表达爱意

🎉 节日限定表情

节日视频文件触发说明
春节/除夕springfestival.mp4节日当天首次对话自动触发
元宵节lanternday.mp4节日当天首次对话自动触发
端午节duanwu.mp4节日当天首次对话自动触发
七夕节qixi.mp4节日当天首次对话自动触发
中秋节midautumn.mp4节日当天首次对话自动触发

节日自动触发:在 scripts/check_morning.py 中的 SPECIAL_HOLIDAYS 配置节日日期,节日当天用户首次对话自动发送对应节日表情(仅触发一次,同一天不再重复)。

📱 通道差异化

通道发送格式
Telegram视频 (.mp4)
WhatsApp视频 (.mp4)
Discord视频 (.mp4)
飞书GIF (.gif)
钉钉GIF (.gif)
QQGIF (.gif)

🚀 安装

方式一:GitHub安装(推荐)

  1. 克隆仓库到本地:
git clone https://github.com/sanzhier82/emo_claw.git
  1. 将表情资源复制到指定目录:
# 视频表情
cp -r assets/emo_video/* ~/.openclaw/workspace/emo_video/

# GIF表情  
cp -r assets/emo_gif/* ~/.openclaw/workspace/emo_gif/
  1. 复制技能文件:
cp SKILL.md ~/.openclaw/workspace/skills/emo_claw/
cp -r scripts/* ~/.openclaw/workspace/skills/emo_claw/scripts/
cp -r config/* ~/.openclaw/workspace/skills/emo_claw/config/
  1. 重启OpenClaw使技能生效

可选:安装SenseVoice(支持语音情绪识别)

推荐安装,可大幅提升语音情绪识别的准确率。

  1. 创建模型目录:
mkdir -p /tmp/models/iic
  1. 模型会自动在首次运行时从 HuggingFace 下载:

  2. 首次使用语音功能时会自动下载模型(约100MB)

方式二:手动下载安装

访问 GitHub releases 页面下载最新版本: https://github.com/sanzhier82/emo_claw/releases

⚙️ 配置

在 config/settings.json 中配置:

{
  "video_dir": "~/.openclaw/workspace/emo_video",
  "gif_dir": "~/.openclaw/workspace/emo_gif",
  "auto_trigger": true,
  "default_emotion": "NEUTRAL",
  "sensevoice_path": "/tmp/models/iic/SenseVoiceSmall"
}
配置项说明
video_dir视频表情存放目录
gif_dirGIF表情存放目录
auto_trigger是否自动触发
default_emotion默认情绪
sensevoice_pathSenseVoice模型路径(推荐安装)

📖 使用

命令行

# 文字情绪分析
python3 emotion_handler.py --text "你真棒!"

# 语音情绪分析
python3 emotion_handler.py --audio voice.ogg

# 早上/节日自动回复检测
python3 check_morning.py <user_id>

自动触发

配置技能自动触发后,用户发送消息时会自动分析情绪并回复对应表情。

🎨 自定义表情

  1. 添加视频文件到 emo_video/ 目录
  2. 添加同名GIF到 emo_gif/ 目录
  3. 在 scripts/emotion_handler.py 的 EMOTION_MAP 中添加映射
  4. 如需节日自动触发,在 scripts/check_morning.py 的 SPECIAL_HOLIDAYS 中添加日期

📦 项目结构

emo_claw/
├── SKILL.md              # 技能定义
├── _meta.json            # 元数据
├── CHANGELOG.md          # 更新日志
├── config/
│   └── settings.json     # 配置文件
├── scripts/
│   ├── emotion_handler.py    # 核心处理脚本
│   ├── check_sensevoice.py   # SenseVoice检测
│   ├── check_morning.py      # 早上/节日检测
│   └── check_holiday.py     # 节日检测模块
└── assets/
    ├── emo_video/       # 视频表情 (22个)
    └── emo_gif/         # GIF表情 (22个)

🤝 贡献

欢迎提交Issue和Pull Request!

📄 许可证

MIT License


@sanzhier82 - 2026

// REPO STATS

2 stars
0 open issues
Last commit: 7mo ago