AGENT SKILL

pm-smartwaiver

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

02 资源文件 1

03 SKILL.md 正文

pm-smartwaiver

Purpose

Reads Smartwaiver waivers, checkins, templates, published keys, user info, and account settings; sends prefill/SMS/webhook mutations through the Smartwaiver 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
  • end_date
  • page_size
  • start_date
  • api_key (secret) (required)

ETL Streams

  • waivers:
    • primary key: waiverId
    • fields: createdOn(string), email(string), expirationDate(string), expired(boolean), firstName(string), lastName(string), templateId(string), title(string), verified(boolean), waiverId(string)
  • checkins:
    • primary key: checkinId
    • fields: checkinId(string), date(string), dateSigned(string), firstName(string), lastName(string), templateId(string), waiverId(string)
  • templates:
    • primary key: templateId
    • fields: kioskUrl(string), publishedOn(string), publishedVersion(integer), templateId(string), title(string), webUrl(string)
  • published_keys:
    • primary key: key
    • fields: createdAt(string), key(string), label(string)
  • user_info:
    • primary key: username
    • fields: email(string), ipAddress(string), signupDate(string), username(string)
  • settings:
    • primary key: type
    • fields: settings(object), type(string)

Sync Modes

  • ETL sync modes: full_refresh_append, full_refresh_overwrite

Reverse ETL Actions

  • set_webhook_config:
    • endpoint: PUT /v4/webhooks/configure
    • required fields: endpoint
    • risk: changes where the account's near-real-time waiver-signed webhook notifications are delivered; approval required
  • resend_webhook:
    • endpoint: PUT /v4/webhooks/resend/{{ record.waiver_id }}
    • required fields: waiver_id
    • risk: re-triggers the new-waiver webhook delivery for a specific waiver (testing aid, heavily rate limited by Smartwaiver at 2/minute); approval required
  • send_sms:
    • endpoint: POST /v4/sms
    • required fields: templateId, number
    • risk: sends an outbound SMS with a waiver-signing link to a real phone number (rate limited daily by Smartwaiver for anti-spam); approval required
  • prefill_template:
    • endpoint: POST /v4/templates/{{ record.template_id }}/prefill
    • required fields: template_id
    • risk: generates a prefilled waiver-signing link carrying real participant PII (name/DOB/address/custom fields); approval required

Security

  • read risk: read-only waiver/checkin/template/published-key/user/settings data from a connected Smartwaiver account
  • write risk: configures the account's webhook delivery endpoint, resends a waiver's webhook notification, sends an outbound SMS waiver-signing link to a real phone number, and generates a prefilled waiver-signing link carrying participant PII
  • approval: required for all 4 write actions (set_webhook_config, resend_webhook, send_sms, prefill_template); read is unapproved
  • Never pass secret values in chat, shell arguments, logs, docs, or JSON output.

Commands

Inspect as a manual

pm connectors inspect smartwaiver

Inspect as structured JSON

pm connectors inspect smartwaiver --json

Agent Rules

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