datadog/create-status-provider
Add a new section to the agent status output (agent status command)
npx skills add https://github.com/DataDog/datadog-agent --skill create-status-provider
Add a new status provider to the Datadog Agent. Status providers contribute sections to the agent status output in JSON, plain text, and HTML formats.
Use AskUserQuestion to collect the following. If $ARGUMENTS provides the provider name, skip that question.
"DogStatsD", "Forwarder")."collector" always appears first.Provides struct (most common) or standalone module?Before writing any code, read the appropriate reference files to follow existing patterns:
| What | Reference file |
|---|---|
| Provider interface | comp/core/status/component.go |
| Provider implementation + templates | comp/dogstatsd/status/statusimpl/status.go and its status_templates/ directory |
| Registration in component Provides | comp/trace/status/statusimpl/status.go |
| Template helpers (humanize, etc.) | comp/core/status/render_helpers.go |
Create the provider implementation following the reference. Also create the status_templates/<name>.tmpl and status_templates/<name>HTML.tmpl files following the templates in the reference's status_templates/ directory.
To make a provider conditional, return nil from the constructor when the feature is disabled.
Register using status.NewInformationProvider(yourProvider{...}) — either in an existing component's Provides struct (most common) or as a standalone Module(). The reference files show both patterns.
dda inv agent.build --build-exclude=systemddda inv linter.gostatus_templates and embedded via //go:embed status_templates."myFeatureStats") to namespace data in the shared stats map.HeaderProvider (rarely needed), use NewHeaderInformationProvider() instead./create-status-provider — Interactive: prompts for all details/create-status-provider "My Feature" — Pre-fills the provider nameTake datadog/create-status-provider from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.