# compare-gradle-builds

compare-gradle-builds compares two Gradle build runs to spot duration regressions, cache changes, and task failures. Works with run IDs, dashboard links, or branch names.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 239 installs · ★ 35 repo stars
- Author: tuist
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/tuist/agent-skills/tree/HEAD/skills/compare-gradle-builds/SKILL.md
- Updated: 2026-03-27
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/compare-gradle-builds

## What it does

This skill evaluates two Gradle runs to identify why a build slowed down. It accepts run identifiers, web dashboard URLs, or branch names. When you omit the baseline, it selects the repository default branch, picking the current branch via `git rev-parse --abbrev-ref HEAD` as the target.

The analysis checks high-level figures and granular tasks. It flags execution if duration climbs over 10%, calculates local versus remote cache hit rates, and surfaces tasks shifting from cache hits to executed states. It also notes differences across Java or Gradle environments.

Tuist MCP tools must be configured in your environment beforehand; without tools like `get_gradle_build`, the agent cannot retrieve any run data.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add tuist/agent-skills --skill compare-gradle-builds -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/compare-gradle-builds/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/compare-gradle-builds/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add tuist/agent-skills --skill compare-gradle-builds -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/compare-gradle-builds/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add tuist/agent-skills --skill compare-gradle-builds -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/compare-gradle-builds/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install tuist/agent-skills skills/compare-gradle-builds
```

2. **Manually: put the files in place**
- File: `.github/skills/compare-gradle-builds/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add tuist/agent-skills --skill compare-gradle-builds -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/tuist/agent-skills --path skills/compare-gradle-builds
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/compare-gradle-builds/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add tuist/agent-skills --skill compare-gradle-builds -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/tuist/agent-skills/tree/HEAD/skills/compare-gradle-builds/SKILL.md

## When to use it
- spot Gradle build execution time regressions above 10%
- detect tasks losing remote or local cache hits
- compare task failure states between git branches
- check Java and Gradle version differences across builds

## Example prompts
- Compare the latest build on this branch against main
- Investigate cache hit differences between build abc123 and def456
- Check why duration increased between these two dashboard run URLs

## Similar
- [kotlin-tooling-gradle-to-kotlin-toolchain-project](https://affpapa.org/en/nevibecode/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project.md) — skill · 713 installs
- [java-maven-gradle](https://affpapa.org/en/nevibecode/skills/java-maven-gradle.md) — skill · 293 installs
- [Gradle Build taste](https://affpapa.org/en/nevibecode/prompts/gradle-build-taste.md) — prompt · ★ 178201 repo stars
- [limrun-gradle](https://affpapa.org/en/nevibecode/skills/limrun-gradle.md) — skill · 42200 installs
- [gradle-run](https://affpapa.org/en/nevibecode/skills/gradle-run.md) — skill · 1100 installs
- [kotlin-tooling-gradle-to-kotlin-toolchain-plugin](https://affpapa.org/en/nevibecode/skills/kotlin-tooling-gradle-to-kotlin-toolchain-plugin.md) — skill · 705 installs

From the same set: [tuist/agent-skills](https://affpapa.org/en/nevibecode/by/tuist/agent-skills.md) — 12 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
