get-news
- Repo stars 330
- License MIT
- Author repo claude-skill-registry
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 onlyAAPL 2025-04-01T00:00:00 3m→ January only
Logic
Parse arguments:
- TICKER = first argument
- CUTOFF = second argument (datetime)
- 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 CUTOFFstart= 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
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
- Fluxly category
- 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
- Author / version / license
- @majiayu000 · MIT
- Fluxly token estimate
- Lean
- Fluxly setup estimate
- Plug-and-play
- External API key
- No requirement detected
- Detected OS requirements
- Unspecified
- Runtime requirements
- Unspecified
- Detected file/system behavior
-
- Read-only
- Detected network behavior
- Local-only
- Install commands
- None (reference only)
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
The current SKILL.md does not define a fixed output example. $ARGUMENTS = TICKER CUTOFFDATETIME [MONTHOFFSET] Examples: AAPL 2025-04-01T00:00:00 → all news up to April 1st
Parse arguments: TICKER = first argument CUTOFF = second argument (datetime)
Query
Return pipe-delimited, one per line: If no results: NONEWSFOUND
## 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` Author text anchors workflow facts; Fluxly only indexes current sections, terms, files, and commands.
sections -> Arguments → Logic → Query → Output
terms -> Parse arguments: 1.
files/cmd -> $ARGUMENTS · TICKER CUTOFFDATETIME [MONTHOFFSET] · 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
Decide Fit First
Design Intent
How To Use It
Boundaries And Review