dd-account-setup

Installation
SKILL.md

Create / connect a Datadog account

This skill gets the user to a known-good state: a valid API key + application key pair, on the right region, validated against the Datadog API. It is the "step 0" that setup/instrumentation skills depend on — run it first, then hand off.

scripts/account-setup.sh is the single source of truth for everything mechanical — credential detection (env > .env.local > .env), pair validation, browser sign-in (pup when installed and new enough — an old pup CLI falls back to the script's own PKCE OAuth automatically), key creation with retrieve-most-recent fallback (application keys are limited to the signed-in user), validation of the new pair, and the atomic 0600 .env write. Existing env-file contents are preserved if provisioning or validation fails. This SKILL.md carries no copy of that logic: an inline copy is a second implementation that drifts — the --site drift bug shipped exactly that way, in a reference that duplicated the script. If a step seems to need inline bash the script already does, the answer is to fix or extend the script, not to duplicate it.

Run it

Installs
137
GitHub Stars
186
First Seen
Aug 14, 2026