DotnetTokenKiller.linux-musl-x64 0.14.0

dotnet add package DotnetTokenKiller.linux-musl-x64 --version 0.14.0
                    
NuGet\Install-Package DotnetTokenKiller.linux-musl-x64 -Version 0.14.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DotnetTokenKiller.linux-musl-x64" Version="0.14.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DotnetTokenKiller.linux-musl-x64" Version="0.14.0" />
                    
Directory.Packages.props
<PackageReference Include="DotnetTokenKiller.linux-musl-x64" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DotnetTokenKiller.linux-musl-x64 --version 0.14.0
                    
#r "nuget: DotnetTokenKiller.linux-musl-x64, 0.14.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DotnetTokenKiller.linux-musl-x64@0.14.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DotnetTokenKiller.linux-musl-x64&version=0.14.0
                    
Install as a Cake Addin
#tool nuget:?package=DotnetTokenKiller.linux-musl-x64&version=0.14.0
                    
Install as a Cake Tool

DotnetTokenKiller

A .NET CLI proxy that reduces LLM token usage by filtering the verbose output of dotnet commands down to only what matters. Prefix build, test, restore, clean, format, list package, publish, pack and more with dtk to cut dotnet's output by 60–90% — per-command filters, token analytics, and one-command setup for 17 AI coding agents.

Why

When AI coding agents run dotnet build or dotnet test, the output is packed with noise — SDK banners, MSBuild headers, progress indicators, ANSI escape codes, and framework internals. A typical dotnet test run can produce 200+ lines where only 5–10 actually matter. Every extra line burns tokens, inflates cost, and wastes context window space. DTK strips the noise and returns a compact, signal-only result.

Install

Requires the .NET 10 SDK (full SDK, not just the runtime).

dotnet tool install -g DotnetTokenKiller

On Linux (x64 and arm64, glibc 2.27 or later, or musl as on Alpine) and macOS on Apple silicon, this installs a natively compiled dtk that starts in milliseconds and needs no .NET runtime to run; on Linux it needs ICU (libicu, or icu-libs on Alpine), as .NET does. On Windows x64 it installs the same natively compiled dtk.exe as the command (Windows 10 1903 or later, whose own SQLite and ICU it uses), packaged as the tool's shim because the SDK writes a dtk.cmd batch file for a native tool, which Git Bash cannot run and cmd re-parses; dotnet tool run dtk, tool manifests and dnx run the package's managed build on the .NET 10 runtime instead. Windows arm64 and every other platform get the framework-dependent build, which runs on the .NET 10 runtime. The same command, dotnet tool update, tool manifests and dnx all pick the right package for the machine.

The framework-dependent build records runs on any glibc, but dtk gain cannot report them on glibc older than 2.34, because its SQLite library needs GLIBC_2.34 (ericsink/SQLitePCL.raw#674); filtering and recording still work, and the records are reported once the tool runs on a newer glibc. Only Linux architectures without a native package (32-bit ARM, for example) get that build.

Update or uninstall:

dotnet tool update -g DotnetTokenKiller
dotnet tool uninstall -g DotnetTokenKiller

Usage

Prefix any supported dotnet command with dtk:

dtk dotnet build
dtk dotnet test --filter "Category=Unit"
dtk dotnet restore
dtk dotnet clean
dtk dotnet format
dtk dotnet list package --outdated
dtk dotnet publish -c Release
dtk dotnet pack
dtk dotnet tool restore
dtk dotnet ef migrations add <Name>
dtk dotnet stryker
dtk dotnet jb cleanupcode <solution>

Unknown subcommands pass through to dotnet unchanged. Filtered runs also take --tee <path> (keep the raw output) and --max-lines N (cap the report); dotnet test takes --names, --show-output and --fail-on-empty.

Features

  • Build filtering — keeps only errors, warnings, and a compact summary (~78% of dotnet's output removed)
  • Test filtering — removes adapter banners, license warnings, and reflection stack frames (~84% of dotnet's output removed)
  • Restore/Clean filtering — condenses output to essentials (~47–98% of dotnet's output removed)
  • Format filtering — shows only violations with workspace-relative paths
  • list package filtering — collapses per-TFM duplication across plain, --outdated, --deprecated, and --vulnerable (~80.9% of dotnet's output removed)
  • Publish/Pack filtering — the build's error/warning summary, plus the publish directories or created packages on success
  • tool restore, ef, Stryker and jb cleanupcode filtering — restored tools, EF Core results, mutation score and survivors, and the files a cleanup changed
  • 17 AI agent integrations — Claude Code, GitHub Copilot, GitHub Copilot CLI, Gemini CLI, Codex CLI, OpenCode, Antigravity CLI, pi, oh-my-pi, Cursor, Devin (formerly Windsurf), Factory Droid, Crush, Kilo Code, Amp, Aider, JetBrains AI
  • Token analytics — tracks per-command savings over time with dtk gain
  • Self-diagnostics — dtk doctor validates your setup in one command
  • Shell completion — bash, zsh, fish, and PowerShell

AI Agent Setup

Install integration artifacts with one command. Installing globally is the recommended way — do it once and every project your agent touches picks it up automatically:

dtk init claude --global   # ~/.claude

--global is supported for claude, gemini, codex, opencode, antigravity, pi, oh-my-pi, aider, copilot-cli, cursor, devin, droid, crush, kilo, and amp. The other providers (copilot, jetbrains) are repository-scoped — run dtk init <provider> inside the project. windsurf is an alias of devin.

Documentation

Licensed under the MIT License.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.14.0 71 11/29/2026
0.13.0 118 11/22/2026
0.12.0 149 11/16/2026
0.11.0 141 11/5/2026
0.10.0 126 11/4/2026
0.9.0 197 9/28/2026
0.8.0 209 9/14/2026
0.8.0-beta.1 175 9/14/2026