
Sports News
- 961 installs
- 201 repo stars
- Updated August 5, 2026
- machina-sports/sports-skills
sports-news is a coding-agent skill that fetches sports headlines, scores, and articles from RSS/Atom feeds or Google News search without writing custom scrapers.
About
sports-news is a machina-sports skill that exposes two commands for pulling sports news into agent workflows: fetch_feed loads an RSS or Atom URL and returns feed metadata plus recent entries, and fetch_items retrieves news from either a feed URL or a Google News search query. Each entry includes title, link, published date, summary, and source, with optional limit and after-date filtering on items. Developers reach for sports-news when building sports dashboards, alert bots, fantasy tools, or content aggregators that need fresh headlines without maintaining brittle HTML parsers. The API reference defines required and optional parameters explicitly, including the rule that google_news queries require a query string when enabled. Because feeds and Google News are mutually exclusive inputs, agents pick one source path per call and return structured JSON-ready item lists.
- Two core commands: fetch_feed for any RSS/Atom URL and fetch_items supporting both Google News queries and RSS sources
- Built-in date filtering with after/before parameters derived from currentDate for 'this week' or 'last month' requests
- Curated list of premium sports RSS feeds including BBC Sport, ESPN, The Athletic and Sky Sports
- Enforces mutual exclusivity and required parameters to prevent malformed agent calls
- Returns structured items with title, link, published date, summary and source for direct use in UIs or digests
Sports News by the numbers
- 961 all-time installs (skills.sh)
- +4 installs in the week ending Aug 4, 2026 (Skillselion tracking)
- Ranked #1,140 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/machina-sports/sports-skills --skill sports-newsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 961 |
|---|---|
| repo stars | ★ 201 |
| Security audit | 2 / 3 scanners passed |
| Last updated | August 5, 2026 |
| Repository | machina-sports/sports-skills ↗ |
How do agents fetch sports news from RSS feeds?
Let their coding agent reliably pull the latest sports news, scores, and articles from RSS feeds or Google News without writing custom scrapers.
Who is it for?
Developers building sports apps, bots, or dashboards who want agent-callable RSS and Google News ingestion instead of hand-written scrapers.
Skip if: Developers needing play-by-play stats APIs, betting odds, or proprietary league endpoints that RSS and Google News cannot supply.
When should I use this skill?
An agent must retrieve recent sports articles or scores from an RSS/Atom URL or a Google News search query.
What you get
Structured feed metadata, news entry arrays with title/link/published/summary/source, and filtered item lists from Google News queries.
- feed metadata objects
- news entry arrays
- filtered headline lists
Files
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=Trueis always paired with aqueryparameter.sort_by_date=Trueis 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 | google_news, query, url, limit, after, before, sort_by_date | Fetch news from Google News or an RSS feed |
Workflows
Breaking News Check
1. fetch_items --google_news --query="<topic>" --limit=5 --sort_by_date=True 2. Present headlines with source and date.
Topic Deep-Dive
1. fetch_items --google_news --query="<topic>" --after=<7_days_ago> --sort_by_date=True --limit=10 2. For curated sources, also try fetch_feed --url="<rss_url>". 3. Cross-reference both for comprehensive coverage.
Weekly Sports Roundup
1. For each sport of interest, fetch_items --google_news --query="<sport> results" --after=<7_days_ago> --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 fetch_items(google_news=True, query="Arsenal transfer news", after=<derived_date>, sort_by_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 fetch_items(google_news=True, query="Champions League", after=<derived_date>, sort_by_date=True, limit=10) Result: Champions League articles from the last 7 days, sorted newest first
Commands that DO NOT exist — never call these
- ~~
get_news~~ — does not exist. Usefetch_feed(for RSS) orfetch_items(for Google News search). - ~~
search_news~~ — does not exist. Usefetch_itemswithgoogle_news=Trueand aqueryparameter. - ~~
get_headlines~~ — does not exist. Usefetch_itemswithgoogle_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 google_news=True is not set Solution: Ensure google_news=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 (fetch_items with google_news=True) as a fallback for the same topic
Error: Articles returned are old despite using "recent" query Cause: sort_by_date=True is not set, or the after date filter is missing Solution: Add sort_by_date=True and after=<today - 3 days> to ensure newest articles appear first
Sports News — API Reference
Commands
fetch_feed
Fetch an RSS/Atom feed by URL and return feed metadata plus recent entries.
url(str, required): Full RSS/Atom feed URL
Returns feed title, last updated timestamp, and entries[] with title, link, published date, summary, and source.
fetch_items
Fetch news items from Google News or an RSS feed.
google_news(bool, optional): Set toTrueto use Google News searchquery(str, optional, required when `google_news=True`): Search query stringurl(str, optional): RSS/Atom feed URL (mutually exclusive withgoogle_news)limit(int, optional): Max items to returnafter(str, optional): Filter items after this date (YYYY-MM-DD)before(str, optional): Filter items before this date (YYYY-MM-DD)sort_by_date(bool, optional): Sort results by date descending (newest first)
Returns items[] with title, link, published date, summary, and source.
Important constraints:
google_news=Truerequires aquery— without it, Google News has nothing to search.urlandgoogle_newsare mutually exclusive — use one or the other, not both.- Always use
sort_by_date=Truefor recency queries to show newest articles first.
Curated RSS Feed URLs
See references/rss-feeds.md for the full list of curated RSS feed URLs (BBC Sport, ESPN, The Athletic, Sky Sports, etc.).
Date Handling
Derive dates from the system prompt's currentDate:
- "this week":
after = today - 7 days - "recent" or "latest":
after = today - 3 days - Specific date range: use as-is
Never hardcode dates — always derive from currentDate.
Useful RSS Feeds
| Source | URL |
|---|---|
| BBC Sport Football | https://feeds.bbci.co.uk/sport/football/rss.xml |
| ESPN FC | https://www.espn.com/espn/rss/soccer/news |
| The Athletic | https://theathletic.com/rss/ |
| Sky Sports Football | https://www.skysports.com/rss/12040 |
Google News Queries
Use google_news=True with query to search Google News:
"Arsenal transfer news"-- Arsenal transfer news"Premier League results"-- latest PL results"Champions League draw"-- CL draw coverage"World Cup 2026"-- World Cup news
#!/bin/bash
# Validates sports-news parameters
if [[ "$*" == *"--google_news"* && "$*" != *"--query="* ]]; then
echo "ERROR: google_news=True requires a --query parameter."
exit 1
fi
if [[ "$*" == *"--url="* && "$*" == *"--google_news"* ]]; then
echo "ERROR: --url and --google_news are mutually exclusive."
exit 1
fi
echo "OK"
Related skills
How it compares
Pick sports-news over generic web-scraping skills when the source is RSS, Atom, or Google News and structured headline fields are enough.
FAQ
What commands does sports-news provide?
sports-news exposes fetch_feed for RSS/Atom URLs and fetch_items for Google News searches or feed URLs. Both return structured entries with title, link, published date, summary, and source fields suitable for downstream agent processing.
Can sports-news search Google News by keyword?
sports-news fetch_items accepts google_news=True with a required query string to search Google News. Developers can also pass a direct RSS/Atom url instead, but those two source modes are mutually exclusive per call.
Is Sports News safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.