← 返回 Skills 市场
fredhjc

AI News Feed API

作者 FredHJC · GitHub ↗ · v1.1.1
cross-platform ✓ 安全检测通过
400
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install ai-news-feed
功能描述
Query the AI News Feed API for real-time AI/ML news from 57+ curated Twitter/X accounts. Use when the user asks about AI news, trending AI topics, what's hap...
使用说明 (SKILL.md)

AI News Feed API

Query pre-aggregated, LLM-enriched AI/ML news from 57+ Twitter/X accounts. Data is updated every 2 hours.

API Access & Setup

Before making any API call, check if the user has a RapidAPI key configured. If not, guide them through these steps:

  1. Sign up / Log in at \x3Chttps://rapidapi.com> (free)
  2. Subscribe to the API at \x3Chttps://rapidapi.com/jiachenfred/api/twitter-ai-news-feed> (free tier available, no credit card needed)
  3. After subscribing, go to the API's Endpoints tab on RapidAPI — the X-RapidAPI-Key will be auto-filled in the code snippets on the right side. Copy it.
  4. Store the key for future use (e.g. in an environment variable RAPIDAPI_KEY)

All requests must include these headers:

X-RapidAPI-Key: \x3Cuser's own key from step 3>
X-RapidAPI-Host: twitter-ai-news-feed.p.rapidapi.com

Base URL: https://twitter-ai-news-feed.p.rapidapi.com

Response format: All endpoints return JSON. See references/api-spec.md for full response schemas.

Endpoints

Get Feed — GET /v1/feed

Latest posts sorted by recency.

Param Type Default Description
lang en | zh en Response language
limit 1-100 20 Number of posts
offset int 0 Pagination
tags string Comma-separated filter: paper, model_release, funding, product_launch, opinion, tutorial, benchmark, open_source, regulation, industry
min_importance 1-10 Minimum importance score
since unix ts Posts after this timestamp

Example: GET /v1/feed?lang=zh&limit=5&tags=model_release,paper&min_importance=7

Get Trending — GET /v1/feed/trending

Top posts ranked by importance within a time window.

Param Type Default Description
lang en | zh en Response language
limit 1-50 10 Number of posts
hours 1-168 24 Time window (168 = 7 days)

Example: GET /v1/feed/trending?lang=zh&hours=48&limit=10

Get Accounts — GET /v1/accounts

List all 57+ monitored accounts.

Param Type Description
category official | researcher | media | kol Filter by category

Get Account Posts — GET /v1/accounts/{handle}/posts

Posts from a specific account (e.g. /v1/accounts/karpathy/posts).

Param Type Default Description
lang en | zh en Response language
limit 1-100 20 Number of posts
offset int 0 Pagination

Get Tags — GET /v1/tags

All tags with post counts. No parameters.

Health Check — GET /health

Returns {"status": "ok", "timestamp": "..."}.

Key Response Fields

