---
name: staskh-news-sentiment
description: "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."
license: "MIT"
metadata:
  decimalai-skill-id: "1dbbc2aa-156c-4553-9a88-eb86c5b02b03"
  decimalai-version-id: "f1aa0ccf-7762-4862-8b31-74bda569a903"
  decimalai-version: "1"
  decimalai-body-sha256: "f9e03135fcfff21b20f1e3c5c88617148b0a492d19c61d451bcae083a3916476"
  decimalai-name: "staskh/news-sentiment"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "finance"
  decimalai-source: "https://app.decimal.ai/s/staskh-news-sentiment@1/SKILL.md"
---
# News Sentiment

Fetch recent news from Yahoo Finance.

## Instructions

> **Note:** If `uv` is not installed or `pyproject.toml` is not found, replace `uv run python` with `python` in all commands below.

```bash
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, link
- `summary` - Brief summary of overall sentiment

Present key headlines and note any significant news that could impact the stock.

## 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.
