AGENT SKILL

pm-nytimes

New York Times 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-nytimes
description
New York Times connector knowledge and safe action guide.

02 资源文件 1

03 SKILL.md 正文

pm-nytimes

Purpose

Reads New York Times Most Popular (viewed, emailed, shared) articles via the NYTimes Developer APIs.

Icon

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
  • mode
  • period
  • api_key (secret) (required)

ETL Streams

  • most_popular_viewed:
    • primary key: id
    • cursor: published_date
    • fields: abstract(string), byline(string), id(integer), published_date(string), section(string), source(string), title(string), type(string), updated(string), uri(string), url(string)
  • most_popular_emailed:
    • primary key: id
    • cursor: published_date
    • fields: abstract(string), byline(string), id(integer), published_date(string), section(string), source(string), title(string), type(string), updated(string), uri(string), url(string)
  • most_popular_shared:
    • primary key: id
    • cursor: published_date
    • fields: abstract(string), byline(string), id(integer), published_date(string), section(string), source(string), title(string), type(string), updated(string), uri(string), url(string)

Sync Modes

  • ETL sync modes: full_refresh_append, full_refresh_overwrite, full_refresh_overwrite_deduped

Security

  • read risk: external NYTimes API read of published article metadata (no PII)
  • Never pass secret values in chat, shell arguments, logs, docs, or JSON output.

Commands

Inspect as a manual

pm connectors inspect nytimes

Inspect as structured JSON

pm connectors inspect nytimes --json

Agent Rules

  • Run pm connectors inspect nytimes 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