/mackforge-harness-toolbox:decisionsfrom Mackforge Harness Toolbox
Builds a decision board from CHECKPOINT.md open threads, classifying which choices are genuinely the user's to make right now with options, costs, and trade-offs. Shows results as a hosted page or chat list.
Ships in Mackforge Harness Toolbox. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The hard part is the classifier, not the page: a board that carries non-decisions makes the user whittle them off one at a time, and every fake decision teaches them to ignore the real ones. Classify FIRST, show the reasoning, build only what passes.
Requires PowerShell 5.1+ or pwsh 7+ (collector) and Python 3 (renderer, validator). State lives
in the project's .decisions/ folder: board.json (the last board), board.html (a preview),
url.txt (the hosted page, once one exists).
Copy this checklist into your reply and tick each line:
Picks exist in one of two places: the hosted board's database (when .decisions/url.txt exists
and the session has the ArtifactData tool), or answers the user gave in chat to the last chat
board. For a hosted board, ArtifactData list the picks collection and the receipts
collection on that URL. Each pick is {decision, option, note, at, rev, unpicked?}.
rev and state: "applied": already recorded.sources in
.decisions/board.json), add owner decision -- <YYYY-MM-DD>: <option label> plus the note
copied character for character, and drop the [owner] tag when the pick leaves only agent work.
For a decision from a task note, prepend <YYYY-MM-DD> -- you picked "<option label>" on <at>
(plus : <note>) to the note's reply field, newest first, joined with |, keeping its YAML
valid.option null): a question or comment on a decision not picked yet.
Answer it in chat, carry the answer into that decision's background at the rebuild, leave the
decision open. Exception: a note that states a choice outright ("drop it", "do B") is recorded
as that choice, in the user's words.unpicked set, option null): strike the earlier owner decision line and
mark the bullet undecided again. For a task note, prepend <YYYY-MM-DD> -- you removed your pick "<old option label>" on <at> to its reply: the collector reads that entry as reopening the
question, so the next run puts it back on the board.ArtifactData set receipts/<decision> to {rev, state: "applied", result: "<one line>", at: "<YYYY-MM-DD HH:MM UTC>"}. Never write into a pick document; the page
replaces it whole on every save.[agent] thread;
build, apply or edit nothing the pick approves unless the user asks for it in chat, because a
board press is a decision, not a work order, and the user is not watching this run.pwsh -NoProfile -File <this skill's folder>/collect_decisions.ps1 -ProjectDir <project folder> -Out <project>/.decisions/board.collected.json
On Windows without PowerShell 7, run the same line with powershell in place of pwsh.
The collector also reads THIS session's transcript, found by its session id
($env:CLAUDE_CODE_SESSION_ID, or -SessionId <id>, or a literal -Transcript <path>), never
the newest file, since concurrent sessions share a folder. It fills offered[] for step 1b; -Out
saves the output where step 4's validator checks the board against it. A runtime with no
transcript on disk gets a warning and an empty offered[]; say so.
Add -NotesDir <folder> (or set DECISIONS_NOTES_DIR) to include markdown task notes whose
frontmatter carries project: <folder name>; it is optional, and without it the CHECKPOINT is the
only source. Output is JSON: candidates[] of kind thread (Open-threads bullets, with tags and
owner: owner when tagged [owner]) and note (not-done task notes, with answered +
answered_line when the note's reply already holds a dated decision). The collector never
classifies. If it warns the CHECKPOINT is missing, say so and continue with what it found.
A candidate already decided is not a candidate: one whose bullet carries an owner decision
line, a note with answered: true, or one a step-0 pick just settled goes in left with verdict
already decided: <their answer, in their words> (<date>). Read only this project's board and
notes for these answers; never another project's board.
A choice the session itself just put to the user is theirs by the session's own word; re-judging
it off the board makes the earlier reply a lie. Read the collector's offered[] (and this
conversation's own replies, where no transcript is on disk) for options or questions given to them
on any candidate's topic, or on a topic with no candidate yet. Each one goes on the board as they
were told it: same options, any doubt written into background. The verdict table never marks it
"not", and the board data lists it in offered[] as {topic, decision: <the decision id that carries it>, at: <the collector entry's at>}; the validator fails an offered topic missing from
decisions and any collected offer whose at no offered[] entry carries.
A candidate is a DECISION only if ALL three hold:
A carried decision gets no pass. Every decision on the last board (.decisions/board.json)
goes through this test, the ownership check and the discard list again, from its own words and
sources; having been on a board is no evidence it is a decision. Never copy one forward.
Then the ownership check, because a choice that is not an answer to their ask is not theirs to make. A candidate must pass all three, or it is not a decision: answer it or drop it.
reply, or a pick on this project's board, nor by a fact about them the workspace already
records (household, home, what they own, in whatever profile or notes file they keep), which is
read before any candidate about their life is kept.Discard, naming the reason, anything that is:
left, because when the
user goes looking for people is their own call.Signals, none sufficient alone: an [owner] thread whose text is "run X / paste Y / click Z" is
execution; a [gates: go] thread is a decision only if the go is a real fork (build A vs B vs not
at all), not a rubber stamp on obvious work. A spec or thread existing is not evidence the user
wants the thing.
Print the verdict table BEFORE building: candidate, verdict (decision / not: ), one-line reason. The user vetoes in chat; remove the struck ones and continue. If nothing passes, say "nothing needs deciding right now: ", still write the empty board when a hosted page exists (so the page is honest), otherwise stop. Never manufacture a decision to fill the page.
For each decision, in plain words a stranger could act on:
id: a short unique slug, stable across rebuilds (the page saves picks under it).title: the fork as a question, under 100 chars, no field names or project shorthand.what, ask, read (required; the page shows them above the background, before any option):
what the item is in one line; the ask in the user's words or the source's own words, quoted,
never a restatement; what this run read to judge it (files, notes, pages). A reader who never saw
the source must know what is being decided before reading a verdict.sources.background: a LIST of 2-4 paragraph strings (the template calls .map on it, so a single
string renders a blank page): what the thing is, where it came from, what was found, what the
options are about. A title plus options without this is not a decision.why_now: one sentence.sources: a list of {label, path}, always including the research, spec, doc or URL the
decision came from, and the CHECKPOINT line or task note that listed it.options, each with key (a short unique slug: the page saves it as the pick and matches
default against it), label, choose_if, cost, unblocks (concrete, no workflow jargon).
A label names only what that option changes; anything already settled is stated once in
background, never repeated inside an option, because a bundled label hides which part is the
choice.default + default_reason: a suggested pick only with a one-sentence reason saying why that
option beats the others, naming one piece of evidence (file:line, command output, URL, or a
dated quote of the user), or saying "no evidence beyond judgment". default is a key, never a
label. If the honest answer turns on their taste, risk appetite or a fact only they have, set
default: null and say so in default_reason. Never suggest by habit or because it is the
status quo. null is never the answer when the user's recorded intent or the research points
at an option: recommend it and name that intent or evidence.left[] (title, verdict, plus the same what, ask, read) so
the board shows what was left off, what each one is, and why (outreach items excepted, per
step 2).Write <project>/.decisions/board.json as {project, generated, decisions, left, offered} (generated =
YYYY-MM-DD HH:MM UTC; project = the folder name). Then:
python <this skill's folder>/validate_board.py <project>/.decisions/board.json
python <this skill's folder>/render_board.py <project>/.decisions/board.json
The validator also reads board.collected.json beside the board file (step 1's -Out), or a
path given as --collected <file>.
Show the board only on the validator's ok: the template has no error handling, so one
wrong-shaped field gives a blank page. The validator also fails a why_now or default_reason
about the user's time or schedule; that is step 2's scheduling discard, so drop the decision
rather than reword the reason.
Pick the route by what this session has:
Hosted page (the session has the Artifact and ArtifactData tools):
db capability asks the user for consent again. When .decisions/url.txt exists, immediately
before the write: ArtifactData list picks again; if any pick was saved since step 0 ran,
record it per step 0 (read its sources and option labels from the board it was picked on, the
board/current document, since the new file may no longer carry it), move its decision to
left as already decided, and re-validate and
re-render (a board built before the pick would show the answered question as open). Then
read the validated board.json and ArtifactData set, collection board, doc current,
with its parsed contents passed inline as data:. Never pass file_path: to ArtifactData:
a write that reads a local file asks for approval on every call, and a user away from the
machine never sees the prompt, so the run hangs. The open page updates live.Artifact read its
URL and look for board/current (the database reader) and ctxHtml (the what / ask / read
renderer) in the source. Each republish costs one consent prompt; warn in chat first..decisions/board.publish.html (it carries no data, since
the data holds local paths a hosted page should not; it fills from board/current) with
capabilities: {db: {}}, icon: "scale", a one-sentence description; save the returned URL to
.decisions/url.txt; then write board/current as above. Open the page once and confirm the
decisions are on it: a green validator is not a rendered board.Chat board (no page host): print each decision as a numbered block: the title, the
background, then the options lettered with choose if / costs / unblocks, and the suggested pick
with its reason. Ask the user to answer as "1B, 2A: ". When they answer, record each pick
per step 0's rules (no receipt step). board.html from the renderer is a read-only preview that
opens in any browser.
At most six lines: where the board is (URL, or "above"), how many decisions are on it, the one-line list of their titles, what was left off (count; the fuller table is on the board), and any pick from step 0 that was recorded. Nothing about the classifier's mechanics, the template or the state files.
python validate_board_tests.py and pwsh -NoProfile -File collect_decisions_tests.ps1
beside this file.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dtiger1889-ops/claude-harness-toolbox --plugin mackforge-harness-toolbox17 skills in this plugin
/breakdownDecomposes one tangled problem into a smallest next action and a compact plan. Use only for /breakdown, "break this down", "break it down", or "decompose this". For open-ended ideation use fanout; skip when the task is already one clear action./checkpointUpdates the current project's CHECKPOINT.md in place so another session can resume from verified state. Use for /checkpoint, "save progress", "update checkpoint", a completed unit of work, or impending compaction; never ask whether to checkpoint, just do it. Preserves history, records unfinished work, and runs bundled validation and size checks. A session that kept the file current takes the light close. Project-specific conventions override the default schema./dumbCorrects an immediately previous response or action that the user says was wrong, incomplete, lazy, or missed the point. Use for /dumb and corrections such as "that was dumb", "fix it", "stop being lazy", "that's not done", or "you skipped" directed at the previous work, and also on the early laziness signals: "why am I still seeing this", "why didn't you", "you said you did", "did you actually", "just do it". Delivers the correction and records reusable lessons./fanoutRuns five parallel ideation agents with distinct perspectives, then a critic, for an open-ended problem. Use only for /fanout, "run a fanout", "fanout this", or "give me frames on X". Intended for design, naming, strategy, and hypotheses with multiple valid answers; unsuitable for routine verification or debugging with one checkable answer. Uses substantially more model calls than a single review./grill-meInterviews the user before new work, then records an agreed build brief. Use for /grill-me, "interview me first", or the first build of a new project, milestone, app, skill, hook, automation, dashboard, document, plan, or design, even when the request looks detailed enough to start. Skip fixes, edits, debugging, explanations, one-shot commands, work with an existing spec or build brief, and unattended sessions./logRecords reusable facts, corrections, decisions, and rule violations in the document or ledger that owns them. Use for /log, "log this", "capture this", "write that down", "don't lose this", or "log that lapse". Complements checkpoint, which owns project resume state; does not run on every answer.Other plugins' skills for the same job