create-core-check
Skill by DataDog
Creates a new Go core check for the Datadog Agent that collects metrics and sends them to Datadog. It is for developers who work inside the Datadog Agent repository.
Install create-core-check
Built from the published package, never by AI.
git clone --depth 1 https://github.com/DataDog/datadog-agent /tmp/datadog-agent && mkdir -p ~/.claude/skills && cp -r /tmp/datadog-agent/.agents/skills/create-core-check ~/.claude/skills/create-core-checkRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/DataDog/datadog-agent /tmp/datadog-agent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/datadog-agent/.agents/skills/create-core-check ~/.gemini/antigravity-cli/skills/create-core-checkAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through creating a new Go core check for the Datadog Agent. Core checks collect metrics, service checks, or events and send them to Datadog at regular intervals. The skill asks for the check name, category, what it collects, configuration style, component dependencies, whether it is long-running, and any platform restrictions.
It then reads existing reference checks in the codebase and follows their patterns. It creates the check package with a Factory, Configure and Run methods, registers the check in pkg/commonchecks/corechecks.go, adds a default conf.yaml.default file and writes tests with a mock sender. The workflow ends by running the tests, building the agent and running the Go linter. It is aimed at developers working in the Datadog Agent repository.
Written from the project's SKILL.md and checked against it.
What it can do
- Gather check detailsAsks for the check name, category, data collected, configuration style, dependencies and platform limits.
- Read reference checksReads existing checks in the codebase so the new check follows their patterns.
- Create check packageWrites the check with a CheckName constant, Check struct, Factory, Configure and Run.
- Register checkAdds the check import and RegisterCheck call in pkg/commonchecks/corechecks.go.
- Default configurationCreates a conf.yaml.default file for the check in the Agent conf.d directory.
- Write testsAdds a test file that uses a mock sender to check submitted metrics.
- Verify build and lintRuns the check tests, builds the agent and runs the Go linter.
What you need
- Access to the Datadog Agent source repository
- The dda task runner for test, build and lint commands
Try asking
- /create-core-check my_check
- Create a core check that collects queue depth metrics and sends them to Datadog
- Scaffold a multi-instance core check in the net category
Good to know
- eBPF checks are more complex and have their own AGENTS.md guide.
- Platform-specific checks need a build tag and a stub file for other platforms.
- Long-running checks must return 0 from Interval() and implement Stop().
Security check
B- Allowed to use Bash, Write, Edit without limitsIn
SKILL.md
Checked automatically: .agents/skills/create-core-check/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: BashReadWriteEditGlobGrepAskUserQuestion
-
SKILL.md8 KB
Alternatives to create-core-check
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
create-core-check: common questions
What does create-core-check do?
It guides the creation of a new Go core check that collects metrics, service checks or events and sends them to Datadog. The skill follows patterns from existing checks in the Datadog Agent codebase.
Where does the new check code go?
The check package goes under pkg/collector/corechecks/ in a category folder, and its default configuration goes in cmd/agent/dist/conf.d.
How often does a core check send data?
Run() is called at regular intervals, with a default of 15 seconds. Each Run() must end with sender.Commit() to flush the data.
How do I install create-core-check?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is create-core-check free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is create-core-check safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use bash, write, edit without limits). Review the code before you install. How grades work.
What are alternatives to create-core-check?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
