Analyzes financial text sentiment using FinBERT (local) or LLM-based analysis. Returns score, label, and reason for positive/negative/neutral classification.
Ships in rkiding-awesome-finance-skills-1. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill provides sentiment analysis capabilities tailored for financial texts, supporting both FinBERT (local model) and LLM-based analysis modes.
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.
{'score': float, 'label': str, 'reason': str}.batch_update_news_sentiment(source, limit): Batch process unanalyzed news in the database (FinBERT only).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.
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:
update_single_news_sentiment(id, score, reason): Use this to save your manual analysis to the database.torch (for FinBERT)transformers (for FinBERT)sqlite3 (built-in)Ensure DatabaseManager is initialized correctly.
scripts/__init__.py (opens in a new tab)scripts/database_manager.py (opens in a new tab)scripts/llm/capability.py (opens in a new tab)scripts/llm/factory.py (opens in a new tab)scripts/llm/router.py (opens in a new tab)scripts/sentiment_tools.py (opens in a new tab)tests/test_sentiment.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/alphaear-deepear-liteFetch the latest financial signals and transmission-chain analyses from DeepEar Lite. Use when the user needs immediate insights into financial market trends, stock performance factors, and reasoning from the DeepEar Lite dashboard./alphaear-logic-visualizerCreate visualize finance logic diagrams (e.g., Draw.io XML) to explain complex finance transmission chains or finance logic flows./alphaear-newsFetch hot finance news, unified trends, and prediction financial market data. Use when the user needs real-time financial news, trend reports from multiple finance sources (Weibo, Zhihu, WallstreetCN, etc.), or Polymarket finance market prediction data./alphaear-predictorMarket prediction skill using Kronos. Use when user needs finance market time-series forecasting or news-aware finance market adjustments./alphaear-reporterPlan, write, and edit professional financial reports; generate finance chart configurations. Use when condensing finance analysis into a structured output./alphaear-searchPerform finance web searches and local context searches. Use when the user needs general finance info from the web (Jina/DDG/Baidu) or needs to retrieve finance information from a local document store (RAG)./rkiding-awesome-finance-skills-1:alphaear-sentimentfrom rkiding-awesome-finance-skills-1
rkiding-awesome-finance-skills-1@cascade-business-ops is listed by joshuarweaver/cascade-business-ops — review the source before installing
npx claudepluginhub joshuarweaver/cascade-business-ops --plugin rkiding-awesome-finance-skills-1Other plugins' skills for the same job