28 Unix tools. One binary. Zero dependencies.·the missing coreutils for the agent era·try vrk in your browser at vrk.sh/play·curl vrk.sh/install.sh | sh - ready in 5 seconds·

tag

#tok

7 posts tagged #tok

recipe

Token-checked LLM call

· 2 min read

If the prompt is over the budget, the pipeline stops and the model never sees a prompt that only half fits. Count the tokens in a prompt and stop the ...

recipe

Repo token map

· 1 min read

You see which files are too big for your context window before you paste them into a prompt. Count the tokens in every source file and list the ...

recipe

Fetch and summarise a page

· 1 min read

If the page is too long, the pipeline stops before the API call, so you do not pay for a request that cannot fit. Fetch a web page as markdown, check ...

recipe

Diff review budget

· 2 min read

A diff that is too big fails fast and cheap, instead of being cut off halfway through the review. Check the token count of a git diff, then send it ...

recipe

Daily token budget

· 2 min read

The counter refuses the call once the daily limit is reached, so a runaway loop cannot use up your API budget. Add each prompt's token count to a kv ...