Token导航 LogoToken导航

Agent Skill · 待分类

nice-insights-metrics(很好的洞察指标)

nice-insights-metrics 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

nice-insights-metrics 是待分类类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为权限未标注;许可证信息还不明确,第三方扫描已通过,按安装量在待分类类的 11,209 个 Skill 里排第 9,979。

总安装 218周安装 9GitHub Stars 公开资料未说明下载 71核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:nice-insights-metrics(很好的洞察指标)
来源仓库:https://github.com/nice-insights/nice-insights-skills
仓库路径:skills/nice-insights-metrics
安装命令:
npx skills add https://github.com/nice-insights/nice-insights-skills --skill nice-insights-metrics
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/nice-insights/nice-insights-skills --skill nice-insights-metrics

这个 Skill 是做什么的

这个 Skill 的分类还没最终确定,用法以来源仓库的说明为准。

用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息。适用于围绕仓库状态、代码变更或协作事项进行整理。可帮助分析指标相关代码和变更记录。nice-insights-metrics 属于待分类类 Skill,可作为该场景下的辅助能力补充。

安装方式:通过 GitHub 仓库安装,使用前确认权限与维护状态。注意是否会触发联网、命令执行或文件读写操作。

来源仓库内路径:skills/nice-insights-metrics

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/nice-insights/nice-insights-skills --skill nic…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    权限没有明确标注,第一次使用时只给一个无关紧要的任务,观察它到底读了哪些文件和网络。

常见问题

6 条

nice-insights-metrics 怎么安装?

在终端执行 npx skills add https://github.com/nice-insights/nice-insights-skills --skill nice-insights…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

nice-insights-metrics 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

nice-insights-metrics 需要什么权限?

权限级别没有明确标注。第一次使用时建议只给无关紧要的任务,观察它实际读写了哪些内容。

nice-insights-metrics 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

nice-insights-metrics 用的人多吗?

公开数据是累计安装 218 次,近一周安装 9 次,下载 71 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

nice-insights-metrics 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理待分类类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

待分类类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
infsh-cli

infsh CLI · Codex、Claude

4,374,576382权限未标注未明确未收录
ai-video-generation

AI 视频生成 · Codex、Claude

4,313,376382调用外部服务未明确有提醒
lark-openapi-explorer

云雀 OpenAPI 浏览器 · Codex、Claude

2,064,1209,011需要联网未明确有提醒
lark-workflow-standup-report

Lark 工作流程站立报告 · Codex、Claude

2,041,6328,978需要联网未明确通过
use-my-browser

使用我的浏览器 · Codex、Claude

1,848,49140操作浏览器未明确未通过
nice-insights-metrics

很好的洞察指标 · 本页

218—权限未标注未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Nice Insights Metrics

Use these tools to answer analytics questions about advertising performance, sales, order economics, and customer acquisition costs.

Data freshness: Data is imported once daily for the *previous* day. Do not query today's date — results will be incomplete. Yesterday is always the most recent complete date.

Available Tools

ToolUse when the user asks about
list_companiesWhich companies are available (or when company_id is unknown)
query_ad_metricsAd spend, impressions, clicks, CPM, CPC, CTR
query_order_line_metricsProduct-level sales — revenue, discounts, refunds, units
query_order_metricsOrder-level costs and margins — shipping costs, fees, contribution margin, CAC
query_customer_cohort_metricsCohort retention/LTV matrices — sales, contribution margin, order counts, per-customer variants, or retention rate per cohort over time
query_timeseries_metricsBlended customer acquisition cost (CAC) trends over time
query_email_profile_metricsEmail list size, email-attributed net sales (excludes refunds), profile conversion rate by status, creation type, or flow/list
query_email_event_metricsEmail event volume (total and unique profiles) by event name, profile status, creation type, flow/list, or click source

Step 1: Identify the Company

If company_id is already known from context, use it directly.

Otherwise, call list_companies to get the list of companies the user has access to. If multiple companies are returned and the question does not clearly indicate which one, ask the user to confirm before proceeding.


Step 2: Confirm Refund Handling (BLOCKING — required before any order query)

STOP. Before calling query_order_metrics, query_order_line_metrics, or query_customer_cohort_metrics, you MUST ask the user whether to include or exclude refunds. Do NOT proceed with the tool call until they answer.

