AGENT SKILL

pm-box-data-extract

Box Data Extract 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-box-data-extract
description
Box Data Extract connector knowledge and safe action guide.

03 SKILL.md 正文

pm-box-data-extract

Purpose

Reads Box folder files and per-file detail metadata, and writes file rename/description updates, through the Box REST API using the OAuth2 client-credentials grant.

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
  • box_folder_id
  • box_subject_id
  • box_subject_type
  • mode
  • page_size
  • token_url
  • client_id (secret) (required)
  • client_secret (secret) (required)

ETL Streams

  • files:
    • primary key: id
    • fields: id(string), name(string), type(string)
  • file_details:
    • primary key: id
    • cursor: modified_at
    • fields: content_created_at(string), content_modified_at(string), created_at(string), created_by(object), description(string), etag(string), file_id(string), id(string), item_status(string), modified_at(string), modified_by(object), name(string), owned_by(object), parent(object), path_collection(object), purged_at(string), sha1(string), shared_link(object), size(integer), trashed_at(string), type(string)

Sync Modes

  • ETL sync modes: full_refresh_append, full_refresh_overwrite, full_refresh_overwrite_deduped

Reverse ETL Actions

  • update_file:
    • endpoint: PUT /files/{{ record.id }}
    • required fields: id
    • risk: external mutation; renames or updates the description of a Box file; approval required

Security

  • read risk: external Box API read of folder files and per-file detail metadata
  • write risk: external mutation renaming or updating the description of a Box file
  • approval: required for the update_file write action; read remains unapproved
  • Never pass secret values in chat, shell arguments, logs, docs, or JSON output.

Commands

Inspect as a manual

pm connectors inspect box-data-extract

Inspect as structured JSON

pm connectors inspect box-data-extract --json

Agent Rules

  • Run pm connectors inspect box-data-extract 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