news-api-currents

news-api-currents is a skill for Codex from currentslab/news-api-skills. It costs 37 tokens per session (387 once invoked), scanned A, original, MIT.

A guide for adding Currents News API data, such as latest articles or search results, to a product through a secure backend service.

In plain words
What is it for?
Use it when building a server-side proxy for news feeds or news search while protecting credentials and normalizing responses.
Why use it?
It keeps the owner’s API key out of client applications and covers request validation, quotas, caching, dates, retries, and error handling.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when building a server-side proxy for news feeds or news search while protecting credentials and normalizing responses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/currentslab/news-api-skills/news-api-currents
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add currentslab/news-api-skills --skill news-api-currents
Clone the repo
git clone --depth 1 https://github.com/currentslab/news-api-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for news-api-currents

README.md
[![agentmods](https://agentmods.dev/badge/skills/currentslab/news-api-skills/news-api-currents/github.svg)](https://agentmods.dev/skills/currentslab/news-api-skills/news-api-currents)
Your own site
<a href="https://agentmods.dev/skills/currentslab/news-api-skills/news-api-currents"><img src="https://agentmods.dev/badge/skills/currentslab/news-api-skills/news-api-currents/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for news-api-currents

Your own site · 80×15
<a href="https://agentmods.dev/skills/currentslab/news-api-skills/news-api-currents"><img src="https://agentmods.dev/badge/skills/currentslab/news-api-skills/news-api-currents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 387 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00387
Opus 5 $0.00018 $0.00193
Sonnet 5 $0.00007 $0.00077
Haiku 4.5 $0.00004 $0.00039

Measured 9d ago against content hash 8b3dac146b21, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

news-api-currents scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Using default Python urllib User-Agent can trigger Cloudflare/WAF block (`403`, error `1010`).
targets/agentskills/news-api-currents/SKILL.md · 47 lines

What it actually says

Currents Owner Interface (Portable)

Trigger

Use when a user asks to expose Currents data to end users while keeping owner credentials private.

Requirements

  • Backend service with outbound internet
  • Runtime env var: CURRENTS_API_KEY

Need an API key?

If you do not have a Currents API key yet, register here:

Steps

  1. Accept user request at your backend only.
  2. Validate and allowlist request params.
  3. Call:
    • https://api.currentsapi.services/v2/latest-news
    • https://api.currentsapi.services/v2/search
  4. Authenticate with a bearer Authorization header sourced from the environment.
  5. Enforce request quotas + caching.
  6. Return normalized response schema and error mapping.

Date filtering (UTC+0)

  • Send start_date / end_date in RFC3339/ISO-8601 format.
  • Convert user-local times to UTC (Z) before requesting.
  • Treat returned published timestamps as UTC (+0000).
  • Use half-open windows (>= start, < end) to avoid boundary duplicates.

Pitfalls

  • Exposing owner key in client apps.
  • No param validation.
  • Missing retries/backoff on 5xx or 429.
  • Using default Python urllib User-Agent can trigger Cloudflare/WAF block (403, error 1010).

Verification

  • Key absent from client-side artifacts.
  • Bounded page size and validated filters.
  • Audit logs redact secret values.
  • Backend requests send explicit browser/curl-like User-Agent.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 47 lines · 37 tokens per session scan A 8b3dac146b21

Subscribe to this mod's changes

news-api-currents is a skill published in the GitHub repository currentslab/news-api-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 387 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

docs-from-code

Generates and updates README.md and API reference docs by reading your codebase's functions, routes, types, schemas, and architecture. Uses graphify to build a knowledge graph first, then writes accurate docs from it. Use when asked to write docs, generate a README, document an API, update stale docs, create an API…

Varnan-Tech/opendirectory · 111 tokens

create-structured-output

Design, create, inspect, update, attach, detach, preview, execute, and verify reusable Vapi Structured Outputs through public API or Server SDK workflows. Use for post-call extraction, typed call artifacts, AI-versus-regex extraction, JSON Schema design, backfilling existing calls, or retrieving structured results…

VapiAI/skills · 70 tokens

create-tool

Select, define, create, inspect, update, attach, detach, and verify reusable Vapi tools through the public API. Use for native call-control tools, supported provider integrations, API Request tools, custom function tools, MCP tools, tool messages, credentials, or configuration-preserving assistant attachment changes.

VapiAI/skills · 63 tokens

create-phone-number

Plan, provision, import, route, update, and verify Vapi phone numbers through the public API. Use for Vapi-hosted US PSTN numbers, explicitly requested SIP addresses, Twilio/Vonage/Telnyx or BYO carrier numbers, secure credential handling, assistant or squad routing, area-code requests, outbound limitations, and…

VapiAI/skills · 77 tokens

setup-webhook

Configure Vapi server URLs and webhooks to receive real-time call events, transcripts, tool calls, and end-of-call reports. Use when setting up webhook endpoints, building tool servers, or integrating Vapi events into your application.

VapiAI/skills · 50 tokens

build-mcp-server

This skill should be used when the user asks to "build an MCP server", "create an MCP", "make an MCP integration", "wrap an API for Claude", "expose tools to Claude", "make an MCP app", or discusses building something with the Model Context Protocol. It is the entry point for MCP server development — it interrogates…

anthropics/claude-plugins-official · 111 tokens