← Back to Skills Marketplace
hongfeng-wenfang

Sentiment Analyzer

by hongfeng-wenfang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
191
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install sentiment-analyzer
Description
客服场景文本情绪分析工具。当需要对客户消息进行情绪识别(愤怒/焦虑/中性/满意/热情)、敏感词检测、情绪波动告警时使用。适用于:自动调整回复语气、触发紧急转接、投诉分级处理、NPS情绪追踪。触发词:情绪分析、情感检测、客户情绪、愤怒检测、情绪告警、sentiment。
Usage Guidance
This skill appears to do what it says: a local, rule-based sentiment analyzer suitable for customer-service flows. Before installing, consider: (1) Data privacy — it stores session data under /tmp/sentiment_tracking/{session_id}.json (only first 100 characters are saved) but you should confirm this meets your retention and PII policies; change the path or add encryption/permissions if needed. (2) Cleanup — ensure session files are deleted or rotated after use to avoid leakage on shared hosts. (3) Accuracy & bias — it's a simple keyword rule engine; test for false positives/negatives and review the sensitive/negative word lists for unacceptable terms or localization issues. (4) Isolation — run in an environment where /tmp is not accessible to untrusted users if messages are sensitive. There are no network calls or credential requests, so network exfiltration risk from the included code is low, but always review deployed runtime environment and file permissions before use.
Capability Assessment
Purpose & Capability
Name/description match the included code and docs: analyze.py implements rule-based sentiment classification, track.py implements session tracking. No unrelated credentials, binaries, or external integrations are requested.
Instruction Scope
SKILL.md only instructs running the included scripts and integrating results into workflows. It documents output format and alert rules. Minor scope note: the instructions rely on writing session data to /tmp and do not specify retention, access controls, or privacy guarantees.
Install Mechanism
No install spec or external downloads; the skill is instruction-first with small included Python scripts. Nothing is fetched from third-party URLs or installed to system-wide locations.
Credentials
The skill requests no environment variables or credentials (proportional). However, it persists session data under /tmp/sentiment_tracking which may contain customer message fragments; this storage/access pattern should be considered when handling sensitive data.
Persistence & Privilege
The skill does not request elevated privileges and always:false. It creates and writes its own files under /tmp/sentiment_tracking (its own scope) — this is expected but could expose session data on multi-user hosts if not secured or purged.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install sentiment-analyzer
  3. After installation, invoke the skill by name or use /sentiment-analyzer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
sentiment-analyzer 1.0.0 初始版本发布 - 提供客服场景下的文本情绪分析工具,支持愤怒、焦虑、中性、满意、热情五类情绪识别。 - 内置敏感词检测与情绪波动告警机制,输出结构化 JSON,包括情绪分类、分数、关键词、敏感词、告警标记等字段。 - 自动匹配并推荐合适的回复语气(如歉意、安抚、中性、积极、热情)。 - 提供情绪追踪脚本,支持对话过程中连续情绪波动监测,便于及时人工介入及分级处理。
Metadata
Slug sentiment-analyzer
Version 1.0.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is Sentiment Analyzer?

客服场景文本情绪分析工具。当需要对客户消息进行情绪识别(愤怒/焦虑/中性/满意/热情)、敏感词检测、情绪波动告警时使用。适用于:自动调整回复语气、触发紧急转接、投诉分级处理、NPS情绪追踪。触发词:情绪分析、情感检测、客户情绪、愤怒检测、情绪告警、sentiment。 It is an AI Agent Skill for Claude Code / OpenClaw, with 191 downloads so far.

How do I install Sentiment Analyzer?

Run "/install sentiment-analyzer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Sentiment Analyzer free?

Yes, Sentiment Analyzer is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Sentiment Analyzer support?

Sentiment Analyzer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Sentiment Analyzer?

It is built and maintained by hongfeng-wenfang (@hongfeng-wenfang); the current version is v1.0.0.

💬 Comments