Copying Metric Data

作者 gopigment6fec49f4ce9d無授權條款22 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫2 天前更新

Use this skill when a user wants to create a Pigment metric-to-metric copy import/config to freeze formula values, reduce recalculation, seed/refresh a metric, stage validated data, prepare export metrics, or copy data between metrics. It cannot run, schedule, delete, update existing configs, use snapshots/recovered apps, or configure selective mappings. Do NOT use for CSV/file imports or formulas.

僅含說明Data & Analytics
AI 產生的概覽

指導建立 Pigment 指標對指標的複製設定,用於在指標之間移動數值。

功能
此技能說明如何在 Pigment 中辨識指標對指標的複製意圖,並建立受支援的已儲存複製設定。內容涵蓋檢查目標指標現有的複製設定,以及建立新的同應用程式、預設情境設定,包括來源指標、目標指標、名稱、選填描述與清除值模式。它也說明目前工具的限制,例如無法執行、排程、刪除或更新設定,也不支援情境對情境、快照或跨應用程式複製。
適用情境
當使用者希望將公式值凍結為輸入、減少重算、初始化或重新整理指標、在連接前暫存並驗證資料,或準備匯出或中間指標時使用。它不適用於 CSV 或 Excel 檔案匯入,也不適用於撰寫讀取其他指標的公式。
執行需求
需要存取 Pigment 工具 get_metric_to_metric_copy_configs 與 create_metric_copy_config。它不附帶指令碼,僅為指示文件,並引用一個 markdown 檔案。

Copying Metric Data

This skill helps with metric-to-metric copy configurations: saved Pigment imports that copy populated values from a source metric into a target metric with matching dimensions and data type.

Use it to recognize common Metric-to-Metric import intents, then create a supported saved configuration when the current tool surface is sufficient.

When to Use This Skill

  • Reduce recalculations - Copy values into a metric that updates only when the saved import is run, so downstream calculations do not need to stay connected in real time.
  • Freeze formula values as inputs - Copy formula-calculated values into a target metric so they become stable imported values.
  • Seed or refresh a metric - Populate a target metric from another metric with the same dimensions and data type.
  • Validate staged data before connecting it - Import external data into a staging metric, let users review it, then create a copy config from the staging metric to the connected target metric.
  • Prepare export or intermediate metrics - Copy values into an intermediate metric before export-oriented formulas or external exports run.
  • Reduce access-rights metric recalculation - Replace a frequently recalculated access-rights formula with a lower-frequency import. Access rights may be stale until the import runs, so use this only when the user understands that risk and has validated the approach with the appropriate solution owner.

Do NOT use this skill for:

  • Importing an attached CSV or Excel file - use Pigment's data import UI (not covered by this skill)
  • Writing a formula that reads another metric - use the writing-pigment-formulas skill

What This Skill Can Configure Today

  • Inspect existing user-saved copy configurations for a target metric with tool:get_metric_to_metric_copy_configs.
  • Create a new same-application, default-scenario saved copy configuration with tool:create_metric_copy_config.
  • Set the source metric, target metric, name, optional description, and clear-values mode (none, all, or scoped).

Current Tool Limits

The current tool creates only the saved configuration. It cannot:

  • Run, trigger, schedule, delete, or update a copy configuration.
  • Configure scenario selection or scenario-to-scenario copies.
  • Import from snapshots or recovered applications.
  • Select a cross-application source metric (source and target are always in the same application).
  • Configure selective mappings, parameterized mappings, action widgets, or missing-item handling.

Scenario-to-scenario copies, snapshot imports, and recovered-application imports are valid Metric-to-Metric product use cases, but they are not configurable through this create tool. If the user's intent needs one of these capabilities, explain the limit and do not claim the agent can configure it through this skill.

Task-Based Routing

Creating a metric-to-metric copy configuration

Read: ./metric_to_metric_copy.md

Read this when the user wants the agent to create a supported saved configuration after the source and target metric intent is clear. It covers choosing the clear-values mode, preflight checks, exact tool input, and validation.

Related Tools

  • Inspect the existing copy configurations for a target metric with tool:get_metric_to_metric_copy_configs.
  • Create a saved metric-to-metric copy configuration with tool:create_metric_copy_config.

來源與署名

來源:gopigment/ai-plugins位於skills/copying-metric-data提交6fec49f

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架