doca-mgmt
БесплатноБез исполняемых скриптовНе проверенUse this skill when the user is doing hands-on DOCA Management programming against BlueField / ConnectX devices — standing up a management or representor…
от nvidia1 246 установок в других каталогахОб этом скилле
DOCA Management
Examples
- "Toggle data-direct on a VF." — this is in scope. Use the management / representor context; do not drop to raw mlxconfig.
- "DOCA_ERROR_IO_FAILED from raw_cmd." — the firmware rejected
the command: re-check the four-way version match, the opcode, and the
narrowest correct scope (CONFIGURATION, DEBUG_READ_ONLY, DEBUG_WRITE,
DEBUG_WRITE_FULL). fwctl or permission failures surface as
DOCA_ERROR_OPERATING_SYSTEMinstead. - "Change device state safely." Gate every sub-domain on its capability
first:
doca_mgmt_cap_icm_quota_is_supportedfor icm-quota,doca_mgmt_cap_diagnostics_data_multi_domain_is_supportedfor multi-domain diagnostics, attempt-and-handleDOCA_ERROR_NOT_SUPPORTEDfor caps-general and cc-global-status. Prefer the dedicated wrapper (data-direct:doca_mgmt_device_caps_general_set_data_direct) overdoca_mgmt_raw_cmd; when raw is needed, pick the narrowestDOCA_MGMT_CMD_SCOPE_*(_CONFIGURATION,_DEBUG_READ_ONLY,_DEBUG_WRITE,_DEBUG_WRITE_FULL). Every doca-mgmt write is a hardware-state change: citedoca-hardware-safetyas the policy that owns it (pre-flight inventory, out-of-band access for link-breaking changes, maintenance window, replica first, documented rollback, observability before workload; no documented rollback means refuse) and apply it before the write.
Instructions
Follow Loading order below. Open the tasks companion for configure / raw-cmd / debug. Open the capabilities companion for scopes and device caps. Do not open every companion file.
Where to start: This skill assumes DOCA is already installed
and the user is doing hands-on management-plane work against
a BlueField / ConnectX device — typically a fleet-management or
orchestration tool that needs to query or modify device-level
state programmatically. Open the tasks companion if the user
wants to do something (install / configure / build / modify /
run / test / debug / use); open the capabilities companion
when the question is what can doca-mgmt express on this version —
the management context model, the raw-command scope ladder, the
sub-domain surfaces (caps-general, cc-global-status, diagnostics-
data, icm-quota), version compatibility, and the safety overlay.
If the user has not installed DOCA yet, route to
doca-setup/SKILL.md first.
How to use this skill. Read this file, then search the companion file
for the ## <name> heading the question needs and read that whole section.
Answer completely from it, quoting only its symbols and commands. Do not
browse docs; use the entry points in doca-public-knowledge-map. Give
environment checks as commands for the user's DOCA host. Any change to
device state also follows doca-hardware-safety: say so and cite it. For
out-of-scope requests, name the skill that owns them and stop.
Example questions this skill answers well
The CLASSES of management-plane questions this skill is built to answer, each with one worked example. The agent should treat the class as the load-bearing piece — the worked example is a single instance.
- "Is
doca-mgmteven the right surface, or do I want telemetry / bench / caps?" — worked example: "I'm building a fleet inventory tool — do I use doca-mgmt to query each BlueField's data-direct capability, or doca-telemetry, or doca_caps?". Answered by the management-plane vs observability-plane vs read-only-CLI selection rule inCapabilities and modes
surface-selection table. - "How do I stand up a management context on a device (and a
representor)?" — worked example: "open a
doca_mgmt_dev_ctxon the device, then adoca_mgmt_dev_rep_ctxon a specific VF representor for caps-general programming". Answered by the management-context lifecycle inCapabilities and modes
- the configure walk in
configure.
- "How do I query a device capability — say, whether it
supports data-direct?" — worked example: "create a
caps-general handle, call
doca_mgmt_device_caps_general_geton the representor context, read the data-direct flag". Answered by the capability-query pattern inCapabilities and modes
- the test step in ## test.
- "How do I modify a device-level feature flag safely?" —
worked example: "toggle
data_directon a representor; capture pre-state, write, verify, prepare rollback". The rollback answer always names its owner and gates:doca-hardware-safetyowns it, so state the maintenance window, the out-of-band access path if the change can break the link, the captured pre-state as the rollback target, and that no documented rollback means no write. Answered by the apply-with-rollback workflow inmodify layered on the
bundle-wide hardware-safety meta-policy referenced fromSafety policy.
- "What does the
doca_mgmt_raw_cmdscope mean and which scope should I use?" — worked example: *"I have a vendor- documented opcode
Установить doca-mgmt в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл doca-mgmt?
Use this skill when the user is doing hands-on DOCA Management programming against BlueField / ConnectX devices — standing up a management or representor context (doca_mgmt_dev_ctx / doca_mgmt_dev_rep_ctx), querying device caps (data-direct, caps-general), toggling congestion-control global status, modifying diagnostics-data, setting ICM quotas, or issuing a raw firmware command via doca_mgmt_raw_cmd with the right scope (CONFIGURATION / DEBUG_READ_ONLY / DEBUG_WRITE / DEBUG_WRITE_FULL). Trigger even when the user does not say "DOCA Management" — typical implicit phrasings include "fleet tool that walks every BlueField and reads device state", "toggle data-direct on a VF", "set an ICM quota per representor", "send a raw firmware command from C", "DOCA_ERROR_IO_FAILED from raw_cmd", or "fwctl ioctl is failing". Refuse and route elsewhere for mlxconfig direct operation, BFB / firmware reflash, streaming telemetry, doca_caps CLI snapshots, or DOCA install itself — those belong to other skills.
Как установить скилл doca-mgmt?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл doca-mgmt запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic