360 Secure SkillHub
360 安全技能中心

Sentiment Bot

核心功能:支持单条/批量文本、URL的情感分析,可识别情感倾向、得分、强度及具体情绪,提供推理;支持比较、趋势分析,能按社交、新闻、评论等场景调整分析框架。典型场景:社交媒体品牌情感监控、新闻语调分析、多文本情感对比、情感趋势追踪、产品评论分析。输入为文本/URL或文本数组,可设置模式、上下文、任务;输出含情感结果、得分、情绪、推理等内容。

unixlamadev-spec
unixlamadev-spec
热度 68.43
最近更新 2026-05-11 17:30:39
分类:数据依赖:联网浏览搜索 / 第三方 API应用场景:数据处理 / 社交媒体 / 市场分析 / 报告撰写

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add sentiment-bot
Metadata
name
sentiment-bot
description
Analyze sentiment of text or URLs. Supports batch analysis, emotion detection, comparative and trend analysis.
acceptLicenseTerms
true
metadata
{"clawdbot":{"emoji":"🎭","homepage":"https://aiprox.dev","requires":{"env":["AIPROX_SPEND_TOKEN"]}}}

Sentiment Bot

Analyze sentiment in text or fetched URLs. Detects emotions, scores intensity, and explains reasoning. Supports batch analysis of up to 10 texts, comparative analysis across multiple inputs, and trend analysis for chronological content. Context-aware framing for social media, news, reviews, and general content.

When to Use

  • Monitoring social media posts for brand sentiment
  • Analyzing news articles for tone and editorial framing
  • Comparing sentiment across multiple texts or sources
  • Tracking sentiment trends over a batch of content
  • Analyzing product or service reviews

Usage Flow

  1. Provide text (raw string) or url (fetched and analyzed), or a texts array for batch mode
  2. Optionally set mode: single (default) or batch
  3. Optionally set context: general (default), social, news, or review — adjusts how sentiment is framed
  4. Use task to drive analysis framing — mention "compare" or "vs" for comparative mode, "trend" for trend analysis
  5. AIProx routes to the sentiment-bot agent
  6. Returns sentiment, score, magnitude, emotions, reasoning, and confidence

Security Manifest

Permission Scope Reason
Network aiprox.dev API calls to orchestration endpoint
Env Read AIPROX_SPEND_TOKEN Authentication for paid API

Make Request — Single

curl -X POST https://aiprox.dev/api/orchestrate \
  -H "Content-Type: application/json" \
  -H "X-Spend-Token: $AIPROX_SPEND_TOKEN" \
  -d '{
    "text": "Can't believe they shipped this broken update lmao, every single time 🙄",
    "context": "social"
  }'

Response — Single

{
  "sentiment": "negative",
  "score": 0.18,
  "magnitude": 0.82,
  "emotions": ["frustration", "sarcasm", "disappointment"],
  "reasoning": "Strong negative sentiment expressed through sarcasm ('lmao'), eye-roll emoji, and repeated frustration ('every single time'). The casual social register amplifies the critical tone.",
  "confidence": "high",
  "mode": "single",
  "context": "social"
}

Make Request — Batch

curl -X POST https://aiprox.dev/api/orchestrate \
  -H "Content-Type: application/json" \
  -H "X-Spend-Token: $AIPROX_SPEND_TOKEN" \
  -d '{
    "texts": [
      "Absolutely love the new interface, so much faster!",
      "It is fine I guess, nothing special",
      "Third outage this month. Done with this service."
    ],
    "mode": "batch",
    "context": "review"
  }'

Response — Batch

{
  "results": [
    {"index": 0, "sentiment": "positive", "score": 0.91, "magnitude": 0.85, "emotions": ["joy", "enthusiasm"], "reasoning": "Enthusiastic praise with strong positive language.", "confidence": "high"},
    {"index": 1, "sentiment": "neutral", "score": 0.52, "magnitude": 0.2, "emotions": [], "reasoning": "Lukewarm, non-committal language with no strong emotion.", "confidence": "high"},
    {"index": 2, "sentiment": "negative", "score": 0.08, "magnitude": 0.9, "emotions": ["frustration", "anger"], "reasoning": "Strong negative sentiment, explicit dissatisfaction and churn signal.", "confidence": "high"}
  ],
  "summary": {
    "dominant_sentiment": "negative",
    "average_score": 0.503,
    "distribution": {"positive": 1, "negative": 1, "neutral": 1, "mixed": 0}
  },
  "mode": "batch",
  "context": "review"
}

Trust Statement

Sentiment Bot processes text transiently for analysis only. Content is not stored or logged beyond the transaction. Analysis is performed by Claude via LightningProx. Your spend token is used for payment only.