Gw banner
AndVl1 AndVl1

Gw

AI community

Description

Gradle output filter for AI coding agents — strips noise, keeps errors/warnings/status, with Claude Code hook integration

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

gw — Gradle output filter for AI agents

Wraps `./gradlew` (and any wrapper around it: `./mainframer ./gradlew`, `ssh host './gradlew ...'`, etc.) to keep agent contexts tiny:

  • Forwards: errors (Kotlin e:, Java error:, Lint), failure blocks, test failures with stacktraces, BUILD SUCCESSFUL / BUILD FAILED.
  • Suppresses: daemon noise, dependency downloads, > Task :foo lines, > Configure project, deprecation banners, passing tests.
  • Heartbeat on stderr every ~3s (▸ :app:compileKotlin (45s) [12 tasks]) showing the active task, age, cumulative task progress, and a — slow marker once a single task exceeds GW_HEARTBEAT_SLOW_SECS (default 60s).
  • Final summary on stderr with task counts, test counts, error/warning totals, full-log path.
  • Full log preserved at ./build-logs/gw-.log for drill-down.

Install

One-liner (macOS / Linux)

curl -sSL https://raw.githubusercontent.com/AndVl1/gw/main/scripts/install.sh | sh
gw init                # patch ~/.claude/settings.json (PreToolUse hook)

Pin a version or override install dir:

curl -sSL https://raw.githubusercontent.com/AndVl1/gw/main/scripts/install.sh | sh -s -- --version v0.2.4 --dir /usr/local/bin

Default install dir: `$HOME/.local/bin`. Verifies sha256 by default.

One-liner (Windows)

PowerShell:

irm https://raw.githubusercontent.com/AndVl1/gw/main/scripts/install.ps1 | iex
gw init

Default install dir: `%LOCALAPPDATA%\Programs\gw` (added to user `PATH` automatically). Restart your shell after first install.

Homebrew (macOS, Linux)

Works on macOS and Linux with [Linuxbrew](https://docs.brew.sh/Homebrew-on-Linux):

brew tap AndVl1/tap
brew install gw
gw init

Upgrade:

brew update && brew upgrade gw

winget (Windows)

winget install AndVl1.gw
gw init

From source

cargo install --path .
gw init

Prebuilt binary (manual)

Download from the [