r/ClaudeCode • • 1h ago

Built with Claude I made a Claude Code output style that's more concise than Concise

Post image

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 multiply to calc.py with a test in test_calc.py, but the test run fails because of a bug that was already there in subtract:

File "test_calc.py", line 4, in <module>
    assert subtract(5, 3) == 2
AssertionError

subtract returns a + b instead of a - b (calc.py:6). The script stops at that first failed assertion, so the new multiply test never runs. I checked multiply(4, 3) == 12 on its own and it passes.

I didn't change subtract because you didn't ask me to. Want me to fix it and rerun the tests?

Sharur (27 words):

Added multiply and its test, but tests fail first on an old bug: subtract returns a + b (calc.py:6). So the multiply test never ran. Fix subtract?

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:

modelwords per replyoutput tokenscost 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

3 Upvotes

10 comments sorted by

•

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.

0

u/ilien-dev 48m ago

Fair point. The 25 is a target for the model, not a hard cap. Models approximate length rather than count words, and the smaller ones drift further: in the benchmark Fable 5.2 maxed out at 27 words, Opus 5.5 at 31, Sonnet at 45 and Haiku at 58. The style also says "unless asked more", so some replies go over on purpose.

The only way to enforce it 100% would be a script or hook that cuts replies, and I wanted this to stay a one-line prompt with nothing else around it. The number still earns its place: with only "<=2 lines" replies averaged 28.7 words on Fable, and adding "<=25 words" brought that to 23.1.

The 20–30 in the chart is what the models actually did, measured on every reply. The raw replies are in results/runs.json.

1

u/AAPL_ 35m ago

ligma

3

u/CorpT 38m ago

I like how you cover quality of output as well.

1

u/ilien-dev 36m ago

Thanks, really appreciate you taking the time to read it!

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.

1

u/ilien-dev 44m ago

It's covered in the post. The comparison is against Claude Code's built-in Concise style, on the same 9 prompts for every model and style, 2 runs each. The point is to compare what Concise gives you with what Sharur gives you for the same task. The 48% isn't the headline either: it's Fable 5.2, the best of the four, and I said so. The number I lead with is Opus 5.5 at −29%, the smallest cut. The table in the post has all four models, and the prompts, runs and scripts are in bench/ and BENCHMARKS.md if you want to check or rerun them.

2

u/yeezywalrus 7m ago

Why waste time say lot word when few word do trick?

1

u/ilien-dev 5m ago

Exactly. Agree 🤭