Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
rkiding avatar

Alphaear Sentiment

  • 589 installs
  • 2.8k repo stars
  • Updated March 29, 2026
  • rkiding/awesome-finance-skills

alphaear-sentiment is a Claude Code skill that scores financial text polarity and confidence using FinBERT locally or LLM analysis for developers who need sentiment labels on news, earnings calls, and market commentary.

About

alphaear-sentiment is a finance-focused sentiment analysis skill from rkiding/awesome-finance-skills that exposes analyze_sentiment through scripts/sentiment_tools.py. Developers choose FinBERT for fast local scoring or LLM mode when they want flexible interpretation of earnings transcripts, headlines, and trader commentary. The skill returns sentiment labels plus confidence scores suitable for quant research notebooks, alerting rules, or feature stores. Reach for alphaear-sentiment when market text must be classified positive, negative, or neutral without hand-rolling NLP pipelines or generic sentiment models tuned for social media rather than finance.

  • Supports both local FinBERT model and LLM-based analysis modes
  • analyze_sentiment(text) returns score (-1.0 to 1.0), label, and reason
  • batch_update_news_sentiment for processing multiple records at once
  • Strict JSON output format with scoring guide for positive/negative/neutral
  • Designed specifically for finance-domain text and market sentiment

Alphaear Sentiment by the numbers

  • 589 all-time installs (skills.sh)
  • +18 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #414 of 2,064 Data Science & ML skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/rkiding/awesome-finance-skills --skill alphaear-sentiment

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs589
repo stars2.8k
Last updatedMarch 29, 2026
Repositoryrkiding/awesome-finance-skills

How do you score finance news sentiment locally?

Quickly extract sentiment polarity and confidence scores from financial news, earnings calls, or market commentary.

Who is it for?

Quant and fintech developers piping earnings calls, SEC filings, or headline feeds into local FinBERT scoring before backtests or dashboards.

Skip if: Developers analyzing non-financial social posts or teams that already operate a managed cloud sentiment API with SLAs and batch quotas.

When should I use this skill?

User asks to classify financial text sentiment, score earnings-call tone, or compare FinBERT versus LLM sentiment on market commentary.

What you get

Sentiment label, confidence score, and optional LLM rationale for each financial text input.

  • sentiment label
  • confidence score

By the numbers

  • Exposes analyze_sentiment through scripts/sentiment_tools.py with FinBERT and LLM analysis modes

Files

SKILL.mdMarkdownGitHub ↗

AlphaEar Sentiment Skill

Overview

This skill provides sentiment analysis capabilities tailored for financial texts, supporting both FinBERT (local model) and LLM-based analysis modes.

Capabilities

Capabilities

1. Analyze Sentiment (FinBERT / Local)

Use scripts/sentiment_tools.py for high-speed, local sentiment analysis using FinBERT.

Key Methods:

  • analyze_sentiment(text): Get sentiment score and label using localized FinBERT model.
  • Returns: {'score': float, 'label': str, 'reason': str}.
  • Score Range: -1.0 (Negative) to 1.0 (Positive).
  • batch_update_news_sentiment(source, limit): Batch process unanalyzed news in the database (FinBERT only).

2. Analyze Sentiment (LLM / Agentic)

For higher accuracy or reasoning capabilities, YOU (the Agent) should perform the analysis using the Prompt below, calling the LLM directly, and then update the database if necessary.

Sentiment Analysis Prompt

Use this prompt to analyze financial texts if the local tool is insufficient or if reasoning is required.

请分析以下金融/新闻文本的情绪极性。
返回严格的 JSON 格式:
{"score": <float: -1.0到1.0>, "label": "<positive/negative/neutral>", "reason": "<简短理由>"}

文本: {text}

Scoring Guide:

  • Positive (0.1 to 1.0): Optimistic news, profit growth, policy support, etc.
  • Negative (-1.0 to -0.1): Losses, sanctions, price drops, pessimism.
  • Neutral (-0.1 to 0.1): Factual reporting, sideways movement, ambiguous impact.
Helper Methods
  • update_single_news_sentiment(id, score, reason): Use this to save your manual analysis to the database.

Dependencies

  • torch (for FinBERT)
  • transformers (for FinBERT)
  • sqlite3 (built-in)

Ensure DatabaseManager is initialized correctly.

Related skills

How it compares

Prefer alphaear-sentiment over generic sentiment skills when inputs are finance-specific and you want FinBERT local scoring plus an LLM fallback in one workflow.

FAQ

Does alphaear-sentiment support local FinBERT?

alphaear-sentiment includes a FinBERT local path through scripts/sentiment_tools.py analyze_sentiment, which scores financial text without calling a remote API. Use LLM mode when you need flexible interpretation beyond FinBERT labels.

What text does alphaear-sentiment analyze?

alphaear-sentiment targets financial news, earnings calls, and market commentary, returning polarity labels and confidence scores. It is tuned for finance vocabulary rather than generic social-media sentiment.

Data Science & MLagentsllmresearch

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.