Hacker News new | ask | show | jobs
Show HN: I built Panda to get up to 99% token savings (github.com)
4 points by AssafPetronio 230 days ago
2 comments

this is pretty cool

something i have found to help, which is very aligned with what this tools does, is to put automatic tools on git hooks

pre-commit will run a bunch of ruff checks with --fix, then fail if any of the tracked files have un-staged changes. the output is a helpful message nudgin claude to add these files to the commit, and try again.

pre-push will run pytest but with reduced output, one-line tracebacks, max-fail=5, etc.

a makefile with concise outputs can also contribute here, if claude knows to use it.

thats very true!
No model download needed alternative: github.com/randomm/oo
But where's all the fun then?