Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

dd-nebius-integration

БесплатноЗапускает вложенные скриптыНе проверен

Connect a Nebius Cloud tenant to Datadog so its log streams — Kubernetes, PostgreSQL, Compute, applications, MLflow, and more — are collected through the…

datadog-labsот datadog-labs★ 188 звёзд на GitHub

Об этом скилле

Datadog Nebius Cloud Integration

Use scripts/setup.py relative to this file. It owns discovery, deterministic selection, access checks, credential handling, duplicate prevention, one-shot registration, verification, and cleanup. Do not reproduce its Nebius or Datadog reads or writes.

Phase 0: Preflight

Datadog for Government is not supported. If pup auth status reports a ddog-gov.com site, stop and tell the user to set up the integration from the Datadog app instead. The script refuses Government sites too.

Pup. Installed and authenticated. The setup script performs every Datadog request through pup api, which owns authentication selection, OAuth refresh, site, and organization selection, and it validates Pup itself before touching anything:

pup auth status
  • authenticated: true → continue.
  • pup is missing → ask before installing it: brew tap datadog-labs/pack && brew install datadog-labs/pack/pup (macOS or Linux with Homebrew), curl -fsSL https://raw.githubusercontent.com/DataDog/pup/main/install.sh | sh, or npm install -g @datadog/pup (Windows or anywhere with npm); see https://github.com/DataDog/pup. Then run pup auth login.
  • authenticated: false → continue to the Datadog org step below, whose browser login establishes authentication. Do not ask the user to create or export Datadog API or application keys.

Pup version. The scripts use Pup v2 CLI flags (such as --no-envelope); Pup 1.x fails with an opaque pup_request_failed. Check:

pup --version

A major version of 2 or later is required. If it is older, ask before upgrading. When the environment allows it, upgrade with the official installer or npm as above. Some workspaces block piping a remote script to a shell (curl | sh), and /usr/local/bin may not be user-writable; there, install from the release archive in a fresh empty directory instead (replace 2.4.3 and the platform suffix with the latest release):

VERSION=2.4.3
curl -fsSLO "https://github.com/DataDog/pup/releases/download/v${VERSION}/pup_${VERSION}_Linux_x86_64.tar.gz" &&
curl -fsSLO "https://github.com/DataDog/pup/releases/download/v${VERSION}/pup_${VERSION}_checksums.txt" &&
grep "pup_${VERSION}_Linux_x86_64.tar.gz$" "pup_${VERSION}_checksums.txt" | sha256sum -c - &&
tar -xzf "pup_${VERSION}_Linux_x86_64.tar.gz" &&
sudo install -m 0755 ./pup /usr/local/bin/pup &&
pup auth login

Datadog org. Always establish the run's org with a fresh pup auth login before setup — run it in the background, tell the user to complete the browser login (this is where they select the org), and wait for it to finish. Do not ask the user which org to target, and do not infer the org from the stored session: pup auth status's org (null for the default session) and the login's "Hinting org UUID" line are stored defaults, not the org the fresh token will belong to. If the user selected a named Pup organization session, run setup with the DD_ORG environment variable set to that session's name.

Python and OpenSSL. The scripts need Python 3.9 or later. openssl is used only to reconcile an ambiguous authorized-key creation; if it is missing, tell the user that such a failure cannot be reconciled automatically.

python3 -c 'import sys; sys.exit(sys.version_info < (3, 9))' || echo "NEED python3 >= 3.9"
command -v openssl || echo "MISSING openssl"

The Nebius CLI (nebius). Installed and authenticated, with a profile whose tenant and project the integration will use. Check command -v nebius; if it is missing, follow the steps below.

Installing and authenticating the Nebius CLI

Use this when nebius is not installed, or when the script reports nebius_cli_missing (its details repeat these steps). Nebius documents the CLI for macOS and Ubuntu; on other systems, point the user to https://docs.nebius.com/cli/install or to Cloud Shell in the Nebius web console.

  1. Install. Explain that the official installer downloads and runs a remote script, and ask before running it:

    curl -sSL https://artifacts.nebius.cloud/cli/install.sh | bash
    
  2. Reload and verify. The installer updates the shell profile, so restart the terminal or run exec -l $SHELL, then confirm with nebius version. If nebius is still not found in the agent's shell, use the path the installer printed or ask the user to start a new session.

  3. Authenticate. nebius profile create writes local configuration and opens a browser federation login. Run it on the user's behalf in this session, supplying the defaults directly as arguments (profile name, endpoint api.nebius.cloud, federation endpoint auth.nebius.com, and the tenant and project to integrate); the user only completes the browser federation login it opens. nebius profile list should then show the new profile as [default].

  4. Continue with the workflow below.

If profile authenticat

Полный SKILL.md на GitHub

Установить dd-nebius-integration в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

scripts/_common.pyscripts/_datadog.pyscripts/_discovery.pyscripts/_nebius.pyscripts/setup.pyscripts/verify_logs.py

FAQ

Что делает скилл dd-nebius-integration?

Connect a Nebius Cloud tenant to Datadog so its log streams — Kubernetes, PostgreSQL, Compute, applications, MLflow, and more — are collected through the Datadog Nebius Cloud integration. Creates the Nebius service account and keys the integration needs, and registers and verifies the integration. Use when the user wants to collect Nebius Cloud logs, connect a Nebius tenant to Datadog, or set up or repair the Datadog Nebius Cloud integration.

Как установить скилл dd-nebius-integration?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл dd-nebius-integration запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить dd-nebius-integration с