AGENT SKILL

pm-twitter

Twitter 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-twitter
description
Twitter connector knowledge and safe action guide.

03 SKILL.md 正文

pm-twitter

Purpose

Reads tweets and their authors matching a search query from the Twitter (X) API v2 recent search endpoint using an App-only Bearer token.

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
  • end_date
  • max_pages
  • mode
  • page_size
  • query (required)
  • start_date
  • api_key (secret)

ETL Streams

  • tweets:
    • primary key: id
    • cursor: created_at
    • fields: author_id(string), conversation_id(string), created_at(string), id(string), in_reply_to_user_id(string), lang(string), possibly_sensitive(boolean), public_metrics(object), source(string), text(string)
  • authors:
    • primary key: id
    • fields: created_at(string), description(string), id(string), location(string), name(string), protected(boolean), public_metrics(object), url(string), username(string), verified(boolean)

Sync Modes

  • ETL sync modes: full_refresh_append, full_refresh_overwrite, full_refresh_overwrite_deduped

Security

  • read risk: external Twitter (X) API read of tweets and author profiles matching a search query
  • approval: none; read-only, no obviously-safe reverse-ETL writes
  • Never pass secret values in chat, shell arguments, logs, docs, or JSON output.

Commands

Inspect as a manual

pm connectors inspect twitter

Inspect as structured JSON

pm connectors inspect twitter --json

Agent Rules

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