360 Secure SkillHub
360 安全技能中心

Sentinel Mood

该 Skill 通过调用 analyze.py(依赖 Python 3 与 nltk 的 VADER 情感分析器)接收文本参数,输出 JSON 格式的情感分值,用于判断文本情绪基调,适合社交媒体短文与口语化内容。首次使用需获取 vader_lexicon 词典。

分类:数据
numbpill3d
numbpill3d
热度 39.28
最近更新 2026-05-11 17:27:36

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add numbpill3d/sentinel-mood
兼容性
通用兼容
联网要求
需要联网
数据出网
数据不出本机
Metadata
name
sentinel-mood
description
Analyze the sentiment and emotional tone of text using NLTK and VADER. Use this to gauge user mood, detect urgency, or analyze content tone.
metadata
{"openclaw":{"emoji":"🎭","requires":{"python_packages":["nltk"]}}}

Sentinel Mood

A lightweight sentiment analysis skill powered by NLTK's VADER (Valence Aware Dictionary and sEntiment Reasoner). It is specifically tuned for social media texts, conversational language, and short updates.

Capabilities

  • Analyze Sentiment: Get positive, negative, neutral, and compound scores for any text.
  • Detect Tone: (Implicit) Infer tone based on polarity scores.

Usage

User: "Analyze the sentiment of this message: 'I love how this project is turning out, great job!'" Agent: [Runs skill] -> Returns sentiment scores (e.g., compound: 0.8, pos: 0.6).

Technical Details

This skill uses a Python script (analyze.py) that imports nltk.sentiment.SentimentIntensityAnalyzer.

Dependencies

  • Python 3
  • nltk library (pip install nltk)
  • vader_lexicon (downloaded via nltk.downloader)

Implementation

The skill executes a python script that takes text as an argument and outputs JSON.