تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

expanso-sentiment-score

بواسطة aronchick

CLI Utilities
621التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

"Score text sentiment from -1 (negative) to +1 (positive)".

الوصف

ما الذي تفعله هذه المهارة

Scores the sentiment of any text on a scale from -1 (negative) to +1 (positive). Runs as a standalone CLI pipeline or as an MCP server via the Expanso Edge runtime. Can also be deployed to Expanso Cloud for remote job execution.

Runs locally via Expanso Edge, so text is never sent to a third-party NLP API.

متى تستخدمها

  • Scoring customer support tickets by emotional tone
  • Flagging negative product reviews automatically
  • Analyzing social media comments for brand sentiment
  • Routing escalations based on message negativity
  • Monitoring chat logs for shifts in user mood

مثال على سير العمل

الإدخال

User asks: Score the sentiment of this message: 'The product broke after two days and support never responded.'

الوكيل
  1. 1

    Receives the text input via CLI pipe or MCP server request

  2. 2

    Passes the text to the Expanso Edge pipeline defined in pipeline-cli.yaml or pipeline-mcp.yaml

  3. 3

    Pipeline processes the input through the sentiment scoring model

  4. 4

    Returns a numeric score between -1 and +1

الإخراج

Sentiment score: -0.85 (strongly negative)

المتطلبات

  • Expanso Edge binary installed and in PATH (install via `clawhub install expanso-edge`)

التثبيت

clawhub install aronchick/expanso-sentiment-score

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط