frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Lowfat – pluggable CLI filter that saved 91.8% of my LLM tokens

https://github.com/zdk/lowfat
2•zdkaster•1h ago
Hi HN,

Not sure if anyone would be interested.

But, just wanted to share that I've been maintaining my small tool called 'lowfat' that helps me filters some of my verbose CLI output.

It's a single binary, works as an agent hook or a shell wrapper. It has a plugin system to customize filters per command.

The idea is pretty simple: agents don't need the full kubectl get -o yaml or any 10k-line dump to make decisions. So that lowfat sits in between, strips the noise, and passes through what matters.

Here's my real report after 2 months of personal use:

lowfat history --all

  lowfat plugin candidates
  ─────────────────────────────────────────────────────────

    #  command                    runs   avg raw      cost   savings  source    status  
    1  kubectl get                101x     14.4K      1.5M     93.9%  plugin    good    
    2  grep                       103x     13.5K      1.4M     96.2%  plugin    good    
    3  git diff                    81x       995     80.6K     57.9%  built-in  good    
    4  kubectl                     90x       485     43.6K     33.6%  plugin    good    
    5  docker                     127x      5.5K    693.6K     96.1%  built-in  good    
    6  ls                         489x       117     57.3K     56.2%  built-in  good    
    7  find                        30x     16.5K    495.0K     95.5%  plugin    good    
    8  git show                    63x       490     30.9K     38.0%  built-in  good    
    9  git                        177x       368     65.2K     76.1%  built-in  good    
   10  git log                     86x       556     47.8K     78.5%  built-in  good    
   11  kubectl logs                 5x      3.6K     17.8K     43.0%  plugin    good    
   12  git status                  86x       152     13.1K     58.0%  built-in  good    
   13  docker ps                   20x       467      9.3K     52.8%  plugin    good    
   14  kubectl describe             6x       656      3.9K      1.2%  plugin    weak    
   15  docker images                9x       940      8.5K     61.8%  built-in  good    
   16  k get                        2x      2.1K      4.2K     35.9%  plugin    good    
   17  terraform                   10x       395      3.9K     32.1%  plugin    good    
   18  git commit                  32x        77      2.5K      0.0%  built-in  weak    
   19  docker build                 8x       487      3.9K     37.6%  built-in  good    
   20  docker compose              22x       979     21.5K     89.4%  built-in  good    

  total: 4.4M raw → 4.1M saved (91.8%)
My toolset above is kind limited, but it works pretty well for my usecase without any interruption Kinda help me not reaching the token limit for my company Bedrock limit usage and keep optimizing the saving on the go for later usage.

