machina-sports/sports-skills

sports-news

Sports news via RSS/Atom feeds and Google News. Fetch headlines, search by query, filter by date. Covers football news, transfer rumors, match reports, and any sport via Google News. Use when: user asks for recent news, headlines, transfer rumors, or articles about any sport. Good for "what's the latest on [team/player]" questions. Supports any Google News query and curated RSS feeds (BBC Sport, ESPN, The Athletic, Sky Sports). Don't use when: user asks for structured data like standings, score…

All-time #9479 First seen Feb 16, 2026
8-week activity · all time api

Installation

$ npx skills add machina-sports/sports-skills --skill sports-news

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from machina-sports/sports-skills · top by installs.

npx skills add machina-sports/sports-skills

Browse all from machina-sports/sports-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 215
License LICENSE
Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version0.1.0
LicenseMIT
More metadata
author
machina-sports
version
0.1.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 5,187 B
  • docs SUMMARY.md 946 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1,100 installs

SKILL.md

Sports News

Before writing queries, consult references/api-reference.md for command parameters and references/rss-feeds.md for curated feed URLs.

Quick Start

Prefer the CLI — it avoids Python import path issues:

sports-skills news fetch_items --google_news --query="Arsenal transfer" --limit=5
sports-skills news fetch_feed --url="https://feeds.bbci.co.uk/sport/football/rss.xml"

Python SDK (alternative):

from sports_skills import news

articles = news.fetch_items(google_news=True, query="Arsenal transfer news", limit=10)
feed = news.fetch_feed(url="https://feeds.bbci.co.uk/sport/football/rss.xml")

CRITICAL: Before Any Query

CRITICAL: Before calling any news command, verify:

  • Dates are derived from the system prompt's currentDate — never hardcoded.
  • google_news=True is always paired with a query parameter.
  • sortbydate=True is set for any "recent" or "latest" query.

Choosing Dates

Derive the current date from the system prompt's date (e.g., currentDate: 2026-02-16 means today is 2026-02-16).

  • "this week": after = today - 7 days
  • "recent" or "latest": after = today - 3 days
  • Specific date range: use as-is

Commands

Command Required Optional Description
fetch_feed url Fetch an RSS/Atom feed by URL
fetch_items googlenews, query, url, limit, after, before, sortby_date Fetch news from Google News or an RSS feed

Workflows

Breaking News Check

  1. fetchitems --googlenews --query="<topic>" --limit=5 --sortbydate=True
  2. Present headlines with source and date.

Topic Deep-Dive

  1. fetchitems --googlenews --query="<topic>" --after=<7daysago> --sortbydate=True --limit=10
  2. For curated sources, also try fetchfeed --url="<rssurl>".
  3. Cross-reference both for comprehensive coverage.

Weekly Sports Roundup

  1. For each sport of interest, fetchitems --googlenews --query="<sport> results" --after=<7daysago> --limit=5.
  2. Aggregate and present by sport.

Examples

Example 1: Transfer news search User says: "What's the latest Arsenal transfer news?" Actions:

  1. Derive after from currentDate: today minus 3 days
  2. Call fetchitems(googlenews=True, query="Arsenal transfer news", after=<deriveddate>, sortby_date=True, limit=10)

Result: Recent Arsenal transfer headlines with source, date, and links

Example 2: Curated RSS feed User says: "Show me BBC Sport football headlines" Actions:

  1. Call fetch_feed(url="https://feeds.bbci.co.uk/sport/football/rss.xml";)

Result: BBC Sport football feed title, last updated, and recent articles

Example 3: Date-filtered news User says: "Any Champions League news from this week?" Actions:

  1. Derive after from currentDate: today minus 7 days
  2. Call fetchitems(googlenews=True, query="Champions League", after=<deriveddate>, sortby_date=True, limit=10)

Result: Champions League articles from the last 7 days, sorted newest first

Commands that DO NOT exist — never call these

  • getnews — does not exist. Use fetchfeed (for RSS) or fetch_items (for Google News search).
  • searchnews — does not exist. Use fetchitems with google_news=True and a query parameter.
  • getheadlines — does not exist. Use fetchitems with google_news=True.

If a command is not listed in the Commands table above, it does not exist.

Troubleshooting

Error: Google News returns empty results Cause: query is missing or too narrow, or googlenews=True is not set Solution: Ensure googlenews=True AND a query are both set. Try broader keywords (e.g., "Arsenal" instead of "Arsenal vs Chelsea goal")

Error: RSS feed returns an error Cause: The feed URL may be temporarily down or the URL format has changed Solution: Use Google News (fetchitems with googlenews=True) as a fallback for the same topic

Error: Articles returned are old despite using "recent" query Cause: sortbydate=True is not set, or the after date filter is missing Solution: Add sortbydate=True and after=<today - 3 days> to ensure newest articles appear first