Official agent skill

Add Gc Test

by DataDog in DataDog/jmxfetch

Add integration tests to TestGCMetrics.java for new GC collector support added to new-gc-default-jmx-metrics.yaml.

OfficialCustom licenceAuto-check passedTesting & QA

Install Add Gc Test

skills CLI
$ npx skills add DataDog/jmxfetch --skill add-gc-test -a claude-code

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

GitHub CLI
$ gh skill install DataDog/jmxfetch add-gc-test --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/jmxfetch.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/add-gc-test .claude/skills/add-gc-test && 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
add-gc-test
GitHub stars
109
Token cost
~1.1k tokens
SKILL.md length
299 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
Custom licence

At a glance

Add integration tests to TestGCMetrics.java for new GC collector support added to new-gc-default-jmx-metrics.yaml.

  • Works in 4 steps: Read… → Read… → Read… → …
  • A PR adds a new garbage collector to the metrics YAML without a corresponding test
  • SKILL.md covers Changes Introducing New GC…, Your Task, Patterns and Code Style Requirements, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Add Gc Test is an agent skill from DataDog/jmxfetch, published by the product's own GitHub organization. Add integration tests to TestGCMetrics.java for new GC collector support added to new-gc-default-jmx-metrics.yaml. Use when a PR adds a new garbage collector to the metrics YAML without a corresponding test.

Its SKILL.md is about 1.1k 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 Testing & QA, covering Integration testing. It works with Java and Datadog.

When your agent uses it

  • A PR adds a new garbage collector to the metrics YAML without a corresponding test
  • Tasks that involve Integration testing

Example prompts

  • “/add-gc-test”

