360 Secure SkillHub
360 安全技能中心

Sentinel Mood

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

numbpill3d
numbpill3d
热度 57.04
最近更新 2026-05-11 17:27:36
分类:数据依赖:代码执行应用场景:市场分析 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 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.