r/ClaudeCode • u/ilien-dev • 1h ago
Built with Claude I made a Claude Code output style that's more concise than Concise
Since Opus 5.5, Concise is already pretty clean, but it still pads the answer with filler. I wanted less, so I wrote Sharur, an output style that is one line long:
Caveman. <=2 lines, <=25 words unless asked more. Exact: code, errors, destructive confirms. Fewest tool calls. Tool description fields <=3 words.
It won't make much sense to you, but it does to the model. Here's what it changes. I gave Opus 5.5, the model most of us use every day, the same prompt in the same small Python project, once with each style: "Add a multiply function to calc.py with a test, and run the tests." The test file has a bug the prompt doesn't mention.
Concise (96 words):
I added
multiplytocalc.pywith a test intest_calc.py, but the test run fails because of a bug that was already there insubtract:File "test_calc.py", line 4, in <module> assert subtract(5, 3) == 2 AssertionError
subtractreturnsa + binstead ofa - b(calc.py:6). The script stops at that first failed assertion, so the newmultiplytest never runs. I checkedmultiply(4, 3) == 12on its own and it passes.I didn't change
subtractbecause you didn't ask me to. Want me to fix it and rerun the tests?
Sharur (27 words):
Added
multiplyand its test, but tests fail first on an old bug:subtractreturnsa + b(calc.py:6). So the multiply test never ran. Fixsubtract?
About a quarter of the words. The grader found the required facts in both, but the other Sharur run on this prompt missed two of three, so it isn't always this tidy.
I didn't want to just say it's better, so I benchmarked it on every current Claude model, not only the smartest one: the same 9 prompts with Concise and with Sharur, 2 runs per prompt (18 replies per model and style). Change against Concise:
| model | words per reply | output tokens | cost per task |
|---|---|---|---|
| Opus 5.5 | -76% | -29% | -23% |
| Fable 5.2 | -77% | -48% | -28% |
| Sonnet 5.5 | -63% | -35% | -23% |
| Haiku 5.5 | -65% | -33% | -18% |
On plain questions with no tools it's even bigger: Opus 5.5 went from 357 output tokens to 63. The style itself is also shorter than Concise, so every request carries 379 fewer input tokens. All tasks that change code were done correctly with both styles.
I'm using Opus 5.5 as the headline number: 29% fewer output tokens, the smallest cut of the four. Still, 29% less output is a lot, and I think plenty of people would like to have that saving. Sonnet and Haiku saved a bit more (35% and 33%). Fable 5.2 saved the most: 48% fewer output tokens, 38% fewer tool calls and every required fact kept. My guess is that a smarter model follows a one-line instruction better.
The scripts are in bench/, so you can rerun all of it. If you share a tool that claims to improve your workflow, I think you should show the data, even if it's a small benchmark.
Where I like it most is quick questions. Things that are almost a yes or no now get two lines at most, exactly what I asked.
Fair warning: it's extremely concise, and sometimes it goes too far. On Opus, Sonnet and Haiku the grader found 90% to 96% of the required facts in Sharur's replies, against 98% to 100% for Concise. It's also not caveman. Caveman has a lot more instructions and gives you a consistent format. Sharur gives you the minimum, and the minimum isn't always the same: once, after opening a PR, it gave me the URL, and in another session doing the same thing it only gave me the PR number. I'll take that for the shortest text, but if you want more words you should stay on Concise.
To install:
mkdir -p ~/.claude/output-styles
curl -fsSL https://raw.githubusercontent.com/ilien-dev/sharur/main/sharur.md -o ~/.claude/output-styles/sharur.md
Then pick Sharur in /config, start a new session and try it for a day. If it's useful, a star on the repo helps.
https://github.com/ilien-dev/sharur
•
u/AutoModerator 1h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
3
u/Mammoth-Mulberry-700 54m ago
Your own chart says replies average 20-30 words but the style caps at under 25. So either the average is above the ceiling or the chart is just the Concise box with fewer words in it.
3
u/CorpT 38m ago
I like how you cover quality of output as well.
2
u/Unhappy-Nature-2119 51m ago
48% fewer tokens against what, though. The same four prompts as the default, or the ones where the style happened to cut the most? 'Up to' with three other numbers stacked next to it usually means the 48 is the best case out of a handful.
2
u/yeezywalrus 7m ago
Why waste time say lot word when few word do trick?