본문으로 건너뛰기
cccskills
무료GitHub에 공개

alphaear-sentiment

Analyze financial text with local FinBERT or an LLM to identify positive, negative, or neutral sentiment. Return a numeric score and short reason, with support for batch processing unanalyzed news using FinBERT.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Analyze finance text sentiment using FinBERT or LLM. Use when the user needs to determine the sentiment (positive/negative/neutral) and score of financial text markets.

실행 점수 미검증

설치 방법 보기

이럴 때 유용합니다

  • Classifying sentiment in financial news
  • Batch processing unanalyzed news with FinBERT
  • Using an LLM when sentiment analysis needs reasoning
  • Saving sentiment scores and reasons to a database

포함된 파일(8)

  • SKILL.md2.0 KB
  • scripts/__init__.py0 B
  • scripts/database_manager.py21.3 KB
  • scripts/llm/capability.py2.8 KB
  • scripts/llm/factory.py3.6 KB
  • scripts/llm/router.py2.8 KB
  • scripts/sentiment_tools.py8.3 KB
  • tests/test_sentiment.py743 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Retrieve the latest financial signals from DeepEar Lite as a formatted report. Review titles, summaries, sentiment indicators, confidence scores, and source links to understand reported market trends and factors affecting stock performance.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Checking the latest financial signals
  • Reviewing reported factors affecting stock performance
  • Reading signal summaries alongside confidence scores
RKiding/Awesome-finance-skills3.1천2026년 3월 29일 업데이트

Turn investment theses and chains of financial market effects into Draw.io-compatible diagrams. The skill generates diagram XML and saves it in a viewable HTML file, helping readers follow complex relationships and reasoning.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Visualizing the reasoning behind an investment thesis
  • Mapping how financial signals transmit through markets
  • Preparing a viewable diagram to explain financial logic
RKiding/Awesome-finance-skills3.1천2026년 3월 29일 업데이트

Fetch current financial headlines and combine trending stories from multiple sources, including Weibo and WallstreetCN. You can also retrieve a summary of active Polymarket prediction markets to review alongside the news.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Check trending financial news
  • Combine headlines from several sources into one report
  • Review a summary of active Polymarket prediction markets
RKiding/Awesome-finance-skills3.1천2026년 3월 29일 업데이트

Generate financial market forecasts with Kronos using time-series data, meaning observations recorded over time. An agent then adjusts the numerical forecast using recent news sentiment and reasoning, combining a quantitative baseline with a subjective assessment.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Forecasting financial market trends from time-series data
  • Adjusting a baseline forecast using recent news
  • Combining quantitative forecasts with news sentiment
RKiding/Awesome-finance-skills3.1천2026년 3월 29일 업데이트

Turn financial analysis and investment signals into a structured report. Group related signals, draft sections, assemble and edit the report, and create chart configurations to support the written analysis when needed.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Turning investment signals into a financial report
  • Grouping related signals to plan report sections
  • Combining section drafts into a complete report
RKiding/Awesome-finance-skills3.1천2026년 3월 29일 업데이트

Search for financial information on the web or in a local news database. Use Jina, DDG, or Baidu, combine results from multiple engines, and assess whether cached results can answer a query before searching again.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Researching financial information on the web
  • Combining results from multiple search engines
  • Finding financial information in stored local news
RKiding/Awesome-finance-skills3.1천2026년 3월 29일 업데이트

RKiding의 스킬 모두 보기

이 스킬의 문제 신고