/haft:h-compare [candidate set, portfolio reference, or comparison question]from haft
Compare two or more existing candidates under an explicit characteristic space, parity basis, and predeclared selection policy. Return constraints, trade-offs, and a non-dominated set rather than hiding the choice in one score. This skill is independent of h-frame and h-explore. Default to a conversational comparison; persist comparison artifacts only on explicit save intent or when current Work supplies a concrete operator-named or agent-inferred receiving use that needs replay. A binding choice requires a direct unambiguous operator request routed through h-decide.
Ships in haft. 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.
None: SKILL.md is the whole skill.
Retrieve the current source before applying the comparison distillate. For a
known SourceID or UnitID, call
mcp__haft__haft_query(action="fpf", mode="inspect", identifier="...").
Otherwise call mcp__haft__haft_query(action="fpf", mode="concern", query="<comparison question>"), then inspect the direct pattern body. Query
returns source candidates, not a selected governing pattern or a comparison
verdict. A retrieval score or candidate-list order is presentation metadata,
not comparison evidence or precedence.
A candidate_set is incomplete: select by the current condition and required
result kind, then inspect one exact PatternID. If no candidate fits, abstain.
Never use a query performed after comparison or editing as proof that the
earlier work followed that source.
When this comparison is context-heavy, multi-session, or reliance-bearing and
the exact EntityOfConcern is not already current, resolve its identity with
haft_query(action="memory", memory_request={"mode":"resolve", "contract_version":"haft.memory.v1","basis":{"kind":"project_current"}, "query":"...","max_candidates":5}). Select the exact candidate by the current
use rather than rank, then use the closed memory_request neighborhood branch
advertised by the tool schema with
projection_profile_ref="agent_orientation.v2".
Inspect result_kind before relying on content. project_basis_unavailable,
known absence, or explicit abstention is visible but non-blocking: continue the
comparison without inventing a profile, entity, artifact, or human gate. This
read does not replace code-graph preflight before a later code edit. Never
persist typed memory merely because a read failed; persistence requires an
explicit operator save request or a concrete operator-named or agent-inferred
receiving use supplied by current Work, with provenance.
This n-candidate comparison is Haft local practice, not automatically an
A.19.CPM actual application or an A.19.SelectorMechanism result. Claim exact
FPF conformance only when the current use also preserves each required binary
CPM application, pair coverage, token-to-producer trace, claim scope and
selected context slices, predicate basis, reference plane, evaluation window,
and separate eligibility/output bindings recovered from the direct source.
Ordinary comparison stays conversational. Persist characterization or a comparison only when the operator asks to save it or a concrete operator-named or agent-inferred receiving use needs addressable replay. Use existing problem/portfolio refs when available; do not manufacture a frame or exploration history to simulate a universal workflow.
For a durable current portfolio, preserve the exact typed-memory coordinates.
Each option must already be an independently addressable
Haft.ProjectRecordRef. If the receiving use needs a new durable portfolio,
first persist only the candidate descriptions it will rely on with
haft_note, retain each returned record_reference, and pass those exact
references as each variant's project_record_ref to haft_solution(action="explore").
Never derive a record ID from a filename or artifact ID.
Then discover the exact interfaces and call:
mcp__haft__haft_problem(action="characterize", problem_ref="<ref>", dimensions=[...])
mcp__haft__haft_solution(
action="compare",
portfolio_ref="<ref>",
entity_ref={
"ref_kind_id": "U.EntityRef",
"reference_id": "<exact resolved EntityOfConcern>"
},
bounded_context_ref="<exact bounded context>",
dimensions=[...],
scores={...},
parity_plan={...},
policy_applied="<declared before scoring>"
)
On a committed typed projection, preserve the returned comparison
record_reference; it is the exact address of this comparison edition.
Missing portfolio or option references leave the legacy carrier durable but
the typed projection underdetermined. Repair the missing reference instead
of inventing one.
Do not send selected_ref for an ordinary typed comparison. The kernel keeps
that legacy field only for compatibility and excludes it from
Haft.PortfolioComparison. A non-dominated set is not a winner,
recommendation, ChoiceResult, operator selection, gate, or execution
authority.
Present evidence limitations first, then the options still worth considering,
what each gives up, and the exact value choice that remains with the operator.
Do not prescribe a skill token. Route through h-decide only when the operator
directly and unambiguously asks to bind a current choice.
What SKILL.md sets; muted values are Claude Code's defaults
Two or more live candidates already exist and the current question is their fair comparison.
Other plugins' skills for the same job
2 plugins ship this exact skill · first indexed Oct 9, 2026
12 skills in this plugin
/h-commissionCreates a WorkCommission — bounded execution authority — from an active DecisionRecord. MANUAL ONLY: operator must explicitly type /h-commission. Never auto-invoked: commissions are execution-authority grants under Transformer Mandate. Runs freshness check, scope check, derives an ImplementationPlan, snapshots the autonomy envelope, then STOPS before execution. NOT for the decision itself (use /h-decide first). NOT for running tests or one-off tasks (the operator's coding agent handles those directly).
/h-decideRoutes one direct, unambiguous operator request to bind a bounded choice as a DecisionRecord. Use when the operator asks to decide, bind, or supersede a choice; h-frame, h-explore, and h-compare are independent capabilities, not mandatory phases.
/h-npx claudepluginhub molinafranco/claude-tools --plugin haft