using-gradle

using-gradle is a skill for Claude Code, Codex from rnett/gradle-mcp. It costs 53 tokens per session (3,414 once invoked), scanned A, original, Apache-2.0.

A guide for inspecting and running existing Gradle builds. Gradle is a tool that compiles, tests, and manages dependencies for projects such as Java and Kotlin applications.

In plain words
What is it for?
Use it to inspect project structure and properties, run tests or other Gradle tasks, diagnose failures, and review dependencies.
Why use it?
It helps you understand a project's modules and tasks, run the right checks, investigate build failures, and find dependency or version conflicts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect project structure and properties, run tests or other Gradle tasks, diagnose failures, and review dependencies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rnett/gradle-mcp/using-gradle
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rnett/gradle-mcp --skill using-gradle
Clone the repo
git clone --depth 1 https://github.com/rnett/gradle-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for using-gradle

README.md
[![agentmods](https://agentmods.dev/badge/skills/rnett/gradle-mcp/using-gradle.svg)](https://agentmods.dev/skills/rnett/gradle-mcp/using-gradle)
Your own site
<a href="https://agentmods.dev/skills/rnett/gradle-mcp/using-gradle"><img src="https://agentmods.dev/badge/skills/rnett/gradle-mcp/using-gradle.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,414 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.03414
Opus 5 $0.00026 $0.01707
Sonnet 5 $0.00011 $0.00683
Haiku 4.5 $0.00005 $0.00341

Measured 3d ago against content hash 6b20b961714b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

using-gradle scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/main/skills/using-gradle/SKILL.md · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Authoritative Gradle Build Execution, Testing & Inspection

Inspects, executes, diagnoses, and researches existing Gradle builds using managed orchestration and structured diagnostics.

Positive Triggers (when to activate)

  • Mapping the project hierarchy, discovering runnable tasks, or inspecting project properties.
  • Executing Gradle tasks in foreground or background.
  • Monitoring build progress or capturing isolated task output.
  • Diagnosing build failures through filtered test execution or diagnostic tasks.
  • Researching official Gradle documentation, release notes, or internal APIs.
  • Auditing the dependency graph, resolving version conflicts, or discovering library updates.
  • Searching and reading source code for dependencies, plugins, or Gradle itself.
  • Performing trivial everyday dependency edits (adding a version-catalog entry + library, bumping a version).

Negative Triggers (when NOT to activate)

  • Structural build authoring: adding/changing plugins, repositories, modules/subprojects, toolchains, publishing, CI wiring, compiler options, or testing frameworks (use authoring-gradle-builds).
  • Executing arbitrary Kotlin/Java code via the REPL (use interacting-with-project-runtime).
  • Rendering Compose UI components (use verifying-compose-ui).
  • Advanced dependency engineering — variant-aware resolution diagnostics, dependency verification, component metadata rules, substitution/composite builds, or dependency governance (use advanced-gradle-dependencies). Everyday dependency inspection, conflict analysis, and update discovery stay here.

More info: Search official guidance with gradle_docs(query="tag:userguide <term>"); read gradle/wrapper/gradle-wrapper.properties before version-sensitive research.

Constitution

  • ALWAYS use the gradle tool instead of ./gradlew via shell.
  • ALWAYS prefer foreground execution; use background only for persistent (servers) or parallel work.
  • STRONGLY PREFERRED: Use query_build for all diagnostics; avoid raw console parsing.
  • ALWAYS use query_build(kind="TESTS") for test output; NEVER use captureTaskOutput for tests.
  • NEVER use --rerun-tasks unless investigating project-wide cache corruption; prefer --rerun for targeted task forcing.
  • ALWAYS read the task outcome (UP-TO-DATE, FROM-CACHE, SKIPPED, etc.); a green result with zero execution is unproven.
  • ALWAYS read the wrapper version (gradle/wrapper/gradle-wrapper.properties) before applying version-specific advice.
  • Before you start, prioritize structured problems. When diagnosing a FAILED build or a low-signal error, call query_build(kind="PROBLEMS") BEFORE reading build files; PROBLEMS returns identifiers, severity, documentation, occurrence details, and potential solutions. Start file inspection only when structured problems do not resolve the diagnosis.
  • Handoff: Route structural build edits, compiler-option configuration, and testing-framework configuration to authoring-gradle-builds; see Cross-Skill Handoffs.

Read the full file on GitHub · 130 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +3 lines 6b20b961714b
  2. 8d ago First seen · 127 lines · 53 tokens per session scan A d28c3e34f4c1

Subscribe to this mod's changes

using-gradle is a skill published in the GitHub repository rnett/gradle-mcp (60 stars, last pushed yesterday), licensed Apache-2.0. It adds 53 tokens to every session and 3,414 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.