get news
- Repo stars 330
- License MIT
- Author repo claude-skill-registry
- Domain
- Data
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 94 / 100 · heuristic scan, not runtime safety proof
- Runtime evidence
- Not run; no isolated runtime test evidence is currently recorded
- Author / version / license
- @majiayu000 · MIT
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No explicit requirements detected
- Detected file/system behavior
-
- Read-only
- Network behavior
- Local-only
- Install commands
- None (reference only)
Heads up: Tool permissions are not declared; actual access depends on the runtime.
## 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`
Sections and files
Listed in source order.
sections -> Arguments → Logic → Query → Output
terms -> Parse arguments: 1.
files/cmd -> $ARGUMENTS · TICKER CUTOFF_DATETIME [MONTH_OFFSET] · AAPL 2025-04-01T00:00:00 · AAPL 2025-04-01T00:00:00 1m · AAPL 2025-04-01T00:00:00 2m · AAPL 2025-04-01T00:00:00 3m · start = '1900-01-01' · end = CUTOFF
body sha256 -> 5aa4f70ca612
Arguments
$ARGUMENTS=TICKER CUTOFF_DATETIME [MONTH_OFFSET]Examples:AAPL 2025-04-01T00:00:00→ all news up to April 1stAAPL 2025-04-01T00:00:00 1m→ March onlyAAPL 2025-04-01T00:00:00 2m→ February onlyLogic
Parse arguments: TICKER = first argument CUTOFF = second argument (datetime) MONTH_OFFSET = optional third argument (1m, 2m, 3m, etc.) Calculate date range:
Output
Return pipe-delimited, one per line: If no results:
NO_NEWS_FOUND