AGENT SKILL

pm-captain-data

Captain Data 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-captain-data
description
Captain Data connector knowledge and safe action guide.

03 SKILL.md 正文

pm-captain-data

Purpose

Reads Captain Data workspace, workflows, jobs, and job results, and writes a launch_workflow action to trigger a new workflow run, through the Captain Data v3 REST API.

Icon

Capabilities

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

Authentication

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

Configuration

  • base_url
  • job_uid
  • mode
  • project_uid (required)
  • workflow_uid
  • api_key (secret) (required)

ETL Streams

  • workspace:
    • primary key: uid
    • fields: created_at(string), name(string), plan(string), uid(string)
  • workflows:
    • primary key: uid
    • fields: created_at(string), name(string), status(string), uid(string), updated_at(string)
  • jobs:
    • primary key: uid
    • fields: created_at(string), ended_at(string), status(string), uid(string), workflow_uid(string)
  • job_results:
    • primary key: uid
    • fields: created_at(string), data(object), job_uid(string), status(string), uid(string)

Sync Modes

  • ETL sync modes: full_refresh_append, full_refresh_overwrite

Reverse ETL Actions

  • launch_workflow:
    • endpoint: POST /workflows/{{ record.workflow_uid }}/launch
    • required fields: workflow_uid
    • risk: external mutation; launches a live Captain Data workflow run (a new job), consuming account credits and potentially performing external actions (scraping, enrichment, outreach) depending on the workflow's own configured steps; approval required

Security

  • read risk: external Captain Data API read of workspace, workflow, and job data
  • write risk: external mutation; launches a live Captain Data workflow run, consuming account credits and potentially performing external side effects depending on the workflow's own configured steps; approval required
  • Never pass secret values in chat, shell arguments, logs, docs, or JSON output.

Commands

Inspect as a manual

pm connectors inspect captain-data

Inspect as structured JSON

pm connectors inspect captain-data --json

Agent Rules

  • Run pm connectors inspect captain-data 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.
  • For reverse ETL writes, create a plan, show the preview, wait for explicit approval, then run with the approval token.

04 同仓库更多 Skills