Skip to content

About

Claude Code and Codex skill that thinks a decision through, one question at a time. It names one option as the recommendation, gives the reason and says what would overturn it, and gives every alternative its cost. It never asks what it could have looked up, or spends a question on a cheap, reversible choice. A free tool by DBHQ.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

headwork - one decision at a time, with a recommendation, by DBHQ

headwork

One decision at a time, with a recommendation

License: MIT Claude Code Platform

A free, open-source tool by DBHQ - documented at skills.dbhq.uk


The decision blocking you right now, explained in plain English and put as a single question whose options each carry their justification, with one named as the recommendation and a clause saying what would overturn it.

What makes it different

An even-handed list of options is a decision handed back. Most agents, asked to help you decide, produce a menu: four labels, no argument, and the work of weighing them still entirely yours. headwork always picks one, gives the reason, and then - the part that matters - says what would make a different option right.

RECOMMENDED: Fix the variable and push. REASON: the purge step is four lines calling one documented endpoint, and one push tells you in ninety seconds what an hour of local proving would. OVERTURNED IF: a failed purge would serve stale files to real traffic rather than to you.

That last clause is deliberate. A recommendation with no stated escape is an anchor, and anchoring is hard to argue with by design. Naming the condition hands you the criterion instead of just the verdict, so overruling it is a matter of checking a fact you know and the agent does not.

The second rule is what stops the questions being worthless:

Never ask what you can find out.

Before every question it looks - the session, git log, the file, the open issues, the register - and states in one line what it checked. A question a file could have answered is a bug, not a style lapse.

The best round headwork runs is the one where looking removes the decision entirely, and it tells you that rather than building a well-formatted box around a question nobody needed.

It also refuses on cost. A question spends your attention, so a cheap, easily reversed choice gets made and stated rather than asked - being unable to look something up does not make it worth interrupting you for.

What a round looks like

  1. Look - session first, then whatever the decision touches.
  2. Say what you checked, in one line, including anything it already settles.
  3. Explain with the full context - two to four short points, plain English, with the real values and every term defined.
  4. Ask one question - two to four options, the recommendation named first with what would overturn it, every option carrying its justification and every alternative its cost. It keeps to the rules already in place, and a CLEAN SLATE: line says what it would pick if they did not exist.
  5. Stop and wait. No second question, no trailing "and also".
  6. Act on the answer - the session carries out the chosen option as normal work, then starts a new round only if another decision blocks it.

Then it goes again, for as many rounds as it takes to unblock you. There is no cap. What is capped is questions per message: one, then silence. It is done when the work can move without another decision from you, and after more than one round it ends with a recap, one line per decision. Four questions in one message is a form, and what comes back is whatever was easiest to answer rather than what mattered.

What it will not do

  • headwork never goes looking for work. No backlog sweep, no stalled-item hunt, no scheduled triage. You bring the thing you are stuck on, or it asks what you are working on.
  • headwork never edits anything. It decides; the session does the work with the tools it already has.
  • headwork keeps no state. No log, no files, no directory of its own. The reasoning belongs in what the answer produces - the commit message, the pull request body, or the register the repo already keeps.

If you are choosing between this and grill-me

grill-me, from mattpocock/skills, is the better-known skill of this kind and the honest comparison to draw. It hands off to the same repo's grilling skill, which maps your plan as a tree of decisions and works it in rounds. Each round asks every question it can ask yet, all at once, each with a recommended answer. It sends a subagent to look facts up rather than asking you, and it is done when no questions are left and you confirm you share an understanding.

So looking before asking and recommending an answer are common ground, not headwork's selling point. Five things are different:

  • The recommendation says what would overturn it. Every headwork recommendation carries an OVERTURNED IF: clause, the condition under which another option is right. grilling's recommended answer has no stated escape.
  • Every alternative names its cost. A COST: on each option that is not the recommendation, so you see what you give up before you pick it.
  • One question per message. grilling asks a whole round at once. headwork asks one and waits.
  • It will not spend a question on a cheap decision. An easily reversed choice gets made and stated, not asked. grilling aims to leave nothing assumed.
  • It works on the one decision blocking you now. grilling maps the whole plan. headwork takes what is stopping the session and leaves the rest until it blocks.

Reach for grill-me when you have a whole plan to stress-test and time to be taken apart. Reach for headwork when you are stuck mid-task on one decision and want an answer you can argue with. They are not substitutes, and there is no reason to pick only one.

Install

As a Claude Code plugin (recommended)

/plugin marketplace add dbhq-uk/marketplace
/plugin install headwork@dbhq

Any agent (Cursor, Copilot, Windsurf, Gemini, Cline and more)

npx skills add dbhq-uk/headwork-skill

From source

git clone https://github.com/dbhq-uk/headwork-skill.git
cd headwork-skill
./install.sh          # Claude Code
./install-codex.sh    # Codex

Nothing to configure. No dependencies, no credentials, no state directory.

Codex and other harnesses

headwork picks how to ask by what the agent's tools can do, not by the name of the harness. Where there is a question tool - AskUserQuestion in Claude Code, request_user_input in Codex, question in OpenCode, ask_user in Gemini CLI - it uses it, within that tool's limits. Codex, for one, allows three options rather than four.

Where there is none, it asks one plain-text question that confirms the recommendation, rather than a numbered menu. That covers a subagent, a background agent and codex exec. It is also most Codex sessions: Codex offers its tool in Plan mode, and in Default mode only behind the default_mode_request_user_input feature flag.

Both ways send the same seven parts in the same block, one question per message, then stop and wait. A test holds them in step, so neither can quietly rot into prose.

Using it

It fires on its own when you say "conflab", when you say you are stuck between options or cannot decide, or when you ask to be unblocked. You can also call it directly:

/headwork

There is nothing to pass it. It reads what the session is already working on.

It is for one decision in the work in hand. Designing something new, testing a whole plan, picking the next issue or chasing a failing test each have a better tool, and SKILL.md names them under "When not to use".

Also from DBHQ

Every DBHQ agent skill is free, open source and installable from the same marketplace, and all of them are documented at skills.dbhq.uk. The marketplace itself is dbhq-uk/marketplace - one /plugin marketplace add and every one of them is available.

Five of them share the -work suffix because they share a shape - each does one part of getting work done, and none needs the others. legwork researches, headwork decides, deskwork tracks and orders, buildwork executes, and groupwork puts a second agent on any of it.

Skill What it does
outlook Microsoft 365 mail and calendar, from the terminal
trello Your boards, run from your agent
legwork Research that settles a decision, and says when it cannot
dovetail Checks whether your repository still agrees with itself
verve Strips AI tells from prose and puts a voice back
vela Compiler-exact code search, in any language you index
garmin Your Garmin data, answered in the terminal
imager Images from OpenAI, costed before it spends
gitview Which branches are finished, and which only look like it
atlassian It edits a real page without losing what it does not understand
pennyblack A physical letter, posted from the terminal
buildwork Your open issues, run as parallel agents
deskwork What an agent noticed, tracked as real work
groupwork A second agent on the work, and a result you can cite

Plus heliograph, for a machine you cannot log into.

Contributing

Issues and pull requests welcome - see CONTRIBUTING.md, and read AGENTS.md first for the rules this skill does not break.

Licence

MIT - see LICENSE.

About

Claude Code and Codex skill that thinks a decision through, one question at a time. It names one option as the recommendation, gives the reason and says what would overturn it, and gives every alternative its cost. It never asks what it could have looked up, or spends a question on a cheap, reversible choice. A free tool by DBHQ.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages