mcpbeat Sign in

Add New Configuration Agent Skill

> Register a new environment variable / configuration option in dd-trace-py. Use whenever you add (or rename) a DD_*/_DD_*/OTEL_*/DATADOG_* environment variable so it is documented, validated, and tracked for cross-language feature parity. Covers supported-configurations.json, the generated _supported_configurations.py module, docs/configuration.rst, and the feature-parity registry hand-off.

1k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
646
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/DataDog/dd-trace-py --skill add-new-configuration

The instruction itself

11 sections, as written by the author

When to Use This Skill

Use this skill whenever a code change introduces a new environment variable

(or renames/aliases an existing one). In dd-trace-py every DD_*, _DD_*,

OTEL_*, or DATADOG_* variable accessed under ddtrace/ MUST be registered,

or the supported_configurations CI check fails.

Typical trigger: you just added something like

DDConfig.var(bool, AI_GUARD.ENV_OPENAI_ENABLED, default=True) in a settings

module and need to make CI / docs happy.


Key Principles

  • supported-configurations.json is the source of truth. Edit it by hand;

everything else is generated or verified from it.

  • Never hand-edit ddtrace/internal/settings/_supported_configurations.py

it is AUTO-GENERATED. Run the script to regenerate it.

  • Keep entries alphabetically sorted within the supportedConfigurations

object (the generator sorts the Python module, but keep the JSON tidy too).

  • Document user-facing variables in docs/configuration.rst under the

correct product section.

  • Hand off to the human to add the variable to the feature-parity registry —

this is an external web app the agent cannot edit.


Steps

1. Add the entry to supported-configurations.json

Find the right alphabetical slot and add a single-element array. Set type to

mirror the DDConfig.var(...) type. Do NOT infer the implementation letter

from neighbouring variables — it is owned by the central Configuration Registry

(see step 6). Use "A" for a brand-new key; if the key already exists in the

registry, reuse its letter, and if a maintainer must create a new

implementation version (because the type/default differs from an existing

cross-language entry), reference that version's letter.

"DD_AI_GUARD_OPENAI_ENABLED": [
  {
    "implementation": "A",
    "type": "boolean",
    "default": "true"
  }
],

Field notes:

  • type: one of boolean, string, int, etc. — mirror the DDConfig.var(...) type.
  • default: the string form of the default ("true", "16", or null

for no default). Must match the code default exactly.

  • implementation: the version letter assigned by the central Configuration

Registry (step 6), NOT inferred from neighbouring vars. A product prefix like

DD_TRACE_/DD_APPSEC_ legitimately mixes multiple letters, so copying a

sibling can write the wrong value and only the central CI will catch it.

  • Optional keys seen in the registry: aliases, deprecated, sensitive

(excludes the value from config telemetry). Add these only when applicable.

2. Regenerate the Python module

python scripts/supported_configurations.py

This rewrites ddtrace/internal/settings/_supported_configurations.py

(SUPPORTED_CONFIGURATIONS, CONFIGURATION_ALIASES,

DEPRECATED_CONFIGURATIONS, SENSITIVE_CONFIGURATIONS) and verifies that every

env var accessed in ddtrace/ is registered.

3. Verify everything is in sync

python scripts/supported_configurations.py --check

Expected output:

_supported_configurations.py is up to date.
Registry is complete (NNN entries, no unregistered vars).

This is the same check CI runs. If it reports unregistered vars, you missed an

entry in step 1.

4. Document the variable in docs/configuration.rst

Add an entry under the appropriate product heading using the

.. ddtrace-configuration-options:: directive. Match the surrounding style.

   DD_AI_GUARD_OPENAI_ENABLED:
     type: Boolean
     default: True
     description: |
       Per-provider kill switch for AI Guard auto-instrumentation of the OpenAI SDK.
       When set to ``False``, disables AI Guard instrumentation for OpenAI only.

Include version_added: if the option is gated to a specific release.

5. Add a release note (if user-impacting)

New public configuration is user-facing, so add a Reno fragment (use the

releasenote skill). Skip only for purely internal/private vars.

6. Hand off: add it to the feature-parity registry

The agent CANNOT do this — it is an external web application. Tell the user:

> ⚠️ Action required: Add this configuration to the cross-language

> feature-parity registry so it is tracked across tracer languages:

> https://feature-parity.us1.prod.dog/#/configurations?viewType=configurations


Validation Checklist

  • [ ] Entry added to supported-configurations.json (correct type/default/implementation).
  • [ ] python scripts/supported_configurations.py run (module regenerated).
  • [ ] python scripts/supported_configurations.py --check passes.
  • [ ] Documented in docs/configuration.rst under the right section.
  • [ ] Release note added (if user-impacting).
  • [ ] User reminded to register it at the feature-parity dashboard.

Gotchas

  • The --check step is what CI enforces; always run it before committing.
  • default in the JSON is a string (or null), even for ints/booleans.
  • If you only consume the variable in tests or tooling outside ddtrace/, the

completeness check won't force registration — but register it anyway if it is

a real, documented configuration option.

  • Renames: treat the old name as an alias rather than deleting it, to avoid

breaking existing deployments.

Other skills for the same job

different authors, same section of the catalogue
DOCX
by anthropics
vendor ×16

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

7k tokens
PDF
by anthropics
vendor ×16

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

13k tokens scripts
PPTX
by JayZeeDesign
×15

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks

308k tokens scripts
Canvas Design
by anthropics
vendor ×13

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

1388k tokens
PDF
by anthropics
vendor ×10

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.

15k tokens scripts
DOCX
by w95
×6

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.

5k tokens
PPTX
by w95
×4

Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions \"deck,\" \"slides,\" \"presentation,\" or references a .pptx filename, regardless of what they plan to do with the content afterward. If a .pptx file needs to be opened, created, or touched, use this skill.

2k tokens
Obsidian Markdown
by ZhanlinCui
×3

Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax. Use when working with .md files in Obsidian, or when the user mentions wikilinks, callouts, frontmatter, tags, embeds, or Obsidian notes.

3k tokens

How to use it

Copy the folder

Take datadog/add-new-configuration from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

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.