--tool commandEverything flua does is a command: flua --tool <name>.
The VS Code extension's buttons are these commands with a GUI on top, the
MCP server exposes them to agents, and a bare flua --tool
lists them all (each with --help). This post is the tour —
all 32 tools, grouped by what they do, as of flua 0.1.188.
setup — scaffold a QA project: .vscode
configs, agent files and per-file policies. The first command in a new
workspace.newQA — scaffold a QA from one of the 30 standard
device-type templates (the type's canonical actions and properties, ready
to run):flua --tool newQA binarySwitch "Demo switch" # -> binarySwitch.lua
build — the QA builder: a browser page that turns
a recipe into a complete QA (pick your devices, generate, simulate, view
the UI, upload).uibuilder — the visual UI builder: design a
QuickApp UI (main QA v1/v2 or a child device) in the browser and copy out
the --%%u/--%%rsrc directives — see the post
Design your QuickApp UI in the
browser.catalog — list the 190 device types the sim
supports (the --%%type catalog); --json for the
machine shape.typeinfo — the implementation contract of one type
or interface: its properties (types, defaults, enums), the interfaces it
carries, and the actions a QA should implement as
QuickApp:<name> methods — each tagged with where it
comes from (the type, a base type, an interface).ui — print a QA's declared UI as text (elements,
callbacks, options); --json for the structured payload,
--as-lua for paste-ready child-device uiView tables,
--device ID to fetch a real HC3 device's UI and render it
back to --%%u rows.house — the house as one JSON document: devices
(id, name, type, room), global variables, scenes, custom events. The
data behind the extension's completions and the agent's ground truth.hubList — the hub and its QuickApps as one JSON
document (ids, names, types, rooms, modified timestamps) — what the
extension's hub view renders.hub — named controller profiles:
add/list/switch/remove
for the .env chain. list shows names, urls and
serials — never passwords:flua --tool hub add home http://192.168.1.20 admin # prompts for the password flua --tool hub switch home # repoint the global default flua --tool hub switch home --project # pin this project only
state — inspect simulator state from a seed/db
file: dump, alias scan, tree check — what the simulated house will look
like before you run.createDB — build an offline db from the HC3
(device 1, location, panels): a snapshot to develop against without the
controller.icons — populate the icon cache
(icons download) — the catalog of controller icons the
sim serves.pack — package a QA project (main file +
--%%file extras, and --%%rsrc resources like
child UIs) into a .fqa file on disk — see the post
Child UIs as
resources:flua --tool pack binarySwitch.lua # -> Demo_switch.fqa
unpack — the reverse: a .fqa back
into a flua project (<name>_main.lua plus one file per
packaged QA file):flua --tool unpack Demo_switch.fqa -d unpacked # -> unpacked/Demo_switch_main.lua
uploadQA — package an unpacked project (or take a
ready .fqa) and upload it as a new QA, or update the QA whose
id sits in a downloaded <Name>_main_<id>.lua —
the one-step upload.updateQA — update an existing QA on the HC3 from
an unpacked project (all files at once).uploadFile — push one QA file (reads
--%%deviceId/--%%qaFile from the file).uploadFQA — upload a .fqa package as
a NEW QuickApp.downloadQA — download a QA from the HC3 and unpack
it into individual Lua files (the start of the edit → test → update
loop).downloadFQA — the same download as a
.fqa file.installHelper — deploy the FluaHelper QA to the
HC3 and point it at this machine (the controller-local API bridge).inspectFQA — inspect a packed .fqa:
metadata, file inventory, variables, leak scan.api — make a raw HC3 API call and print the result:
pretty JSON + the HTTP status (--json for the one-line
{res, code} agents read; offline the call lands in the sim).test — run a project's test_*.lua
suite — one summary, nonzero exit, --json for CI/agents.luacheck — run the luacheck linter over a QA's
file closure (needs luacheck on PATH; a project .luacheckrc
replaces the generated config).migrate — scan a project for plua leftovers and
migration hazards (the checklist when a QA moves from the old tooling).ws — probe a WebSocket endpoint: handshake, send
frames, soak with pings — debugging socket QAs without a second tool.parityCapture / parityCleanup —
capture REST shape fixtures from a real HC3 for offline parity replay,
and list/remove the flua_p_* artifacts afterwards.feedback — agent feedback: scaffold and list
experience reports (docs/feedback/).caps — the flua capabilities index: curated,
pinned knowledge (list/show/search,
--json).Two commands cover the rest of the surface: a bare
flua --tool lists every tool with its one-line purpose, and
flua --tool <name> --help gives the tool's own usage.
Agents get the same tools through flua-mcp's
flua_tool, so anything this page shows is something an agent
can run.