DotnetTokenKiller.linux-arm64
0.14.0
dotnet add package DotnetTokenKiller.linux-arm64 --version 0.14.0
NuGet\Install-Package DotnetTokenKiller.linux-arm64 -Version 0.14.0
<PackageReference Include="DotnetTokenKiller.linux-arm64" Version="0.14.0" />
<PackageVersion Include="DotnetTokenKiller.linux-arm64" Version="0.14.0" />
<PackageReference Include="DotnetTokenKiller.linux-arm64" />
paket add DotnetTokenKiller.linux-arm64 --version 0.14.0
#r "nuget: DotnetTokenKiller.linux-arm64, 0.14.0"
#:package DotnetTokenKiller.linux-arm64@0.14.0
#addin nuget:?package=DotnetTokenKiller.linux-arm64&version=0.14.0
#tool nuget:?package=DotnetTokenKiller.linux-arm64&version=0.14.0
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 packagefiltering — 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 andjb cleanupcodefiltering — 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 doctorvalidates 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.
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.