Official agent skill

Create Go Module

by DataDog in DataDog/datadog-agent

Create a new Go module in the agent repository. An agent skill from DataDog/datadog-agent.

OfficialApache-2.0Auto-check: notesDevOps & Cloud

Install Create Go Module

skills CLI
$ npx skills add DataDog/datadog-agent --skill create-go-module -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install DataDog/datadog-agent create-go-module --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/DataDog/datadog-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/create-go-module .claude/skills/create-go-module && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
create-go-module
GitHub stars
3.8k
Token cost
~682 tokens
SKILL.md length
323 words
Files
1
Skills in repo
35
Repo updated
First seen
Licence
Apache-2.0

At a glance

Create a new Go module in the agent repository. An agent skill from DataDog/datadog-agent.

  • Works in 5 steps: Gather information from the user → Ensure clean git state → Run the create-module task → …
  • DevOps & Cloud work in your project
  • SKILL.md covers Instructions, Important Notes and Usage
  • Calls git

What it does

Create Go Module is an agent skill from DataDog/datadog-agent, published by the product's own GitHub organization. Create a new Go module in the agent repository

Its SKILL.md is about 680 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud. It works with Datadog, Go and OpenTelemetry. The repository describes itself as: Main repository for Datadog Agent. The licence is Apache-2.0.

When your agent uses it

  • DevOps & Cloud work in your project

Example prompts

  • “/create-go-module”

Requirements

  • Pre-approved tools (allowed-tools): Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Gather information from the user
  2. Ensure clean git state
  3. Run the create-module task
  4. Adjust modules.yml if needed
  5. Report results

What it can do on your machine

Read from SKILL.md and the folder at commit 20eff25. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write
    • Edit
    • Glob
    • Grep
    • AskUserQuestion

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Create Go Module loads about 682 tokens when it runs. Until then it costs about 16 tokens; SKILL.md has 323 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~16
When it runs · the whole SKILL.md, loaded when a task matches
~682

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from DataDog/datadog-agent at commit 20eff25, republished under its Apache-2.0 licence (© DataDog). 323 words, ~682 tokens.

