AGENT SKILL
pm-split-io
Split.io connector knowledge and safe action guide.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-09-21
- Stars
- ★ 7
- Forks
- 0
01 前言 Front Matter
- name
- pm-split-io
- description
- Split.io connector knowledge and safe action guide.
03 SKILL.md 正文
pm-split-io
Purpose
Reads Split.io workspaces, environments, feature flags, segments, groups, traffic types, and users, and writes feature-flag kill/restore/archive/unarchive and segment-key mutations through the Split Admin API.
Icon
- id: pm-sample
- asset: icons/pm-sample.svg
- source: polymetrics
- review_status: polymetrics
- review_url: https://github.com/polymetrics-ai/cli
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
- mode
- workspace_id
- api_key (secret) (required)
ETL Streams
- workspaces:
- primary key: id
- fields: id(string), name(string), status(string)
- environments:
- primary key: id
- fields: id(string), name(string), status(string)
- splits:
- primary key: id
- cursor: updatedAt
- fields: environment(string), id(string), name(string), status(string), trafficType(string), updatedAt(string)
- segments:
- primary key: id
- cursor: updatedAt
- fields: id(string), name(string), status(string), updatedAt(string)
- groups:
- primary key: id
- fields: description(string), id(string), name(string), type(string)
- traffic_types:
- primary key: id
- fields: displayAttributeId(string), id(string), name(string)
- users:
- primary key: id
- fields: email(string), groups(array), id(string), name(string), status(string)
Sync Modes
- ETL sync modes: full_refresh_append, full_refresh_overwrite, full_refresh_overwrite_deduped
Reverse ETL Actions
- kill_feature_flag_in_environment:
- endpoint: PUT /internal/api/v2/splits/ws/{{ record.workspace_id }}/{{ record.feature_flag_name }}/environments/{{ record.environment_id }}/kill
- required fields: workspace_id, feature_flag_name, environment_id
- risk: immediately forces every SDK evaluating this feature flag in the given environment onto its off/default treatment; high-impact production traffic-shaping mutation, approval required
- restore_feature_flag_in_environment:
- endpoint: PUT /internal/api/v2/splits/ws/{{ record.workspace_id }}/{{ record.feature_flag_name }}/environments/{{ record.environment_id }}/restore
- required fields: workspace_id, feature_flag_name, environment_id
- risk: reverts a previously-killed feature flag in the given environment back to its configured targeting rules; production traffic-shaping mutation, approval required
- archive_feature_flag:
- endpoint: PUT /internal/api/v2/splits/ws/{{ record.workspace_id }}/{{ record.feature_flag_name }}/archive
- required fields: workspace_id, feature_flag_name
- risk: archives a feature flag account-wide (all SDKs calling it return control); approval required
- unarchive_feature_flag:
- endpoint: PUT /internal/api/v2/splits/ws/{{ record.workspace_id }}/{{ record.feature_flag_name }}/unarchive
- required fields: workspace_id, feature_flag_name
- risk: restores an archived feature flag to active use account-wide; approval required
- add_segment_keys_in_environment:
- endpoint: PUT /internal/api/v2/segments/{{ record.environment_id }}/{{ record.segment_name }}/uploadKeys
- required fields: environment_id, segment_name, keys
- risk: adds member keys to a segment in the given environment, changing which end-users match segment-based targeting rules for every feature flag using it; production traffic-shaping mutation, approval required
- remove_segment_keys_from_environment:
- endpoint: PUT /internal/api/v2/segments/{{ record.environment_id }}/{{ record.segment_name }}/removeKeys
- required fields: environment_id, segment_name, keys
- risk: removes member keys from a segment in the given environment, changing which end-users match segment-based targeting rules for every feature flag using it; production traffic-shaping mutation, approval required
Security
- read risk: external Split.io API read of workspace, environment, feature-flag, segment, group, traffic-type, and user data
- write risk: external Split.io API mutation that reshapes live feature-flag targeting/rollout state or segment membership for every SDK evaluating it
- approval: reverse ETL plan approval required before all writes; every write action in this bundle changes production feature-flag or segment-targeting behavior
- Never pass secret values in chat, shell arguments, logs, docs, or JSON output.
Commands
Inspect as a manual
pm connectors inspect split-io
Inspect as structured JSON
pm connectors inspect split-io --json
Agent Rules
- Run pm connectors inspect split-io 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
recipe-preview-approve-reverse-etl
Preview and approve a reverse ETL plan safely.
★ 7
recipe-github-prs-to-warehouse
Sync GitHub pull requests into the local warehouse.
★ 7
pm-zoom
Zoom connector knowledge and safe action guide.
★ 7
pm-zonka-feedback
Zonka Feedback connector knowledge and safe action guide.
★ 7
pm-zoho-invoice
Zoho Invoice connector knowledge and safe action guide.
★ 7
pm-zoho-inventory
Zoho Inventory connector knowledge and safe action guide.
★ 7