Official agent skill

Create Invoke Task

by DataDog in DataDog/datadog-agent

Create a new Python invoke task for the dda CLI. An agent skill from DataDog/datadog-agent.

OfficialApache-2.0Auto-check: notes

Install Create Invoke Task

skills CLI
$ npx skills add DataDog/datadog-agent --skill create-invoke-task -a claude-code

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

GitHub CLI
$ gh skill install DataDog/datadog-agent create-invoke-task --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-invoke-task .claude/skills/create-invoke-task && 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-invoke-task
GitHub stars
3.8k
Token cost
~606 tokens
SKILL.md length
287 words
Files
1
Skills in repo
35
Repo updated
First seen
Licence
Apache-2.0

At a glance

Create a new Python invoke task for the dda CLI. An agent skill from DataDog/datadog-agent.

  • Works in 5 steps: Gather information from the user → Read a reference → Create the task → …
  • SKILL.md covers Instructions and Usage
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Create Invoke Task is an agent skill from DataDog/datadog-agent, published by the product's own GitHub organization. Create a new Python invoke task for the dda CLI

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

It works with Python. The repository describes itself as: Main repository for Datadog Agent. The licence is Apache-2.0.

Example prompts

  • “/create-invoke-task”

Requirements

  • Python 3
  • 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. Read a reference
  3. Create the task
  4. Register (new modules only)
  5. Verify

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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

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

  • Network

    No URLs in SKILL.md.

    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 Invoke Task loads about 606 tokens when it runs. Until then it costs about 17 tokens; SKILL.md has 287 words of instructions outside code blocks.

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

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). 287 words, ~606 tokens.

Download SKILL.mdSave it as .claude/skills/create-invoke-task/SKILL.md (or your agent's skills folder).
name
create-invoke-task
description
Create a new Python invoke task for the dda CLI
allowed-tools
Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion
argument-hint
[namespace] [task-name]
model
sonnet

Create a new invoke task accessible via dda inv <namespace>.<task-name>.

Instructions

Step 1: Gather information from the user

Use AskUserQuestion to collect the following. If $ARGUMENTS provides values, skip those questions.

  1. Task name: The function name (e.g. build, refresh_assets). Underscores become hyphens in the CLI.

  2. Namespace: Which task module does it belong to?

    • Existing module — Add to an existing file in tasks/ (e.g. agent, linter, dogstatsd). Check tasks/__init__.py for the full list.
    • New module — Create a new tasks/<name>.py file and register it.
  3. What does the task do?: Brief description (becomes the docstring / help text).

  4. Parameters: What CLI flags does the task need? (name, type, default value, description)

Step 2: Read a reference

Read an existing task file matching the desired complexity:

  • Simple task (no params): tasks/auth.py
  • Task with params: Pick any task from tasks/agent.py or tasks/linter.py
  • Registration: tasks/__init__.py — to see how modules and tasks are registered
Step 3: Create the task

Add the @task decorated function to the appropriate file. Follow the patterns from Step 2.

Key rules:

  • First parameter is always ctx (the invoke Context)
  • Use ctx.run("command") to execute shell commands
  • Docstring first line = short description shown in dda inv --list
  • Import from invoke: task, Exit (for errors), Context
Step 4: Register (new modules only)

If you created a new module file, edit tasks/__init__.py:

  1. Add the import in the from tasks import (...) block (alphabetical order)
  2. Register it:
    • As a namespace (most common): ns.add_collection(<module>) — creates dda inv <module>.<task>
    • As a root task: ns.add_task(<task>) — creates dda inv <task>

If adding to an existing module, no registration is needed — invoke auto-discovers @task functions.

Step 5: Verify

Test the task:

bash
dda inv <namespace>.<task-name> --help

Usage

  • /create-invoke-task — Interactive: prompts for all details
  • /create-invoke-task agent my-task — Pre-fills namespace and name

© 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-invoke-task of DataDog/datadog-agent.

Open the folder on GitHubat commit 20eff25

Compare with similar skills

Create Invoke Task 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 Invoke Task compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create Invoke Task this skillDataDog/datadog-agent3.8k—~606Automated safety check: NotesApache-2.0
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
PDF Processinganthropics/skills180k48 repos~2kAutomated safety check: PassProprietary
NotebookLM Research AssistantPleasePrompto/notebooklm-skill7.8k14 repos~2.4kAutomated safety check: NotesMIT
Manim Video Productionbrowser-use/video-use28k6 repos~3kAutomated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • PDF Processing

    anthropics/skills

    Official

    Handles everyday PDF jobs in Python and on the command line: extract text and tables, merge, split, rotate, watermark, fill forms, encrypt and OCR.

    180k GitHub starsUsed in 48 repos~2k tokens
    Documents & OfficeAuto-check passed
  • NotebookLM Research Assistant

    PleasePrompto/notebooklm-skill

    Lets Claude Code ask questions of your Google NotebookLM notebooks through browser automation and return answers grounded in your uploaded sources.

    7.8k GitHub starsUsed in 14 repos~2.4k tokens
    Knowledge ManagementAuto-check: notes
  • Manim Video Production

    browser-use/video-use

    Produces math and technical explainer videos with Manim Community Edition: concept animations, equation derivations, algorithm walkthroughs and data stories.

    28k GitHub starsUsed in 6 repos~3k tokens
    Media & CreativeAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • PPT Master

    hugohe3/ppt-master

    Generates editable PowerPoint decks, rebuilds slides from images, fills .pptx templates and polishes existing presentations through routed workflows.

    58k GitHub starsUsed in 1 repo~2.5k tokens
    Documents & OfficeAuto-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

Works with

Questions about Create Invoke Task

What does Create Invoke Task do?

Create a new Python invoke task for the dda CLI. An agent skill from DataDog/datadog-agent. Create Invoke Task is an agent skill from DataDog/datadog-agent, published by the product's own GitHub organization.

How do I install Create Invoke Task in Claude Code?

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

How do I install Create Invoke Task in Codex?

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

Can I use Create Invoke Task 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-invoke-task -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-invoke-task, .gemini/skills/create-invoke-task, .github/skills/create-invoke-task and .opencode/skills/create-invoke-task in your project.

What does Create Invoke Task need to run?

SKILL.md names no scripts, command-line tools or credentials: Create Invoke Task is instructions for the agent only. Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion.

Does Create Invoke Task access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Create Invoke Task 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 Invoke Task use?

Create Invoke Task 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 Invoke Task use?

About 606 tokens (SKILL.md is roughly 2.4k 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 Invoke Task?

Skills that share tags, products or a category with Create Invoke Task: MCP Server Builder (anthropics/skills, 180k stars), PDF Processing (anthropics/skills, 180k stars), NotebookLM Research Assistant (PleasePrompto/notebooklm-skill, 7.8k stars) and Manim Video Production (browser-use/video-use, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create Invoke Task?

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.