Martin Andrt CZ
Home / Insights / Decision form: answer all of an agent's questions at once
Autonomy

Decision form: answer all of an agent’s questions at once

A dense block of text on the left, three cards in the middle with one choice marked in gold, a phone on the right with a choice tapped

Decision form is an open-source skill for Claude Code that gathers every question an agent is waiting on into one page of tappable cards. I answer them all at once, and only then does the agent act.

The problem: I wanted to respond to everything

On bigger tasks the AI kept needing something from me: decide this, confirm that, pick one of three paths. In the chat it all came as one block of text, and answering each point separately was tedious. I answered some, the rest slipped past, and the agent settled it with a default.

The fix: one page, one card per question

When the agent has three or more decisions, or is about to do something hard to undo, it writes the questions as Markdown and a script builds a single HTML page from them. Each card has the question, what is at stake including the downside, two to four options and one recommendation from the agent. I see everything at once and click instead of typing.

The agent writes its decisions into a form, the person fills it in in a browser on a computer or phone, the answers are saved and only then does the agent act

The agent sends a link to a small local server; the page also opens on a phone on the same Wi-Fi (the --lan switch, unencrypted, trusted networks only). Once I submit, the answers are saved and the agent carries on. An unanswered question gets asked again; the agent never fills it in with a guess.

What testing showed

In an automated click-through, 1 answer out of 7 was submitted, because a click hit the button under the bottom bar. An incomplete submission now takes a second tap. A fresh agent, Claude Haiku with only this skill, wrote four cards by the rules. The lesson: a card without a downside and a recommendation is a sales pitch, and nobody can decide from it.

Caveat: checked only in Claude Code, with nine automated tests and in Chrome at 390 px wide.

Try it

Installation and examples: github.com/martinandrt/decision-form.

Sources