← Back to Skills Marketplace
hegghammer

NewsAPI Search

by Hegghammer · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
2121
Downloads
2
Stars
5
Active Installs
1
Versions
Install in OpenClaw
/install newsapi-search
Description
Search news articles via NewsAPI with filtering by time windows, sources, domains, and languages.
Usage Guidance
This package is mostly what it says: a NewsAPI client implemented in Node. Before installing or running it, verify and decide whether you are comfortable putting your NewsAPI key in ~/.openclaw/.env and ensure that file does not contain unrelated secrets. The registry metadata failing to declare NEWSAPI_KEY is a red flag — ask the publisher to update the metadata or add the key declaration yourself. Review the scripts locally (they are small and readable) to confirm there are no hidden endpoints or behaviors, and ensure the .env file has restrictive permissions (e.g., 600). If you plan to let an agent invoke the skill autonomously, consider the limited free-tier quota (100/day) and avoid storing other credentials in ~/.openclaw/.env to reduce accidental exposure.
Capability Analysis
Type: OpenClaw Skill Name: newsapi-search Version: 1.0.0 The OpenClaw skill is designed to search news articles via NewsAPI. It securely loads the `NEWSAPI_KEY` from `~/.openclaw/.env` as instructed in `SKILL.md`. The `scripts/search.js` and `scripts/sources.js` files make network requests exclusively to `https://newsapi.org` using the provided API key, which is consistent with the skill's stated purpose. There is no evidence of data exfiltration to unauthorized endpoints, malicious execution, persistence mechanisms, obfuscation, or prompt injection attempts against the agent in any of the analyzed files.
Capability Assessment
Purpose & Capability
The name/description (NewsAPI search) aligns with the included scripts and behavior: both scripts call newsapi.org endpoints and implement search/sources functionality. However, the skill metadata declares no required environment variables or primary credential while the code clearly requires NEWSAPI_KEY — this registry omission is an inconsistency.
Instruction Scope
SKILL.md and the scripts' runtime instructions are narrowly scoped: they read a local ~/.openclaw/.env file for the API key and make HTTPS requests only to newsapi.org. The instructions do not direct reading of unrelated system files, nor do they post data to third‑party endpoints other than NewsAPI.
Install Mechanism
There is no install spec or remote download. This is an instruction-only skill with included JS scripts; nothing in the package pulls external code or installers.
Credentials
The code requires NEWSAPI_KEY but the registry metadata didn't declare it. The scripts implement a loader that reads ~/.openclaw/.env and sets process.env for every key there — so if that file contains other secrets they will be loaded into the process environment (even if the scripts don't explicitly use them). Requiring a single NewsAPI key is reasonable for the stated purpose, but the metadata mismatch and the wholesale .env loading are proportionality concerns.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system-wide configs, and does not persist beyond its scripts. Autonomous invocation is allowed by platform default but is not combined here with other high-privilege requests.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install newsapi-search
  3. After installation, invoke the skill by name or use /newsapi-search
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug newsapi-search
Version 1.0.0
License
All-time Installs 5
Active Installs 5
Total Versions 1
Frequently Asked Questions

What is NewsAPI Search?

Search news articles via NewsAPI with filtering by time windows, sources, domains, and languages. It is an AI Agent Skill for Claude Code / OpenClaw, with 2121 downloads so far.

How do I install NewsAPI Search?

Run "/install newsapi-search" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is NewsAPI Search free?

Yes, NewsAPI Search is completely free (open-source). You can download, install and use it at no cost.

Which platforms does NewsAPI Search support?

NewsAPI Search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created NewsAPI Search?

It is built and maintained by Hegghammer (@hegghammer); the current version is v1.0.0.

💬 Comments