Download SKILL.mdSave it as .claude/skills/create-go-module/SKILL.md (or your agent's skills folder).
name
create-go-module
description
Create a new Go module in the agent repository
allowed-tools
Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion
argument-hint
[module-path]
model
sonnet

Create a new Go module in the datadog-agent multi-module repository. This repo has 100+ Go modules managed via modules.yml and inter-module replace directives.

Instructions

Step 1: Gather information from the user

Use AskUserQuestion to collect the following. If $ARGUMENTS provides the path, skip that question.

  1. Module path: The path relative to the repo root (e.g. comp/core/mything/def, pkg/util/mypkg). This becomes github.com/DataDog/datadog-agent/<path>.

  2. Does the directory already contain Go code?: If yes, the tool will also update dependent modules. If no, it just creates the go.mod and registers the module.

Step 2: Ensure clean git state

The create-module task requires all changes to be committed. Check with git status and warn the user if there are uncommitted changes.

Step 3: Run the create-module task
bash
dda inv create-module --path=<module-path>

This task automatically:

  • Creates go.mod with the correct module path and Go version
  • Adds replace directives for inter-module dependencies
  • Registers the module in modules.yml as independent: true
  • Runs tidy across all modules
  • Runs linters (internal-deps-checker, check-mod-tidy, check-go-mod-replaces)
Step 4: Adjust modules.yml if needed

Read modules.yml and review the new entry. The task sets independent: true by default. Adjust if needed:

FieldValuesNotes
independenttrue/falsetrue = tagged and tested independently
used_by_oteltrueSet if the module is used by the OTel agent build
should_tagfalseSet for internal tooling modules that shouldn't be tagged
should_test_conditionnever/alwaysOverride test behavior
lint_targets / test_targetslist of pathsOverride default targets

Most modules use default (no special config) or just set used_by_otel: true.

Step 5: Report results

Report whether the task succeeded or failed. If it failed, read the error output and help fix the issue.

Important Notes

  • All changes must be committed before running create-module — the task may restore files on failure.
  • After creation, the module is automatically added to go.work and all necessary replace directives are set up.
  • To see the current module list: modules.yml or dda inv modules.show.

Usage

  • /create-go-module — Interactive: prompts for the module path
  • /create-go-module comp/core/mything/def — Pre-fills the path

© DataDog, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/create-go-module of DataDog/datadog-agent.

Open the folder on GitHubat commit 20eff25

Compare with similar skills

Create Go Module next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Create Go Module compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create Go Module this skillDataDog/datadog-agent3.8k—~682Automated safety check: NotesApache-2.0
Go Spec Reviewerinference-gateway/inference-gateway214—~1.2kAutomated safety check: PassApache-2.0
Frontmcp Observabilityagentfront/frontmcp146—~4.6kAutomated safety check: PassApache-2.0
Monitoring Observabilityahmedasmar/devops-claude-skills203—~3.9kAutomated safety check: PassNone
Observability Architecturemajiayu000/litellm-rs117—~1.3kAutomated safety check: PassMIT
Error HandlerEliasOulkadi/shokunin114—~3.6kAutomated safety check: NotesMIT

Similar skills

  • Go Spec Reviewer

    inference-gateway/inference-gateway

    Review a Go design spec before implementation begins - dispatch a subagent that checks a design doc for completeness, consistency, and idiomatic Go (simplicity, small consumer-defined interfaces…

    214 GitHub stars~1.2k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Frontmcp Observability

    agentfront/frontmcp

    A skill your agent uses when adding tracing, structured logging, metrics, or monitoring to a FrontMCP server.

    146 GitHub stars~4.6k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Monitoring Observability

    ahmedasmar/devops-claude-skills

    Monitoring and observability strategy, implementation, and troubleshooting.

    203 GitHub stars~3.9k tokensUpdated 5 mo ago
    DevOps & CloudAuto-check passed
  • Observability Architecture

    majiayu000/litellm-rs

    LiteLLM-RS Observability Architecture. An agent skill from majiayu000/litellm-rs.

    117 GitHub stars~1.3k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Error Handler

    EliasOulkadi/shokunin

    Design error handling, structured logging, and observability with OpenTelemetry (traces, metrics, logs), error classification, recovery patterns (retry with jitter, circuit breaker, bulkhead…

    114 GitHub stars~3.6k tokensUpdated 3 days ago
    DevOps & CloudAuto-check: notes
  • Golang Samber Slog

    context-labs/whip

    Structured logging extensions for Golang using samber/slog- — multi-handler pipelines, sampling, attribute formatting, HTTP middleware (gin, echo, fiber, chi), backend routing (datadog, sentry…

    1.1k GitHub starsUsed in 2 repos~3k tokens
    DevOps & CloudAuto-check passed

More from DataDog/datadog-agent

All 35 skills in this repo
  • Triage CI Failure

    DataDog/datadog-agent

    Official

    Classify a failed CI as either caused by an active incident, flakiness, or a true code regression.

    3.8k GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Elicit

    DataDog/datadog-agent

    Official

    Run a structured discovery session to build an Allium specification through conversation.

    3.8k GitHub starsUsed in 1 repo~3.7k tokens
    Auto-check passed
  • Follow PR

    DataDog/datadog-agent

    Official

    Monitor the current PR's GitLab pipeline to completion, then report success, auto-fix, or investigate a failure.

    3.8k GitHub stars~3.2k tokensUpdated today
    Auto-check passed
  • Create Epic Recap

    DataDog/datadog-agent

    Official

    A skill your agent uses when an engineer or manager asks to recap, summarize, or post an update on a Jira Epic — a progress update for an in-progress Epic (how far along it is, what's shipped so…

    3.8k GitHub stars~5k tokensUpdated today
    Auto-check: notes
  • Explain Lading Config

    DataDog/datadog-agent

    Official

    Explains a lading.yaml config file from the regression test suite, using the lading Rust source as ground truth for field meanings and defaults.

    3.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Distill

    DataDog/datadog-agent

    Official

    Extract an Allium specification from an existing codebase. An agent skill from DataDog/datadog-agent.

    3.8k GitHub starsUsed in 1 repo~7k tokens
    Auto-check passed

Categories

Questions about Create Go Module

What does Create Go Module do?

Create a new Go module in the agent repository. An agent skill from DataDog/datadog-agent. Create Go Module is an agent skill from DataDog/datadog-agent, published by the product's own GitHub organization.

When should I use Create Go Module?

Create Go Module fits situations like: devOps & Cloud work in your project.

How do I install Create Go Module in Claude Code?

Run `npx skills add DataDog/datadog-agent --skill create-go-module -a claude-code`. Or copy the skill folder (.agents/skills/create-go-module in DataDog/datadog-agent) into .claude/skills/create-go-module in your project. Claude Code loads it when a task matches its description.

How do I install Create Go Module in Codex?

Run `npx skills add DataDog/datadog-agent --skill create-go-module -a codex`. Or copy the skill folder (.agents/skills/create-go-module in DataDog/datadog-agent) into .agents/skills/create-go-module in your project. Codex loads it when a task matches its description.

Can I use Create Go Module in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add DataDog/datadog-agent --skill create-go-module -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create-go-module, .gemini/skills/create-go-module, .github/skills/create-go-module and .opencode/skills/create-go-module in your project.

What does Create Go Module need to run?

Going by SKILL.md and its folder, Create Go Module needs the command-line tools its instructions call (git). Its frontmatter pre-approves these tools: Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion.

Does Create Go Module access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Create Go Module safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Create Go Module use?

Create Go Module is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Create Go Module use?

About 682 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Create Go Module?

Skills that share tags, products or a category with Create Go Module: Go Spec Reviewer (inference-gateway/inference-gateway, 214 stars), Frontmcp Observability (agentfront/frontmcp, 146 stars), Monitoring Observability (ahmedasmar/devops-claude-skills, 203 stars) and Observability Architecture (majiayu000/litellm-rs, 117 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create Go Module?

DataDog (a GitHub organization, an official publisher) maintains it in DataDog/datadog-agent, which has 3,757 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 8, 2026.

Source: DataDog/datadog-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.