Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计通过

sdk-setupSDK 设置

Agent Skill

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

总安装

188

周安装

8

GitHub Stars

11

下载量

66
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ollygarden/opentelemetry-agent-skills --skill sdk-setup

简介

sdk-setup 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 使用前需确认权限范围、维护状态,以及是否涉及联网、命令执行或文件读写操作。
  • sdk-setup 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

OpenTelemetry SDK Setup

Use this skill when configuring or reviewing OpenTelemetry SDK initialization.

Usage:

  • use sdk-versions for version selection when available; otherwise use official release sources, setup docs, and source code
  • use manual-instrumentation for what to instrument once the SDK is set up

If a companion skill is unavailable:

  • do not stop
  • do not rely on memory alone when the guidance can be checked from official sources
  • use the corresponding official OpenTelemetry release sources, documentation, examples, or source code
  • state that the companion skill was unavailable
  • cite the fallback source used
  • leave any unverified item unresolved rather than guessing

Non-Negotiable Rules

  • Use the latest compatible OpenTelemetry SDK or package for the project language. Delegate version choice to sdk-versions or official release sources. When SDK behavior, setup details, or API surface is unclear, check official SDK docs and source code instead of relying on model memory.
  • If no SDK is set up yet, configure one for the signals in scope. Do not add signals beyond what the current task requires — each signal adds export, batching, and lifecycle overhead that is wasted if nothing produces telemetry for it.
  • If an SDK is already present, reuse and extend it instead of replacing it. Adding a new signal to an existing setup is almost always safer than rewriting initialization.
  • Preserve existing exporter, processor, and transport choices when they are already intentional and compatible. Changing a working pipeline without a concrete reason risks breaking collection.

Defaults

Use these unless the project already has an intentional compatible alternative:

  • traces: OTLP exporter plus batch span processor
  • metrics: OTLP exporter plus periodic exporting metric reader
  • logs: OTLP exporter plus batching log record processor
  • propagators: tracecontext,baggage
  • protocol: prefer the SDK default transport; if choosing explicitly, prefer http/protobuf unless the SDK or project requires grpc

These defaults align with the OTLP-first direction of the OpenTelemetry project and work out of the box with any OTLP-compatible backend.

Workflow

  1. Detect whether the project already has an SDK setup (look for provider initialization, exporter registration, or a dedicated telemetry bootstrap file).
  2. Determine which signals are in scope for the current task (traces, metrics, logs, or a combination).
  3. If no setup exists: configure providers, exporters, and processors for in-scope signals using the defaults above.
  4. If a setup exists: verify it covers in-scope signals. Extend if a needed signal is missing. Do not replace intentional choices.
  5. Verify the configuration matches the defaults or has an intentional reason to differ.
  6. Re-open the changed files and verify the result with evidence.

Verification Contract

If you changed or reviewed SDK setup code:

  • re-open the changed files before finishing
  • confirm each applicable item with codebase evidence
  • mark non-applicable items explicitly
  • do not mark an item complete based on intent alone

Report the final check with:

  • [x] completed
  • [~] not applicable, with a reason
  • [] unresolved

Use these items:

  • providers configured for in-scope signals only
  • exporters use OTLP or preserve an intentional existing alternative
  • processors use batch or periodic, or preserve an intentional existing alternative
  • propagators are tracecontext,baggage or preserve an intentional existing alternative
  • transport uses SDK default or http/protobuf, or preserves an intentional existing alternative
  • no extra signals added beyond what the task requires
  • existing SDK setup reused and extended, not replaced (when one was already present)
  • changed files were re-read
  • remaining risks or gaps are stated

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.58%
按下载量换算26

Claude

29.25%
按下载量换算19

Cursor

18.76%
按下载量换算12

Gemini CLI

8.63%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills