Skip to main content
skill CX Codex

doca-structured-tools-contract — Claude Code skill for DOCA

The doca-structured-tools-contract skill guides an agent through gathering DOCA environment and device details with a structured helper or manual commands. It also covers pre-commit validation and host-versus-DPU checks.

no license ★ 4,106 updated 2026-10-23

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add NVIDIA/skills --skill doca-structured-tools-contract -a claude-code
Open on GitHub

What doca-structured-tools-contract does

The skill defines a decision path for DOCA questions. The agent checks whether the relevant structured helper is available and validates its JSON against the selected schema. If that path fails, it follows the matching manual command sequence and tells the user which route it used.

Its scope covers versions, devices, library capabilities, specification checks before commit, and host/DPU state comparisons. Running probes and fallback commands requires access to the target host; validation steps need a working DOCA installation at /opt/mellanox/doca. This skill does not cover library implementation or a fresh DOCA setup.

What it helps with

  • Gather DOCA version and environment details
  • List devices and their capabilities
  • Check a specification before commit
  • Compare DOCA state on host and DPU

Example prompts for the agent

  • Summarize my DOCA installation, including its version, devices, and available capabilities.
  • Check whether this specification passes validation before I commit it.
  • Compare the DOCA state on the host with the DPU.

How to install doca-structured-tools-contract

1Skills CLI (Vercel)

npx skills add NVIDIA/skills --skill doca-structured-tools-contract -a claude-code

2Manually: put the files in place

~/.claude/skills/doca-structured-tools-contract/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/doca-structured-tools-contract/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about doca-structured-tools-contract

How do I install doca-structured-tools-contract in Claude Code?

Run npx skills add NVIDIA/skills --skill doca-structured-tools-contract -a claude-code. The skill file is at ~/.claude/skills/doca-structured-tools-contract/SKILL.md.

What does doca-structured-tools-contract do?

It guides an agent through collecting DOCA details: check for a structured helper, use the matching manual command sequence if needed, and report which route produced the answer.

Does this skill require DOCA to be installed?

You can read the skill without a DOCA installation. Its validation steps need a working installation at /opt/mellanox/doca.

Similar skills

All skills for DevOps and infrastructure →
contract-testing kindlmann contract-testing is a Claude Code skill for setting up Pact contracts between API consumers and providers. It activates for requests about Pact, provider verification, or can-i-deploy. CX Codex +1 1,400installs structured-logging-standardizer patricio0312rev structured-logging-standardizer sets up structured JSON logging with request correlation IDs using AsyncLocalStorage and pino. Keeps backend logs queryable and connected. CX Codex +1 273installs suede-parity-contract JasonColapietro suede-parity-contract keeps a single value across every surface of a product: the contract is generated from the reference surface and the rest assert against it in tests. CX Codex +1 ★ 121repo stars nemo-evaluator-sdk Orchestra Research nemo-evaluator-sdk — a skill for Claude Code and five other agent environments. Runs language models through 100+ benchmarks from 18+ harnesses with containerized, multi-backend execution. CX Codex +1 1,100installs api-contract-testing aj-geddes api-contract-testing verifies API contracts between consumers and providers without full integration tests. Helps stop breaking schema changes before deploying microservices. CX Codex +1 934installs planetscale-change-gates-and-approval-contract planetscale planetscale-change-gates-and-approval-contract is a Claude Code skill that gates changes to PlanetScale and related resources behind explicit approval. Production actions also require a confirmed target and rollback plan. CX Codex +1 1,900installs

From the same set312

The whole set →
doca-socket-relay Bridges host socket traffic onto a BlueField DPU via DOCA Socket Relay without rewriting applications. CX Codex +1 ★ 4,106repo stars nvshmem-troubleshoot-and-report-bugs nvshmem-troubleshoot-and-report-bugs uses launch details and per-PE logs to investigate NVSHMEM runtime failures and draft a bug report. Its diagnosis workflow is read-only. CX Codex +1 ★ 4,106repo stars doca-dpdk-bridge The doca-dpdk-bridge skill adds DOCA Flow and other DOCA features to an existing DPDK application, binding ports and converting buffers between DPDK and DOCA without rewriting the fastpath. CX Codex +1 ★ 4,106repo stars doca-dts doca-dts is a Claude Code skill that deploys and configures NVIDIA DOCA Telemetry Service on BlueField DPUs, Docker hosts, and DPF clusters. It covers DTS setup across these environments. CX Codex +1 ★ 4,106repo stars nemo-fabric-build-adapter nemo-fabric-build-adapter is a skill for developing and validating NVIDIA NeMo Fabric adapters against the platform contract, from descriptors and configuration mapping to lifecycle implementation and spec checks. CX Codex +1 ★ 4,106repo stars doca-setup doca-setup is a Claude Code skill that validates and configures NVIDIA DOCA environments for BlueField DPUs, checking library paths, hugepages, and devlink before network workloads run. CX Codex +1 ★ 4,106repo stars nvflare-autofl nvflare-autofl is a skill that runs candidate-based optimization campaigns for existing NVFLARE jobs and compares results when an optimization objective is defined. CX Codex +1 ★ 4,106repo stars doca-flow Keeps the agent on DOCA Flow when writing packet steering code for NVIDIA NICs. Covers match/action pipes, ports, representors and counters. CX Codex +1 ★ 4,106repo stars

Project sponsors

Companies that keep this analytics open