Each post in the response contains:

  • content — Original tweet text
  • summary — One-line LLM summary (language follows lang param)
  • description — Detailed 2-4 sentence LLM analysis (language follows lang param)
  • tags — Array of topic tags
  • importance — Score 1-10 (composite of LLM analysis + engagement metrics)
  • metrics{likes, retweets, replies, views}
  • tweetUrl — Link to original tweet
  • tweetedAt — ISO 8601 publish time (UTC, convert to user's local timezone before displaying)
  • account{handle, name, category}

For complete JSON schemas, see references/api-spec.md.

Making Requests

Example curl (replace YOUR_KEY with the user's RapidAPI key):

curl "https://twitter-ai-news-feed.p.rapidapi.com/v1/feed/trending?lang=zh&limit=5" \
  -H "X-RapidAPI-Key: YOUR_KEY" \
  -H "X-RapidAPI-Host: twitter-ai-news-feed.p.rapidapi.com"

Common Use Cases

  1. Get today's top AI news in Chinese: GET /v1/feed/trending?lang=zh&hours=24&limit=10
  2. Find new model releases: GET /v1/feed?tags=model_release&min_importance=5
  3. Track a specific researcher: GET /v1/accounts/karpathy/posts?lang=zh
  4. Get funding news only: GET /v1/feed?tags=funding&min_importance=6
  5. Weekly digest: GET /v1/feed/trending?hours=168&limit=20&lang=en

Monitored Account Categories

  • Official (23): OpenAI, Anthropic, Google AI, Meta AI, NVIDIA, Hugging Face, Mistral, xAI, Stability AI, Runway, Perplexity, ElevenLabs, Cursor, Replit, etc.
  • Researcher (13): Karpathy, Yann LeCun, Andrew Ng, Jeff Dean, Ilya Sutskever, Jim Fan, Demis Hassabis, Jeremy Howard, etc.
  • KOL (12): Swyx, Simon Willison, Logan Kilpatrick, Emad Mostaque, Linus Ekenstam, etc.
  • Media (9): MIT Tech Review, WIRED, The Verge, AI Breakfast, Ben's Bites, The Rundown AI, etc.
安全使用建议
This skill is an instruction-only interface for a third‑party RapidAPI service that aggregates AI-related tweets; it does not install code on your machine. Before using it: (1) verify the RapidAPI listing (twitter-ai-news-feed.p.rapidapi.com) to confirm the operator and pricing; (2) do not paste your long‑term secret keys into chat — store the RapidAPI key in your own environment if you trust the API; (3) note the small metadata inconsistency: the skill docs expect a RAPIDAPI_KEY even though the registry metadata lists none; expect the agent to ask you for that key or for permission to use it; (4) consider testing with a limited or disposable RapidAPI subscription if you want to evaluate the feed without exposing production credentials.
功能分析
Type: OpenClaw Skill Name: ai-news-feed Version: 1.1.1 The skill bundle is designed to query a legitimate AI news API hosted on RapidAPI. It instructs the agent to guide the user in obtaining and storing a RapidAPI key (e.g., in an environment variable) for authentication, which is a standard practice for third-party API access. All network communication is directed to a specific, hardcoded domain (`twitter-ai-news-feed.p.rapidapi.com`). There are no instructions in SKILL.md that suggest prompt injection, data exfiltration, malicious execution, persistence, or any other unauthorized behavior. The `curl` example is illustrative, not a direct command for the agent to execute with unsanitized user input.
能力评估
Purpose & Capability
Name and description describe a RapidAPI-hosted AI news feed; the SKILL.md only requires a RapidAPI key and provides endpoints and response schemas that match the stated purpose. No unrelated services, binaries, or credentials are requested.
Instruction Scope
Runtime instructions are focused on calling the documented API endpoints and formatting/display concerns (e.g., timezone conversion). They instruct obtaining and using a RapidAPI key and include example curl calls. The instructions do not ask the agent to read arbitrary files, harvest system data, or contact unexpected endpoints beyond the documented RapidAPI host.
Install Mechanism
Instruction-only skill with no install spec or code files — nothing is written to disk or downloaded by the skill itself, which minimizes install-time risk.
Credentials
SKILL.md instructs users to obtain and store a RapidAPI key (suggested env var RAPIDAPI_KEY) even though the registry metadata lists 'Required env vars: none' and 'Primary credential: none'. This metadata/instruction mismatch is a minor inconsistency that could confuse users about what credentials are needed.
Persistence & Privilege
The skill is not always-on, is user-invocable, and does not request persistent or elevated platform privileges. It does not modify other skills or system settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ai-news-feed
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ai-news-feed 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.1
Note tweetedAt is UTC, prompt agents to convert to user local timezone
v1.1.0
Added setup guide: prompt agent to help users sign up for RapidAPI key before first use
v1.0.0
ai-news-feed 1.0.0 — Initial Release - Query real-time AI/ML news from 57+ curated Twitter/X accounts via REST API. - Supports bilingual (EN/ZH) summaries, detailed analysis, importance scores, and topic tags. - Endpoints include latest feed, trending posts, account-specific posts, tags, and health check. - Provides filtering by tags, importance, account category, and supports pagination. - Includes sample use cases for trending news, model releases, funding, and researcher tracking.
元数据
Slug ai-news-feed
版本 1.1.1
许可证
累计安装 1
当前安装数 1
历史版本数 3
常见问题

AI News Feed API 是什么?

Query the AI News Feed API for real-time AI/ML news from 57+ curated Twitter/X accounts. Use when the user asks about AI news, trending AI topics, what's hap... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 400 次。

如何安装 AI News Feed API?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ai-news-feed」即可一键安装,无需额外配置。

AI News Feed API 是免费的吗?

是的,AI News Feed API 完全免费(开源免费),可自由下载、安装和使用。

AI News Feed API 支持哪些平台?

AI News Feed API 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 AI News Feed API?

由 FredHJC(@fredhjc)开发并维护,当前版本 v1.1.1。

💬 留言讨论