技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 0 · 23 · 0 current installs · 0 all-time installs
⭐ 0
安装量(当前) 0
🛡 VirusTotal :良性 · OpenClaw :良性
Package:786793119/emotion-memory-assistant
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :良性
OpenClaw 评估
The skill's code and instructions match its description: it analyzes messages for emotion keywords and stores local history (~/.memory/emotions/history.json); it does not request credentials or call external endpoints.
目的
Name/description (emotion tracking, care messages, weekly reports) align with the included Python implementation and SKILL.md. Required binary (python3) is appropriate and no unrelated resources or credentials are requested.
说明范围
SKILL.md examples and runtime instructions are limited to detecting emotion, recalling history, sending care messages, and generating reports. The code only reads/writes the declared local storage path and does not instruct reading unrelated files or environment variables.
安装机制
No install specification; the skill is instruction-only plus a Python file. Nothing is downloaded or installed by the skill itself.
证书
No environment variables or external credentials are required. The only persistent artifact is a local JSON file under the user's home directory (~/.memory/emotions/history.json), which is proportional to the stated purpose.
持久
always is false and the skill does not modify other skills or global agent settings. It persists only its own history file in the user's home directory, which is expected for this functionality.
综合结论
This skill appears coherent and runs locally. Before installing, consider: (1) it stores message snippets and timestamps in ~/.memory/emotions/history.json — that can contain sensitive/PII; inspect or remove that folder if you don't want local records; (2) set filesystem permissions or encrypt the file if privacy is important; (3) the skill does not transmit data externally or require credentials, but review the code if you want to confirm beh…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「情感记忆助手」。简介:自动追踪用户情绪变化,在合适的时机关心用户。检测对话情绪、记忆历史、主动关心、周报生成。。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/786793119/emotion-memory-assistant/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: emotion-memory-assistant
slug: emotion-memory-assistant
version: 1.0.0
description: 自动追踪用户情绪变化,在合适的时机关心用户。检测对话情绪、记忆历史、主动关心、周报生成。
homepage: https://github.com/786793119/miya-skills
metadata: {"openclaw":{"emoji":"💕","requires":{"bins":["python3"]},"os":["linux","darwin","win32"]}}
---
# 情感记忆助手 (Emotion Memory Assistant)
自动追踪用户情绪变化,在合适的时机关心用户。
## 功能
- `detect_emotion` - 检测对话中的情绪关键词
- `recall_emotion_history` - 查询历史情绪记录
- `send_care_message` - 发送关心消息给用户
- `generate_weekly_report` - 生成每周情绪报告
## 情绪关键词库
**正向情绪**: 开心、高兴、愉快、兴奋、满意、舒服、快乐、幸福
**负向情绪**: 难过、伤心、焦虑、担心、害怕、沮丧、低落、郁闷、烦、生气、失望
**中性状态**: 忙、累、困、无聊
## 主动关心机制
当检测到用户负面情绪,且距离上次关心超过30分钟,自动发送关心消息。
## 使用示例
```python
from emotion_memory import detect_emotion, recall_emotion_history, generate_weekly_report
# 检测情绪
result = detect_emotion("今天基金亏了,心情不好...")
print(result)
# 查询历史
history = recall_emotion_history(days=7)
# 生成周报
report = generate_weekly_report()
```
## 数据存储
- 历史记录: `~/.memory/emotions/history.json`
---
*By Miya - 2026*