# Pm Gnews

> GNews connector knowledge and safe action guide.

- Skill: `polymetrics-ai/pm-gnews` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add polymetrics-ai/pm-gnews`
- Raw SKILL.md: https://api.skillmd.com/api/skills/polymetrics-ai/pm-gnews/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: polymetrics-ai (https://skillmd.com/u/polymetrics-ai)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/polymetrics-ai/pm-gnews

---


# 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

```bash
pm connectors inspect gnews
```

### Inspect as structured JSON

```bash
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.

