Skip to content
Back to skills

Get News

ASecurity

Fetch news for a ticker up to a cutoff date, optionally for a specific month window

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
tools

Works with

  • mcp

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill get-news --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Get News?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Get News
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-get-news/badge)](https://www.skillsdirectory.com/skills/majiayu000-get-news)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: get-news
description: Fetch news for a ticker up to a cutoff date, optionally for a specific month window
context: fork
allowed-tools:
  - mcp__neo4j-cypher__read_neo4j_cypher
---

## Arguments

`$ARGUMENTS` = `TICKER CUTOFF_DATETIME [MONTH_OFFSET]`

Examples:
- `AAPL 2025-04-01T00:00:00` → all news up to April 1st
- `AAPL 2025-04-01T00:00:00 1m` → March only
- `AAPL 2025-04-01T00:00:00 2m` → February only
- `AAPL 2025-04-01T00:00:00 3m` → January only

## Logic

Parse arguments:
1. TICKER = first argument
2. CUTOFF = second argument (datetime)
3. MONTH_OFFSET = optional third argument (1m, 2m, 3m, etc.)

Calculate date range:
- If no offset: `start = '1900-01-01'`, `end = CUTOFF`
- If offset Nm:
  - `end` = first day of month that is (N-1) months before CUTOFF
  - `start` = first day of month that is N months before CUTOFF

Example with CUTOFF = 2025-04-01T00:00:00:
- 1m → start: 2025-03-01, end: 2025-04-01 (March)
- 2m → start: 2025-02-01, end: 2025-03-01 (February)
- 3m → start: 2025-01-01, end: 2025-02-01 (January)

## Query

```cypher
MATCH (n:News)-[r:INFLUENCES]->(c:Company {ticker: $ticker})
WHERE n.created >= $start AND n.created < $end
RETURN n.created, n.title, r.daily_stock
ORDER BY n.created ASC
```

## Output

Return pipe-delimited, one per line:
```
datetime|title|return
```

If no results: `NO_NEWS_FOUND`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.