Skip to content

alies-dev/awesome-ai-friendly-cli

Awesome AI-Friendly CLI

Flags and configs to silence CLI noise for AI agents. Save 60-90% of wasted tokens.

AI agents don't need progress bars, color codes, banners, or interactive prompts. Most CLI tools have flags to turn these off — but they're buried in docs and scattered across ecosystems. This repo collects them in one place.

Contents

Ecosystems

  • Node.js - npm, npx, yarn, pnpm, eslint, prettier, biome, jest, vitest, mocha, tsc, playwright, cypress
  • Python - pip, uv, poetry, pytest, ruff, mypy, pyright, black, flake8, pylint, isort, bandit, coverage, tox, django, flask
  • PHP - php-cs-fixer, phpcs, phpstan, psalm, phpunit, pest
  • Go - go build, go test, go vet, go mod, golangci-lint, staticcheck, gofmt, goimports, govulncheck
  • Rust - cargo build, cargo check, cargo test, cargo clippy, cargo fmt, cargo-nextest, cargo-audit, cargo-deny
  • Ruby - bundler, rake, rspec, minitest, rails test, rubocop, standard, sorbet, reek, brakeman, erb_lint
  • Java - maven, gradle, javac, checkstyle, pmd, spotbugs, google-java-format, spotless
  • Kotlin - gradle, kotlinc, ktlint, detekt, spotless
  • Swift - swift build, swift test, xcodebuild, xcbeautify, xcpretty, swiftlint, swiftformat, swift-format, periphery
  • .NET - dotnet build, dotnet test, dotnet publish, dotnet pack, dotnet restore, dotnet format, dotnet-ef, coverlet

Common Patterns

Most CLI tools respect some combination of:

Flag / Env What it does
--no-progress Disables progress bars
--no-color Disables ANSI color codes
--quiet / -q Minimal output
--json Machine-readable output
--non-interactive Disables prompts and confirmations
NO_COLOR=1 Standard env var to disable color (no-color.org)
CI=true Many tools auto-quiet when they detect CI

Tools

  • rtk - CLI proxy that sits between AI agents and the shell, compressing output before it reaches the LLM context window. Works with Claude Code, Gemini CLI, and OpenCode.

Contributing

Contributions welcome! Read the contribution guidelines first.

About

Curated flags and configs to silence CLI noise for AI agents. Save 60-90% of wasted tokens.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors