Install News Sentiment
Pick your agent. Every command is ready to paste.
npx skills add staskh/trading_skills --skill news-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 news-sentiment when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the news-sentiment skill”. In Codex, type $news-sentiment.
News Sentiment
Fetch recent news from Yahoo Finance: yfinance's ticker news first, then Yahoo's per-ticker RSS feed when that comes back empty or fails.
Instructions
Note: If
uvis not installed orpyproject.tomlis not found, replaceuv run pythonwithpythonin all commands below.
uv run python scripts/news.py SYMBOL [--limit LIMIT]
Arguments
SYMBOL- Ticker symbol--limit- Number of articles (default: 10)
Output
Returns JSON with:
articles- Array of recent news with title, publisher, date (YYYY-MM-DD HH:MM ET), link, typecount- Number of articles returnedsource-"yfinance"or"yahoo-rss"note- Withyahoo-rss: items are tagged to the ticker, not necessarily about it, and arrive newest first.publisheris the link's host (oftenfinance.yahoo.com), since the feed carries no publishermessage: "No news found"- both sources answered with no articleserror- no articles and at least one source failed; never read this as "no news"
Present key headlines and note any significant news that could impact the stock. Judge the sentiment from the headlines yourself. With yahoo-rss, skip market-wide stories that are not about the company when assessing its sentiment.
Dependencies
yfinance
Timezone
All timestamps and time-based calculations must use the America/New_York timezone. All JSON output must include generated_at (NY time string) and data_delay fields.
Tips for News 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 30 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 News Sentiment
What does the News Sentiment skill do?
Get recent news and sentiment for a stock. Use when user asks about news, headlines, sentiment, what's happening with a stock, or recent developments.
How do I install News Sentiment?
Run "npx skills add staskh/trading_skills --skill news-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 News Sentiment work in Cursor and Codex?
Yes. News 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 News Sentiment free?
News Sentiment is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.
Who made News Sentiment?
News Sentiment is published by staskh in the staskh/trading_skills repository, together with 29 other skills.



