Apps & websites Open source

A skill that grills an agent for better designs, then a decision gate

Onur Solmaz, who maintains OpenClaw and works on agents at Hugging Face, automated the prompts they kept retyping: ask 'is this the best design?' a few ways, then list every option and recommend the most practical. Say 'autoplan this' in pi; the repo is public.

View on X
212likes
11reposts
313saves
16Kviews
Made with
pi, OpenClaw
Role
Agents at Hugging Face, OpenClaw maintainer
Posted
Onur Solmaz@onusoz

*autoplan*

This is one of my most used workflows in pi now

While working with AI agents, there is a mechanical process by which I mine the agent for ideas. This reduces an open-ended feature design or bugfixing problem to a multiple choice question

Basically, I keep asking paraphrases of the question "is this the best design?" 2-3 times, and then make the agent list them out, with a preference for practicality and simplicity

"Is this the most elegant and long-term production ready solution?"

"Is this the holy grail?"

And then a decision gate which makes the model list all options while recommending a certain one, with a preference for practicality

For example, while developing a plugin for pi or openclaw, asking the holy grail often causes the model to suggest changing the plugin/extension API like "The holy grail would be for pi to implement such an such API". The decision gate helps curb such stupid ideas

The good thing about this workflow is, I can just automate typing all those mining prompts, and only do the deciding after the workflow finishes

Caveat: This is not foolproof. I still reject all options, propose other ones, or run the workflow multiple times until I get what I want. But this helps reduce a ton of prompting to just "autoplan this" for me

I am curious: When you try this, does it give you high quality answers/designs? And if not, what should change to improve it?

To try it out: Install osolmaz/pi-workflows and then when you need to design something or fix a bug, just say "autoplan this". The skill should be picked up automatically

Let it finish. It will give you a summary. When you choose an option, ask it to elaborate it with more details

Repo:

View on X
Still from the video

More in Apps & websites

Touch ID enrolled from Linux on a wiped T2 Mac, after nine yearsApps & websites@macintogdev2992797
A flat floor plan that builds itself into a 3D house as you scrollApps & websites@SammmAing910971.7K
A dashboard that finds and kills forgotten local serversApps & websites@tomjohndesign1.2K511.5K
60 more three.js components added to an open-source UI libraryApps & websites@MengTo1.1K961.2K