Requirements

  • Pre-approved tools (allowed-tools): Read, Edit, Grep, Bash(git diff *), Bash(git log *), Bash(./mvnw *)

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Read src/main/resources/org/datadog/jmxfetch/new-gc-default-jmx-metrics.yaml — identify which new collector name: entries were added and…
  2. Read src/test/java/org/datadog/jmxfetch/TestGCMetrics.java — understand existing test patterns and pick up on the startAndGetMetrics…
  3. Read src/test/java/org/datadog/jmxfetch/util/server/JDKImage.java — confirm available JDK image constants (JDK_8, JDK_11, JDK_11_OPENJ9…
  4. Add a new @Test method to TestGCMetrics.java following the patterns below.

What it can do on your machine

Read from SKILL.md and the folder at commit 859d091. 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:

    • Read
    • Edit
    • Grep
    • Bash(git diff *)
    • Bash(git log *)
    • Bash(./mvnw *)

    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 java, diff and 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

Add Gc Test loads about 1.1k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 299 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 299 words (~1,116 tokens).

“You are helping add an integration test to TestGCMetrics.java for new GC collector support.”

— opening of SKILL.md by DataDog, Custom licence
name
add-gc-test
allowed-tools
Read, Edit, Grep, Bash(git diff *), Bash(git log *), Bash(./mvnw *)
argument-hint
branch-or-commit

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/add-gc-test of DataDog/jmxfetch.

Open the folder on GitHubat commit 859d091

Compare with similar skills

Add Gc Test 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.

Add Gc Test compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Gc Test this skillDataDog/jmxfetch109—~1.1kAutomated safety check: PassCustom licence
Java SDK E2E Test with Replay Snapshotgithub/copilot-sdk11k—~1.8kAutomated safety check: PassMIT
Update All Versionsgroovy/GMavenPlus306—~807Automated safety check: PassCustom licence
Resolve Muzzle CIDataDog/dd-trace-java736—~3.2kAutomated safety check: PassApache-2.0
Datadog Terraform Provider Test RunnerDataDog/terraform-provider-datadog468—~949Automated safety check: PassMPL-2.0
Fix Broken Datadog Provider TestsDataDog/terraform-provider-datadog468—~2.4kAutomated safety check: NotesMPL-2.0

Similar skills

  • Official

    Creates a Java SDK end-to-end test for the Copilot SDK that runs against a recorded YAML snapshot through a replay proxy, so CI needs no real authentication.

    11k GitHub stars~1.8k tokensUpdated today
    Testing & QAAuto-check passed
  • Update All Versions

    groovy/GMavenPlus

    A skill your agent uses when refreshing GMavenPlus Groovy support, Maven dependency and plugin versions, and integration-test POM versions.

    306 GitHub stars~807 tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • Resolve Muzzle CI

    DataDog/dd-trace-java

    Official

    Diagnose and resolve dd-trace-java CI failures from a module's muzzle task or the runMuzzle aggregate.

    736 GitHub stars~3.2k tokensUpdated today
    Testing & QAAuto-check passed
  • Datadog Terraform Provider Test Runner

    DataDog/terraform-provider-datadog

    Official

    Runs Datadog Terraform provider acceptance tests in none, true or false record modes, then saves trimmed output and pass, fail and skip counts to a timestamped file.

    468 GitHub stars~949 tokensUpdated today
    Testing & QAAuto-check passed
  • Fix Broken Datadog Provider Tests

    DataDog/terraform-provider-datadog

    Official

    Runs an end-to-end workflow to diagnose, reproduce, fix and validate a failing integration test in the Datadog Terraform provider, ending with a draft PR.

    468 GitHub stars~2.4k tokensUpdated today
    Testing & QAAuto-check: notes
  • Repro

    vaadin/flow-components

    Reproduce a Vaadin Flow component bug from a GitHub issue in vaadin/flow-components or a component-specific issue in vaadin/flow.

    129 GitHub stars~1.3k tokensUpdated today
    Testing & QAAuto-check passed

More from DataDog/jmxfetch

  • Prepare Release

    DataDog/jmxfetch

    Official

    Prepares a jmxfetch release by bumping the version in pom.xml, README.md, and test.yml, and populating the CHANGELOG.md entry.

    109 GitHub stars~855 tokensUpdated 2 mo ago
    Auto-check passed
  • Start Dev Cycle

    DataDog/jmxfetch

    Official

    Starts a new jmxfetch development cycle by bumping to the next SNAPSHOT version in pom.xml, README.md, and test.yml, and adding a new CHANGELOG.md placeholder.

    109 GitHub stars~512 tokensUpdated 2 mo ago
    Auto-check passed

Works with

Categories

Questions about Add Gc Test

What does Add Gc Test do?

Add integration tests to TestGCMetrics.java for new GC collector support added to new-gc-default-jmx-metrics.yaml. Add Gc Test is an agent skill from DataDog/jmxfetch, published by the product's own GitHub organization.yaml.

When should I use Add Gc Test?

Add Gc Test fits situations like: A PR adds a new garbage collector to the metrics YAML without a corresponding test; tasks that involve Integration testing.

How do I install Add Gc Test in Claude Code?

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

How do I install Add Gc Test in Codex?

Run `npx skills add DataDog/jmxfetch --skill add-gc-test -a codex`. Or copy the skill folder (.claude/skills/add-gc-test in DataDog/jmxfetch) into .agents/skills/add-gc-test in your project. Codex loads it when a task matches its description.

Can I use Add Gc Test 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/jmxfetch --skill add-gc-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-gc-test, .gemini/skills/add-gc-test, .github/skills/add-gc-test and .opencode/skills/add-gc-test in your project.

What does Add Gc Test need to run?

SKILL.md names no scripts, command-line tools or credentials: Add Gc Test is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Edit, Grep, Bash(git diff *), Bash(git log *), Bash(./mvnw *).

Does Add Gc Test 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 Add Gc Test safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Add Gc Test use?

Add Gc Test has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Add Gc Test use?

About 1.1k tokens (SKILL.md is roughly 4.5k 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 Add Gc Test?

Skills that share tags, products or a category with Add Gc Test: Java SDK E2E Test with Replay Snapshot (github/copilot-sdk, 11k stars), Update All Versions (groovy/GMavenPlus, 306 stars), Resolve Muzzle CI (DataDog/dd-trace-java, 736 stars) and Datadog Terraform Provider Test Runner (DataDog/terraform-provider-datadog, 468 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Gc Test?

DataDog (a GitHub organization, an official publisher) maintains it in DataDog/jmxfetch, which has 109 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on July 31, 2026.

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