doca-telemetry
БесплатноБез исполняемых скриптовНе проверенUse this skill to read DOCA hardware-counter events from a `doca_dev` through the per-domain Telemetry reader libraries: `doca_telemetry_pcc`, `_dpa`…
от NVIDIA★ 4 269 звёзд на GitHubОб этом скилле
DOCA Telemetry
Host checks. Commands here that inspect the user's DOCA host (listing or reading
/opt/mellanox/doca, release files such as/etc/mlnx-releaseor/etc/nvidia/bf-release,/dev/mst) or reach the BlueField (RShim, SSH, BMC) are for that host. Run them yourself only if the user confirms you are on it; otherwise answer from this skill, give the commands for the user to run, and treat values you can't see as unknown.
Examples
"Build a collector that receives my exporter's events." Answer in this order:
- Role split first:
doca-telemetry-exporteris the publisher library linked into the app that emits events. The receiver is the DOCA Telemetry Service (doca-dts) over IPC, or the exporter's file output for a local smoke test.doca-telemetryreads per-domain hardware counters of adoca_dev; it is not a consumer of exporter events, and there is no DOCA consume or subscribe API (never name one). - Lifecycle on the publisher side: schema and types
(
doca_telemetry_exporter_schema_init,_schema_add_type,_schema_start), then source (doca_telemetry_exporter_source_create,_source_start), then_source_reportand_source_flush; calls before start returnDOCA_ERROR_BAD_STATE. The IPC path needs DTS running for events to arrive; file output (_schema_set_file_write_enabled) works without it. - Verify on the install before assuming a path or limit:
doca_telemetry_exporter_check_ipc_statusfor the DTS connection, and the exporter's documented limits for this release. - Back-pressure is a policy the app owns (drop on the hot path, flush more often, widen buffers, aggregate before reporting), never a blocking sleep-and-retry in the packet path; DOCA does not slow the publisher down.
- Role split first:
"Build a second program that RECEIVES the events my exporter app publishes." No DOCA library consumes exporter events, and this skill is not that library:
doca-telemetryreads a device's hardware counters. The app linksdoca-telemetry-exporterto publish; the receiver is the DOCA Telemetry Service over IPC (doca-dts), or the exporter's file output for a local smoke. Do not invent a consume or collector API. Then: the publishing app owns the schema; check the IPC path withdoca_telemetry_exporter_check_ipc_status; smoke one event with field values intact (file output) before bulk; when reporting cannot keep up, drop or aggregate on the hot path, never block."Read PCC counters from my BlueField app." — this is in scope. Use the per-domain Telemetry reader; do not stand up DTS or an exporter here. Sequence:
doca_telemetry_pcc_cap_is_supportedon the device, create the PCC context on the opendoca_dev(doca_telemetry_pcc_rep_createfor a representor), start it, read once withdoca_telemetry_pcc_get_counters, then stop and destroy. Reads before start returnDOCA_ERROR_BAD_STATE."Sample DPA counter exports." — stay on
doca_telemetry_dpareads. Publishing those samples belongs to the exporter skill.
Instructions
Boundary: publishing your own metrics is not this skill. A request to define an event schema, emit application metrics or push events to a collector belongs to
doca-telemetry-exporter. Hand the whole request todoca-telemetry-exporter/SKILL.mdby name and stop; do not walk this skill's workflow or the exporter's steps here, not even as a summary.
Answer contract (reading device telemetry). There is no DOCA
"collector context". This skill's path is direct counter reading: create,
start, read, stop, destroy; calls before start return
DOCA_ERROR_BAD_STATE. When the user's design also involves the exporter,
name it as the publishing side (schema and types, source, start, report,
flush) without walking it. Staging: the IPC path needs DTS running
(doca_telemetry_exporter_check_ipc_status), the file-output smoke does not.
Check the install's limits and per-domain doca_telemetry_*_cap_* queries
before assuming any.
Non-negotiable when the user wants to RECEIVE / consume / collect
exporter events: there is no DOCA library a second program links to
consume them, and no consume, subscribe or collector function exists in
any doca_telemetry_* header. Never write one, not even as an example.
Say so first, then answer with the documented model: the app links
doca-telemetry-exporter to publish; the receiver is DTS (doca-dts)
over IPC, or a reader of the exporter's file output; the lifecycle to
walk is the publisher's (schema, source, start, report, flush).
Follow Loading order below. Open the tasks companion for configure / read / debug. Open the capabilities companion for the per-domain readers. Do not open every companion file.
Where to start: This skill assumes DOCA is already installed and the user is doing hands-on hardware-counter-reader work — opening a per-domain `doca_telemetry
Установить doca-telemetry в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл doca-telemetry?
Use this skill to read DOCA hardware-counter events from a `doca_dev` through the per-domain Telemetry reader libraries: `doca_telemetry_pcc`, `_dpa`, `_diag`, `_adp_retx`, `_phy`, and `_pci`. It covers capability checks, context creation, startup, and per-domain reads or samples. Trigger for implicit requests such as "read PCC counters from my BlueField app", "sample DPA counter exports", or "expose PHY, PCI, or DIAG counters from this doca_dev". This is the counter-reader surface, not a NetFlow, IPFIX, or local-socket collector. Route publishing and export to `doca-telemetry-exporter`; route the deployed DOCA Telemetry Service to `doca-dts`, and collectors and plain stdout logging elsewhere.
Как установить скилл doca-telemetry?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл doca-telemetry запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic