Install Alphaear Sentiment
Pick your agent. Every command is ready to paste.
npx skills add RKiding/Awesome-finance-skills --skill alphaear-sentimentThe open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads alphaear-sentiment when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the alphaear-sentiment skill”. In Codex, type $alphaear-sentiment.
The skill itself
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).
- Returns:
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.
Tips for Alphaear Sentiment
- • Start a fresh session after installing so your agent picks up the new skill.
- • This skill ships scripts. Read them before the first run, and run it in a project without secrets first.
- • It is part of a pack with 10 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Alphaear Sentiment
What does the Alphaear Sentiment skill do?
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.
How do I install Alphaear Sentiment?
Run "npx skills add RKiding/Awesome-finance-skills --skill alphaear-sentiment" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Alphaear Sentiment work in Cursor and Codex?
Yes. Alphaear Sentiment uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
Is Alphaear Sentiment free?
Alphaear Sentiment is open source on GitHub under the Apache-2.0 license. It is free to install; check the license before commercial use.
Who made Alphaear Sentiment?
Alphaear Sentiment is published by RKiding in the RKiding/Awesome-finance-skills repository, together with 9 other skills.

