DevTrendsDeveloper trends
Accent color

frodi-karlsson /

onesie

onesie is a Unix-style CLI for using System One models in shell pipelines, scripts, and agentic workflows: https://github.com/frodi-karlsson/onesie echo 'EVERYTHING IS DOWN, CALL ME NOW' | o…

DTData & operationsDTAgent extensionDTCLIDTSkill / pluginDTTerminal

About

onesie is a Unix-style CLI for using System One models in shell pipelines, scripts, and agentic workflows: https:&#x2F;&#x2F;github.com&#x2F;frodi-karlsson&#x2F;onesie echo &#x27;EVERYTHING IS DOWN, CALL ME NOW&#x27; | onesie &#x27;does this convey urgency&#x27; -r # 0.99 It provides caching, batching, deduplication, unix composability, streaming, and even a way to calibrate thresholds and questions against labelled data: onesie calibrate -f shell-safety -i jsonl --map .command --id .id \ --label destroys=.destroys --label secrets=.secrets --label network=.network \ --cuts 0.25,0.5 < examples&#x2F;data&#x2F;shell-safety.jsonl destroys, yes&#x2F;no: labelled 40, 16 yes, 24 no, 0 failed. AUC 1.00 cut flagged catches false alarms right when flagged 0.25 18 16&#x2F;16 100% 81-100% 2&#x2F;24 8% 2-26% 16&#x2F;18 89% 67-97% 0.50 15 15&#x2F;16 94% 72-99% 0&#x2F;24 0% 0-14% 15&#x2F;15 100% 80-100% worst misses echo-overwrite labelled yes answered 0.37 It works with TypeSafe&#x27;s Jev, Jev via OpenRouter, Berget&#x27;s System One models, as well as any Jev-compatible APIs. For anyone unaware, System One is Typesafe&#x27;s term for a class of models. I personally find them super exciting. You can read more here: https:&#x2F;&#x2F;typesafe.ai&#x2F;blog&#x2F;introducing-system-one-models-and-j... . When Jev launched, one of my first toy projects was using it to "lint" files. It was tough, and I found other people doing it better, but I learned the importance of calibrating questions to minimize false negatives&#x2F;positives. Later I started using scripts to interface with Jev and found myself wanting some features I couldn&#x27;t find in other CLIs, so I built onesie. Here are some more examples of what onesie can do: Ask three questions in a single request echo &#x27;Third time asking. I was charged twice and nobody answers. Fix it or I am cancelling.&#x27; | onesie --ask urgent=&#x27;is this urgent&#x27; \ --ask team=&#x27;who should handle this&#x27; --pick billing,shipping,technical \ --ask mood=&#x27;how frustrated is the customer&#x27; --rate calm,annoyed,furious \ -o values {"urgent":0.91,"team":"billing","mood":"furious"} Filter streamed log entries for human review tail -f app.log | onesie &#x27;does this line report a failure a person must act on&#x27; -i lines --merge -o json \ --assert &#x27;answer.value < 0.8&#x27; | jq -c --unbuffered &#x27;select(.answers.assert == false)&#x27; Gate the command in a script. A failed gate exits 1, and an uncertain one exits 7. Note: Probably don&#x27;t run this exact gate on user input in prod. echo "$cmd" | onesie -f shell-safety -q case $? in 0) eval "$cmd" ;; 1) echo blocked ;; 7) ask_the_user ;; *) echo &#x27;no answer, blocked&#x27; ;; esac ... And many more. Please check out the repo for more examples and a detailed reference! It&#x27;s obviously hard to try out onesie without an api key for a Jev-like provider, although there are options for using mock data or dry-running. There are instructions in the repo for how to auth with a key. If you want an MCP server or a cost estimate before each run, shaharia-lab&#x2F;jev-cli has both. It&#x27;s a nice project. I opted out of an MCP server because my intended audience is people and local agentic workflows. For these, I&#x27;m of the opinion that a good CLI is best, especially when combined with a plugin + skills. I also felt most of onesie&#x27;s standout features aren&#x27;t well served by the protocol. There are other dedicated Jev MCPs out there that do just fine. I opted out of cost estimates because I&#x27;m not interested in estimating tokens or keeping a table of costs up to date when the models are so cheap. You can install it with brew install frodi-karlsson&#x2F;tap&#x2F;onesie or go install github.com&#x2F;frodi-karlsson&#x2F;onesie&#x2F;cmd&#x2F;onesie@latest And yes, development has been very agentic :) It&#x27;s MIT-licensed.

Discovery history

  1. Show HN

    Sep 28, 2026 · 1 observations

Discuss this product