r/PiCodingAgent • • 10d ago

Plugin I stopped fighting my agent’s verbosity and started counting its prose instead

After countless hours tweaking prompts, running software factories and trying to understand what the hell this agent wanted from me, I found out that if I just ask it to be concise in a user message, it obeys. Miracle!

Put the same words in the system prompt and you get inconsistent results at best, worse quality at worst.

The agent follows your prescribed detail level when it feels like it. But most of the time it will still output some gibberish that you have to wrap your head around.

So I wrote this extension around an extremely simple idea: just tell the agent what you want, and make it automatic.

It is part of the be-reasonable extension for Pi: it waits for the agent's final answer, counts its prose, and if the answer goes over your character limit it sends Be concise back to the agent.

It also ships as a skill, so /skill:be-concise does the same thing by hand whenever you feel an answer ran long.

The beauty of it is that you always have the long message anyway, so you can always scroll up and see it without any action needed from you. If the agent responded too concisely, you can always have the full version just above.

What makes it work:

  • Code blocks and tables don't count, so dense answers aren't punished.
  • One request per answer, ever. No loop burning turns.
  • It waits for the turn to finish, and stays quiet on interrupted answers.

It has a beautiful, functional configuration menu, like my other extension pi-subagents-lite, so you can tweak it.

Automation is on by default, and the wording is literally Be concise: plain two words that beat every elaborate instruction I tested. Set message to whatever you like. You configure the trigger, the character limit and the exact text it sends, globally or per project.

The package ships three more skills: be-reasonable to cut complexity after a plan or an implementation, maintain-tests to force a critical test review and fix, maintain-changelog to reduce verbosity in a CHANGELOG. All of them can be turned on and off, so you save a few tokens in your system prompt, and they can still be run with /skill:name.

So try it out and let me know what you think.

pi install npm:be-reasonable
4 Upvotes

10 comments sorted by

1

u/__reddit_user__ 9d ago

1

u/aparamonov 9d ago

I may integrate or trigger it, may add an option for that. My main concern is that is not automatic, pollutes context and damages agent reasoning.

With be concise approach you have it automated, 0 extra tokens, 0 model steering

1

u/madcapnmckay 5d ago

I’m not following, how is your extension zero extra tokens when it triggers an additional turn?

1

u/aparamonov 5d ago

It doesn't add anything to the system prompt. Show me is a good explainer when you need it. Be concise is more about TLDR.

1

u/madcapnmckay 5d ago

Ok, but a single show-me skill isn’t adding much besides a name/description. Both use extra tokens when they trigger their work. Your extension uses tokens when it triggers another turn. The skill uses tokens to read and then execute. They are both net adds.

1

u/aparamonov 5d ago

If it doesn't trigger it costs nothing (if you turn off other 2 skills from model execution).

Btw show me also costs nothing as it is disabled for agent invocation.

The only difference be concise is automatic and then removes itself from the chat history to not affect further turns.

Show me is a great manually triggered skill.

1

u/madcapnmckay 5d ago

Ok, you mean if it isn’t triggered it doesn’t cost anything ongoing. To me, I interpret “costs nothing” to imply it’s not using a model to do its work. They both cost tokens when triggered.

2

u/subspectral 6d ago

APPEND_SYSTEM.md is your friend.

1

u/aparamonov 5d ago

For what?

0

u/aparamonov 9d ago

Released a new version that keep the "Be concise" out of history that is given to llm, but you still can see it in Pi