Ask: "Should I include or exclude refunds?"

  • Exclude refunds → transaction_types: ["Order"] (typical for marketing/sales activity views)
  • Include refunds → transaction_types: ["Order", "Refund"] (typical for finance/net revenue views)
  • No filter → omit transaction_types entirely (returns everything)

Note: If you add TRANSACTION_TYPE as a *dimension*, refund rows appear as separate rows rather than being filtered. Use this when the user wants orders and refunds broken out side by side.

Skip this step for query_ad_metrics, query_timeseries_metrics, query_email_profile_metrics, and query_email_event_metrics — they have no transaction type concept.


Step 2b: Customer Type Filter (optional)

Use customer_types to segment by buyer history. Available on query_order_line_metrics and query_order_metrics.

  • ["New"] — customers placing their first-ever order
  • ["Repeat"] — customers who have ordered before
  • Omit to include all customer types

You can also add CUSTOMER_TYPE as a dimension to break results out side by side instead of filtering.


Step 2c: Cohort Filters (optional)

Use these filters to narrow results to specific customer acquisition cohorts. Both are optional.

  • first_order_date_range — available on query_order_metrics and query_customer_cohort_metrics (required on query_customer_cohort_metrics — it defines which cohorts to include). Filters to orders where the customer's first-ever order date falls within the given range. Uses the same {start, end} format as date_range.
  • max_days_since_first_order — available on query_order_metrics, query_order_line_metrics, and query_customer_cohort_metrics. Filters to orders placed within N days of the customer's first order. Useful for analyzing early customer behavior (e.g., repeat purchases within 30 days).

Step 3: Choose the Right Tool and Metrics

Use the definitions below to infer which metrics to request based on the user's question. query_ad_metrics defaults to SPEND, IMPRESSIONS, CLICKS if no metrics are specified. All other tools require explicit metric selection.

Ad Metrics — query_ad_metrics

MetricDefinition
SPENDTotal ad spend in dollars
IMPRESSIONSTotal ad impressions served
CLICKSTotal ad clicks
CPMCost per thousand impressions (SPEND / IMPRESSIONS × 1000)
CPCCost per click (SPEND / CLICKS)
CTRClick-through rate as a percentage (CLICKS / IMPRESSIONS × 100)

Available channels: Additional Ad Spend, Tatari TV, TikTok, Amazon, AppLovin, Google, Meta.

Order Line Metrics — query_order_line_metrics

Product-level sales data. Use for revenue, discounts, refunds, units, and product mix analysis.

MetricDefinition
GROSS_SALESTotal revenue before any discounts or refunds
TOTAL_DISCOUNTTotal discount amounts applied to orders
TOTAL_REFUNDSTotal refunds issued (positive number = dollars returned to customers)
NET_SALESGROSS_SALES − TOTAL_DISCOUNT + SHIPPING_PRICE − TOTAL_REFUNDS
SHIPPING_PRICEShipping revenue charged to the customer
COGSCost of goods sold
UNIT_COUNTUnits sold (refunded units are excluded)
ORDER_COUNTDistinct orders (excludes refund transactions unless TRANSACTION_TYPE is a dimension)
CUSTOMER_COUNTDistinct customers
AVERAGE_ORDER_VALUEAverage net sales per order (context-dependent — see note below)
AVERAGE_UNIT_PRICEAverage net sales per unit (context-dependent — see note below)

Order Metrics — query_order_metrics

Order-level costs and margins. Use for profitability, fee analysis, and acquisition economics.

MetricDefinition
CONTRIBUTION_MARGINTotal Net sales minus CAC, COGS, shipping, credit card fees, and other variable costs. This is profit contribution before fixed costs
ACQUISITION_MARGINOrder value of new customers minus advertising cost — measures the profitability of acquiring new customers
ORDER_COUNTDistinct orders (context-dependent)
CUSTOMER_COUNTDistinct customers
AVERAGE_CONTRIBUTION_MARGINAverage contribution margin per order (context-dependent)
AVERAGE_ACQUISITION_MARGINAverage acquisition margin per new customer (context-dependent)

Customer Cohort Metrics — query_customer_cohort_metrics

