Token导航 LogoToken导航

Agent Skill · 开发

otel-name-metric(酒店名称 度量标准)

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

otel-name-metric 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 16,648。

总安装 485周安装 20GitHub Stars 公开资料未说明下载 158核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:otel-name-metric(酒店名称 度量标准)
来源仓库:https://github.com/trogonstack/agentskills
仓库路径:skills/otel-name-metric
安装命令:
npx skills add https://github.com/trogonstack/agentskills --skill otel-name-metric
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/trogonstack/agentskills --skill otel-name-metric

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

otel-name-metric 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或代码变更进行整理。通过 npx skills add 命令从指定仓库安装,需结合 README 确认具体用法。

安装前建议核实权限范围、维护状态及是否涉及联网或文件操作。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/otel-name-metric

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

otel-name-metric 怎么安装?

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

otel-name-metric 支持哪些 AI 工具?

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

otel-name-metric 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

otel-name-metric 是免费的吗?

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

otel-name-metric 用的人多吗?

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

otel-name-metric 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

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

开发类 Skill 对比

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

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
otel-name-metric

酒店名称 度量标准 · 本页

485—调用外部服务未明确有提醒

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

SKILL.md 原文

Review or Create OpenTelemetry Metric Names

Review or create metric names that follow OTel Semantic Conventions, ensuring correct naming format, instrument selection, unit placement, and attribute separation.

Before applying any rule below, fetch the latest naming guidance to check for updates:

If the fetched content contradicts any rule in this skill, follow the fetched content and flag the discrepancy.

Core Principle

The metric name identifies what you are measuring. Everything else — who is measuring, where it runs, which version — belongs in attributes or resource attributes.

Metric Name Patterns

The OTel spec defines these patterns for metric names:

Default Pattern: {area}.{metric_name}

Use when the area or metric name already implies the communication side.

Examples: system.memory.usage, kestrel.connection.duration, messaging.process.duration

Client/Server Pattern: {area}.{client|server}.{metric_name}

Use when the communication side is ambiguous for a given {area} and {metric_name}.

  • Include client or server when both perspectives exist (e.g., http.server.* vs http.client.*)
  • Omit when the system name implies the side (e.g., kestrel is always a server)
  • Omit when the metric name implies the side (e.g., messaging.process is always consumer)

Examples: http.server.request.duration, db.client.operation.duration

System-Specific Pattern: {system_name}.*.{metric_name}

Use when a metric is specific to a system, project, or provider.

Examples: azure.cosmosdb.client.operation.request_charge, jvm.gc.duration

How Segments Work

Metric names use dot-delimited namespaces where each dot adds specificity. Namespaces can be nested — there is no fixed number of segments. Real metrics range from 2 segments (system.uptime) to 6 segments (azure.cosmosdb.client.operation.request_charge).

Follow the {object}.{property} principle: be precise. Use system.network.packet.dropped instead of system.network.dropped.

Name vs Attributes

If a dimension changes what is being measured → put it in the metric name. If it changes who/where/when → put it in attributes.

DimensionGoes in...Why
Protocol domain (http, db)NameChanges what you're measuring
Communication side (client, server)Name (when ambiguous)Changes the perspective
Entity and property (request.duration)NameChanges what is captured
Service nameResource attributeSame metric across services
EnvironmentResource attributeSame metric across envs
VersionResource attributeSame metric across versions
HTTP method, routeMetric attributeFilters within the same metric
Technology stackNowhere in nameWon't survive language migrations
Unit (ms, bytes)Unit metadata fieldUCUM standard, not in name

Naming Format

  • Lowercase with dot-delimited namespaces
  • snake_case within segments: http.response.status_code
  • Must start with a letter, end with alphanumeric
  • No consecutive delimiters (.., __, ._)
  • Printable Basic Latin only (U+0021–U+007E)

Measurement Suffixes

SuffixMeaningExample
entity.limitKnown total amountsystem.memory.limit
entity.usageAmount used from known totalsystem.memory.usage
entity.utilizationFraction of usage/limit (0–1)system.memory.utilization
entity.timePassage of timesystem.cpu.time
entity.ioBidirectional data flowsystem.network.io

Pluralization Rules

  • Pluralize Counters for discrete countable instances: system.paging.faults, system.disk.operations
  • Do NOT pluralize utilization, duration, time: system.filesystem.utilization
  • UpDownCounter names SHOULD NOT be pluralized: system.process.count not system.processes
  • Never append _total — confuses meaning in delta backends

Unit Conventions (UCUM)

  • Units go in metadata, NOT in metric names
  • Use non-prefixed units: By not MiBy
  • Durations: use seconds (s)
  • Utilization: dimensionless, unit 1
  • Curly brace annotations match grammatical number: {request} not {requests}
  • Case-sensitive: Cel for degree Celsius

Attribute Naming

  • Pattern: {object}.{property} with dot separators
  • Lowercase, snake_case within segments
  • Namespace related attributes together: order.id, order.total, order.status
  • Keep names stable; let values carry dynamic data
  • Do NOT put user IDs, request IDs, or IP addresses as metric attributes — cardinality explosion

Reference Material

Detailed guidance on specific topics is in the references/ directory. Read these when the task requires deeper context:

  • namespaces.md — Full catalog of official namespace roots, worked examples showing which pattern each metric uses, custom namespace guidelines
  • instruments.md — Instrument selection decision tree, additivity rules, sync vs async, UpDownCounter consistency
  • anti-patterns.md — Bad→good naming examples, attribute anti-patterns, cardinality traps

Review Checklist

When reviewing metric definitions, verify:

  1. Name uses dot-delimited lowercase snake_case
  2. No unit, service name, environment, or version in the metric name
  3. Correct instrument type for the measurement
  4. Unit in metadata field, following UCUM
  5. Pluralization matches the instrument type
  6. No _total suffix
  7. Custom names don't collide with otel.* or existing semantic convention namespaces
  8. Attributes follow {object}.{property} format
  9. No high-cardinality values in metric attributes
  10. UpDownCounter increments/decrements use matching attribute values

Output

Provide:

  • List of metrics reviewed with pass/fail per checklist item
  • Suggested corrections for any violations
  • Instrument type recommendation if missing or incorrect
  • Attribute placement corrections (name → resource → metric attribute)

平台分布

Codex

38.96%
按下载量换算62

Claude

28.61%
按下载量换算45

Cursor

17.63%
按下载量换算28

Gemini CLI

9.54%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

继续浏览同类 Skills