Skills, CLI & MCP

You do not need to memorize this page. In ordinary use, talk to the coding agent and use h-reason when the route is unclear. This is the reference for scripting, debugging, and exact integration work.

Skills help the host agent choose a method. The CLI gives a human direct access. The haft serve MCP server exposes structured operations to the host. All three use the same local project state.

The 12 v9 skills

SkillUse it when
h-reasonThe question is ambiguous and the right route is not yet clear
h-frameThe problem itself is under-articulated
h-diagnoseA concrete failure has rival causes
h-exploreYou need genuinely different approaches
h-compareExisting options need the same comparison basis
h-decideYou directly choose one option for one clear subject and scope
h-verifyA recorded decision or claim must meet current evidence
h-statusYou want the current attention view: work, drift, evidence, or coverage
h-onboardProject setup or scope detection needs attention
h-specThe current product or software contract is in question
h-noteYou explicitly want to save one non-binding observation
h-commissionYou manually create durable, bounded authority for a runner

These are independent entry points. “Auto” routing means the host may use a matching skill; it does not mean every answer is saved or that the agent can invent a human choice. h-commission is manual-only.

CLI families

Run haft --help on the installed binary for the complete tree.

CLIPurpose
haft initInitialize project memory and selected host integrations
haft serveStart the MCP server for this project
haft fpf query|lookup|inspectFind and open the bundled FPF source
haft graph exploreFind code and related project records
haft spec ...Draft, inspect, check, exchange, and manage specifications
haft memory ...Resolve and inspect exact project memory
haft onboard ...Inspect or complete project setup
haft decision ...Inspect decisions and reconcile their links
haft commission ...Manage durable records for external runner work
haft artifact create ...Create one supported project record from an input file
haft syncImport the supported subset of readable artifact projections
haft checkRun deterministic governance checks suitable for CI
haft doctorInspect installation and project-binding problems
haft interface [capability] --jsonRead exact machine-facing contracts

Check the version your host loaded

Documentation describes a release. An already running host may still have an older binary and tool catalog in memory. After init or upgrade, restart the host and use haft version, haft doctor, and haft interface when exact behavior matters.

The 12 MCP tools

ToolPurpose
haft_queryRead status, FPF source, code context, specifications, decisions, and project memory
haft_problemFrame or characterize a problem
haft_solutionExplore or compare options
haft_decisionWork with decisions, claims, evidence, and baselines
haft_refreshScan and maintain stale or drifted records
haft_noteSave one non-binding note
haft_methodOpen and close task-local engineering guidance
haft_commissionManage runner-neutral commissions and run records
haft_spec_sectionRead and update one specification section
haft_onboardRead setup status and prepare a scope review when needed
haft_entityEstablish one exact, non-binding project identity
haft_memoryLow-level memory validation and admission for expert use

MCP validates arguments in the server and returns structured errors. A tool being visible does not grant permission to create a human decision, commission work, or change another binding state.

Removed from v9

  • haft run, haft harness, and bundled Open-Sleigh execution
  • the Elixir/OTP/BEAM runtime dependency
  • /h-search, /h-problems, and /h-view
  • haft fpf search; use query, lookup, or inspect
  • the old five-stage workflow as a required product model

Related pages