AGENT SKILL

pm-gnews

GNews connector knowledge and safe action guide.

License 许可
AGPL-3.0
所属仓库
polymetrics-ai/cli
最近更新
2026-09-21
Stars
★ 7
Forks
0

01 前言 Front Matter

name
pm-gnews
description
GNews connector knowledge and safe action guide.

03 SKILL.md 正文

pm-gnews

Purpose

Reads GNews articles from the keyword search and top-headlines endpoints of the GNews REST API. Read-only.

Icon

  • id: gnews
  • asset: icons/gnews.svg
  • source: upstream_registry
  • review_status: upstream_seeded
  • review_url: https://gnews.io/docs/

Capabilities

  • check=true catalog=true read=true write=false query=false
  • Integration type: api

Authentication

  • Use pm credentials add with --from-env or --value-stdin for secret fields.

Configuration

  • base_url
  • country
  • end_date
  • in
  • language
  • max_pages
  • mode
  • nullable
  • page_size
  • query
  • sortby
  • start_date
  • top_headlines_query
  • top_headlines_topic
  • api_key (secret) (required)

ETL Streams

  • search:
    • primary key: id
    • cursor: published_at
    • fields: content(string), description(string), id(string), image(string), lang(string), published_at(string), source_country(string), source_id(string), source_name(string), source_url(string), title(string), url(string)
  • top_headlines:
    • primary key: id
    • cursor: published_at
    • fields: content(string), description(string), id(string), image(string), lang(string), published_at(string), source_country(string), source_id(string), source_name(string), source_url(string), title(string), url(string)

Sync Modes

  • ETL sync modes: full_refresh_append, full_refresh_overwrite, full_refresh_overwrite_deduped, incremental_append, incremental_append_deduped

Security

  • read risk: external GNews API read of news article search results
  • approval: none; read-only news search API
  • Never pass secret values in chat, shell arguments, logs, docs, or JSON output.

Commands

Inspect as a manual

pm connectors inspect gnews

Inspect as structured JSON

pm connectors inspect gnews --json

Agent Rules

  • Run pm connectors inspect gnews before creating credentials or plans.
  • Use --json only when the caller needs structured output; use the manual for human-readable guidance.
  • Never ask the user to paste secret values into chat.

04 同仓库更多 Skills