Pivoted cohort matrix with rows per cohort (first order period) and columns per period since first order. All values are cumulative through the period. Use for retention analysis, LTV curves, and cohort comparisons. Accepts a single measure per query.

MeasureDefinition
salesCumulative sales for the cohort through each period
sales_per_customerCumulative sales divided by cohort customer count (LTV)
contribution_marginCumulative contribution margin for the cohort through each period
contribution_margin_per_customerCumulative contribution margin divided by cohort customer count
order_countCumulative number of orders for the cohort through each period
orders_per_customerCumulative orders divided by cohort customer count
retention_rateShare of the cohort still active through each period

Parameters:

  • cohort_grain: week or month (default: month) — time grain for cohort bucketing

Additional filters (unique to this tool):

  • first_order_product_name — filter to customers whose first order included this product name
  • first_order_sku — filter to customers whose first order included this SKU
  • sales_channels — filter by sales channel: Amazon, Shopify, TikTok
  • subscription_types — filter by subscription type: First, Recurring, Unknown

Timeseries Metrics — query_timeseries_metrics

Blended CAC over time. Use for trend analysis of customer acquisition efficiency. date_range is required.

MetricDefinition
DTC_BLENDED_CACDTC ad spend ÷ (Shopify + TikTok new customers)
AMZN_BLENDED_CACAmazon ad spend ÷ Amazon new customers
COMBINED_BLENDED_CAC(DTC + Amazon ad spend) ÷ all new customers
SHOPIFY_BLENDED_CAC(Meta + Google + Microsoft + Pinterest spend) ÷ Shopify new customers
TIKTOK_BLENDED_CACTikTok ad spend ÷ TikTok new customers

Email Profile Metrics — query_email_profile_metrics

Email list and profile-level conversion. Use for list growth, email profile activity, and marketing-attributed sales analysis. Metrics ending in _MAR are the *marketing* version of net sales and exclude refunds by construction.

MetricDefinition
PROFILE_COUNTDistinct email profiles
ORDER_COUNTDistinct orders attributed to these profiles
TOTAL_NET_SALES_MARMarketing-attributed net sales (excludes refunds)
AVERAGE_NET_SALES_MARAverage marketing-attributed net sales per row (group-dependent)
CONVERSION_RATEShare of profiles that placed an order

Additional filters (unique to this tool):

  • first_event_date_range — filter by the date of the profile's first email event
  • profile_statuses — filter by profile status
  • profile_creation_types — filter by how the profile was created
  • profile_creation_flow_or_lists — filter by originating flow or list name

Email Event Metrics — query_email_event_metrics

Email event activity counts (sends, opens, clicks, etc.). Use for engagement volume and trends.

MetricDefinition
TOTAL_EVENT_COUNTTotal email events recorded
UNIQUE_EVENT_COUNTDistinct profiles generating these events

Additional filters (unique to this tool):

  • event_names — filter to specific event names
  • profile_statuses, profile_creation_types, profile_creation_flow_or_lists — same semantics as in query_email_profile_metrics

Note on context-dependent metrics: ORDER_COUNT, CUSTOMER_COUNT, and average metrics (AVERAGE_ORDER_VALUE, AVERAGE_CONTRIBUTION_MARGIN, etc.) produce different SQL depending on whether TRANSACTION_TYPE is included as a dimension. When TRANSACTION_TYPE is a dimension, these metrics account for both order and refund rows separately. When it is not, they automatically filter to orders only.


Step 4: Choose Output Mode

Use inline when result sets are relatively small and you need to reason over or summarize the data directly.

Use s3_csv as the output mode when you expect more than 40 rows of data, or when the resulting data is complicated. Analyze the data with a script on your side for s3_csv output.


Available Dimensions

Time: DATE, WEEK, MONTH

Ad-specific: CHANNEL, PLATFORM, CAMPAIGN_ID, CAMPAIGN_NAME, AD_GROUP_ID, AD_GROUP_NAME, AD_ID, AD_NAME

Order/line: SALES_CHANNEL, CUSTOMER_TYPE, TRANSACTION_TYPE, PRODUCT_ID, PRODUCT_NAME, PRODUCT_VARIANT_ID, PRODUCT_VARIANT_NAME, SKU, IS_SUBSCRIPTION, SUBSCRIPTION_TYPE, ORDER_ID, CUSTOMER_ID

Cohort analysis (order line only): FIRST_ORDER_DATE, FIRST_ORDER_WEEK, FIRST_ORDER_MONTH, DAYS_SINCE_FIRST_ORDER, WEEKS_SINCE_FIRST_ORDER, MONTHS_SINCE_FIRST_ORDER

Email profile: PROFILE_CREATED_DATE, PROFILE_STATUS, PROFILE_CREATION_TYPE, PROFILE_CREATION_FLOW_OR_LIST, DAYS_FROM_CREATION_TO_FIRST_ORDER, WEEKS_FROM_CREATION_TO_ORDER_DATE, MONTHS_FROM_CREATION_TO_ORDER_DATE

Email event: EVENT_DATE, EVENT_NAME, PROFILE_STATUS, PROFILE_CREATION_TYPE, PROFILE_CREATION_FLOW_OR_LIST, CLICKED_EMAIL_SOURCE

Cohort period values: For DAYS/WEEKS/MONTHS_SINCE_FIRST_ORDER, 0 always represents the first order date itself. 1 is the 1st full day/week/month after that, 2 is the 2nd, and so on.

Note: For cohort retention/LTV analysis, prefer query_customer_cohort_metrics which returns a pre-pivoted matrix directly.


Common Query Patterns

Ad spend by channel for a date range:

query_ad_metrics(query={
  filters: { company_id: 123, date_range: { start: "2025-01-01", end: "2025-01-31" } },
  dimensions: ["CHANNEL"],
  metrics: ["SPEND", "IMPRESSIONS", "CLICKS", "CPM", "CTR"]
})

Net sales by product (excluding refunds):

query_order_line_metrics(query={
  filters: {
    company_id: 123,
    date_range: { start: "2025-01-01", end: "2025-01-31" },
    transaction_types: ["Order"]
  },
  dimensions: ["PRODUCT_NAME"],
  metrics: ["GROSS_SALES", "TOTAL_DISCOUNT", "NET_SALES", "UNIT_COUNT", "ORDER_COUNT"]
})

Monthly contribution margin by sales channel (including refunds):

query_order_metrics(query={
  filters: {
    company_id: 123,
    date_range: { start: "2025-01-01", end: "2025-03-31" },
    transaction_types: ["Order", "Refund"]
  },
  dimensions: ["MONTH", "SALES_CHANNEL"],
  metrics: ["CONTRIBUTION_MARGIN", "ORDER_COUNT"]
})

Monthly cumulative LTV by customer cohort:

query_customer_cohort_metrics(query={
  filters: {
    company_id: 123,
    first_order_date_range: { start: "2025-01-01", end: "2025-03-31" },
    transaction_types: ["Order"]
  },
  measure: "sales_per_customer",
  cohort_grain: "month"
})

Weekly blended CAC trend:

query_timeseries_metrics(query={
  filters: { company_id: 123, date_range: { start: "2025-01-01", end: "2025-03-31" } },
  dimensions: ["WEEK"],
  metrics: ["DTC_BLENDED_CAC", "AMZN_BLENDED_CAC", "COMBINED_BLENDED_CAC"]
})

Monthly email-attributed sales by profile status:

query_email_profile_metrics(query={
  filters: { company_id: 123, date_range: { start: "2025-01-01", end: "2025-03-31" } },
  dimensions: ["MONTH", "PROFILE_STATUS"],
  metrics: ["PROFILE_COUNT", "ORDER_COUNT", "TOTAL_NET_SALES_MAR", "CONVERSION_RATE"]
})

Weekly email event volume by event name:

query_email_event_metrics(query={
  filters: { company_id: 123, date_range: { start: "2025-01-01", end: "2025-03-31" } },
  dimensions: ["WEEK", "EVENT_NAME"],
  metrics: ["TOTAL_EVENT_COUNT", "UNIQUE_EVENT_COUNT"]
})

平台分布

Codex

34.15%
按下载量换算24

Claude

29.62%
按下载量换算21

Cursor

19.5%
按下载量换算14

Gemini CLI

10.11%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限未标注

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills