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 从公开仓库中收录这些内容。

举报或申请下架