But, why not alternatives (https://github.com/zdk/lowfat#alternatives) ? The answers are: - My goal is to make the core lightweight but extensible via plugins i.e. not trying to bundle every command in the installed binary so that people own their output filters. - Customizable per usecase via plugin or filter pipelines as I am using my own toolset. - Customizable for non-public CLI tools, for example, some enterprise might have their interal CLI tools that public won't have access. - People should own their data. So the design is local-first, No telemetry forever. - I kinda love UNIX-style composible pipes, so lowfat-filter has implemented this style. - Be able to adjust aggressiveness of the filter, so we can control that we won't strip something the agent needed.

GitHub: https://github.com/zdk/lowfat

Anyway, if anyone is interested, feedbacks and questions are welcome!

Thanks!

Doom on ONNX

https://huggingface.co/anthonypjshaw/doom-onnx
1•mariuz•36s ago•0 comments

Mangrove forests are healing after decades of human destruction

https://www.bbc.com/news/articles/cn4pk07npvvo
1•geox•54s ago•0 comments

AI Graduation Speech

https://www.smbc-comics.com/comic/speech
1•limbicsystem•2m ago•0 comments

A Fleet of Ghost Ships Is Hiding in Plain Sight on the Potomac River

https://www.popularmechanics.com/science/archaeology/a71445180/ghost-ships-in-potomac/
1•bookofjoe•5m ago•1 comments

Maybe All You Need Is the Friends You Made Along the Way

https://oooooooo.my/ayn.html
2•hpwfranks•6m ago•0 comments

Grok Build 0.1 on API

https://x.ai/news/grok-build-0-1
1•alefalfa•7m ago•0 comments

Ask HN: Is Azure capacity this constraind or am I doing it wrong?

2•lanycrost•7m ago•0 comments

Show HN: OnePad: Stop losing your work in a sea of browser tabs

https://onepad.io
1•bsaylan•13m ago•1 comments

Anthropic Calls for Al Pause Button to Let Humans Take Stock

https://www.bloomberg.com/news/articles/2026-06-05/anthropic-calls-for-ai-pause-button-to-let-hum...
1•leonnatus•13m ago•0 comments

Anthropic calls for global freeze in AI development

https://www.telegraph.co.uk/business/2026/06/04/worlds-most-valuable-ai-start-up-calls-for-global...
1•truegoric•20m ago•2 comments

Arithmetic Without Numbers – How LLMs Do Math

https://alvaro-videla.com/llm-arithmetic-internals/article_interactive/article.html
2•old_sound•22m ago•1 comments

Short videos may hinder learning by fragmenting attention and memory, study

https://phys.org/news/2026-06-short-videos-hinder-fragmenting-attention.html
1•pseudolus•25m ago•0 comments

The Most Predictable Edit in History

https://medium.com/@jakeorlowitz/the-most-predictable-edit-in-history-967956076b11
1•JohnHammersley•25m ago•0 comments

Protecting against HTTP/2 Bomb vulnerability (CVE-2026-49975) with HAProxy

https://www.haproxy.com/blog/haproxy-cve-2026-49975-http2-bomb
3•owenthejumper•27m ago•0 comments

Ultra fast cross-platform multiple screenshots module in pure Python

https://python-mss.readthedocs.io/stable/index.html
1•ankitg12•30m ago•0 comments

Show HN: Gaussographs – Gaussian Splat Photography

https://bayardrandel.com/gaussographs/
1•squidsoup•31m ago•0 comments

Doctors file complaint against Philip Morris over 'misleading AI tool'

https://www.dutchnews.nl/2026/06/doctors-slam-misleading-philip-morris-tobacco-campaign/
1•molf•31m ago•0 comments

Introduction to Using Control Strings

https://apps.microsoft.com/detail/9p129dd8kdmw?hl=en-US&gl=US
1•GateLink•31m ago•1 comments

Reinforcement Learning and Optimal Control Book (RIP Dimitri Bertsekas)

https://web.mit.edu/dimitrib/www/RLbook.html
2•sebzuddas•36m ago•0 comments

Chrome, Opera and Vivaldi pen open letter to Microsoft saying "enough is enough"

https://www.neowin.net/news/browser-vendors-pen-open-letter-to-microsoft-saying-enough-is-enough/
3•bundie•37m ago•0 comments

Mac OLM to PST Outlook Converter Software

https://www.perfectdatasolutions.com/en/olm/olm-to-pst-converter.html
1•tieanderson•38m ago•0 comments

Oracle files foreign-worker requests amid layoff bloodbath

https://nypost.com/2026/04/02/us-news/outrage-over-oracles-thousands-of-h-1b-requests-amid-layoffs/
2•robtherobber•41m ago•0 comments

A disease of deforestation: how Ebola is linked to the smartphone in your pocket

https://www.theguardian.com/world/2026/jun/05/ebola-mineral-mining-smartphones-congo
2•kuerbel•41m ago•0 comments

Offres D'emploi EN RDC – Disponibles Sur Kivuhub Emplois (Kivuhub.net) June 2026

1•kivuhub•51m ago•0 comments

A peek at POSIX sh's future goodies

https://world-playground-deceit.net/blog/2026/06/a-peek-at-posix-sh-s-future-goodies.html
2•BoingBoomTschak•53m ago•0 comments

Mantyx – Free Agent Runtime with batteries included

https://mantyx.io/
1•mantyx•59m ago•0 comments

Automated Oracle to PostgreSQL Migration in Seconds

https://www.spectralcore.com/blog/why-we-built-sql-tran-oracle-to-postgresql-migration
2•spectral_beel•1h ago•0 comments

RNG: Flat Datacenter Networks at Scale

https://arxiv.org/abs/2604.15261
1•rayhaanj•1h ago•0 comments

Envato forced my hand. Now selling direct and rethinking marketplace trust

https://www.indiehackers.com/post/envato-s-july-policy-change-forced-my-hand-now-i-m-selling-dire...
1•veno_es•1h ago•0 comments

Kill Sticky Headers (2013)

https://alisdair.mcdiarmid.org/kill-sticky-headers/
3•downbad_•1h ago•0 comments