一键导入
view-metrics
Triggers on "metrics", "KPIs", "metric dictionary", "/metrics".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Triggers on "metrics", "KPIs", "metric dictionary", "/metrics".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
EMBEDDED — Establishes a clear analysis plan before writing queries. This functionality is built into the ask-question and run-analysis skill. Do NOT invoke analysis-design-spec separately — use ask-question and run-analysis instead, which includes these instructions inline.
EMBEDDED — Retrieves proven SQL patterns and reusable CTEs. This functionality is built into the ask-question and run-analysis skill. Do NOT invoke archaeology separately — use ask-question and run-analysis instead, which includes these instructions inline.
Run the multi-persona planning methodology to produce a master plan for a new project or feature. Triggered when users say "architect", "plan this", "design the system", or invoke `/architect`.
EMBEDDED — Saves completed analysis to the knowledge archive. This functionality is built into the run-analysis skill. Do NOT invoke archive-analysis separately — use run-analysis instead, which includes these instructions inline.
USE THIS SKILL for ANY data question, analytical request, or metric inquiry. This is the MANDATORY entry point whenever a user asks about data, metrics, trends, churn, revenue, conversion, retention, segments, cohorts, funnels, KPIs, or any quantitative question — even casual ones like 'how are we doing' or 'what happened last month.' Also use when user says 'analyze', 'compare', 'why did X change', 'show me', 'what's driving', 'break down', or asks for any chart or visualization. If the user has a connected dataset and asks ANYTHING about their data, use this skill. Do NOT attempt to answer data questions without this skill — it contains critical charting standards, validation steps, and knowledge loading that produce professional-quality outputs.
Interactive browser for your organization's knowledge system. Explore terms, products, metrics, objectives, and team structure. Also crawl Notion workspaces to extract and populate business context. Triggered when users say "/business", "browse business context", "/notion-ingest", or "crawl notion workspace".
基于 SOC 职业分类
| name | view-metrics |
| description | Triggers on "metrics", "KPIs", "metric dictionary", "/metrics". |
| triggers | ["/metrics","show me the metrics","what metrics do we track","metric dictionary","KPI"] |
Browse, search, and display metric definitions from the active dataset's metric dictionary. Provides quick access to how metrics are defined, computed, and validated.
/metrics or "show me the metrics" or "what metrics do we track?"/metrics — list all metrics for the active dataset
/metrics {id} — show full spec for a specific metric
/metrics category={cat} — filter by category (e.g., monetization)
/metrics search={term} — search metric names and descriptions
<workspace>/.knowledge/active.yaml to identify the active dataset.<workspace>/.knowledge/datasets/{active}/metrics/index.yaml for the metric list.List all (/metrics):
Example output:
Metrics (10 total)
MONETIZATION:
revenue Revenue ↑ Target ✓ Valid
mrr Monthly Recurring ↑ Target ✓ Valid
aov Avg Order Value ↑ Target ⚠ Stale
ENGAGEMENT:
dau Daily Active Users ↑ Target ✓ Valid
retention_d7 7-Day Retention ↑ Target ? Undefined
...
Use `/metrics {id}` to see full definition.
Show specific (/metrics {id}):
<workspace>/.knowledge/datasets/{active}/metrics/{id}.yamlExample output:
Metric: revenue
Category: Monetization
Owner: Finance Team
Direction: ↑ Higher is better
Unit: USD
Granularity: Daily, Monthly
Formula:
SELECT DATE(order_date), SUM(amount)
FROM orders
WHERE status = 'completed'
GROUP BY 1
Source tables: orders
Dimensions: product_category, region, customer_segment
Guardrails:
- Daily min: $100K (warn if below)
- Daily max: $5M (alert if above)
- Typical range: $300K - $2M
Validation:
Last validated: 2026-03-10
Status: ✓ Valid
Notes: Matches finance reporting
Related metrics: mrr, aov, gross_margin
Filter by category (/metrics category=monetization):
Search (/metrics search=revenue):
Example:
/metrics search=revenue
Matches (3):
1. revenue Monetization ✓ Valid
2. gross_revenue Monetization ✓ Valid
3. net_revenue Monetization ✓ Valid
After displaying metrics, suggest relevant actions:
Each metric in <workspace>/.knowledge/datasets/{active}/metrics/{id}.yaml should contain:
id: revenue
name: Revenue
category: Monetization
owner: Finance Team
direction: up # "up" or "down"
unit: USD
granularity:
- daily
- monthly
formula: |
SELECT DATE(order_date), SUM(amount)
FROM orders
WHERE status = 'completed'
GROUP BY 1
source_tables:
- orders
dimensions:
- product_category
- region
- customer_segment
guardrails:
min_daily: 100000
max_daily: 5000000
typical_range: [300000, 2000000]
validation:
last_validated: "2026-03-10T00:00:00Z"
status: valid # "valid", "stale", "undefined"
notes: "Matches finance reporting"
related_metrics:
- mrr
- aov
- gross_margin