Skip to content

mochi ai document ​

Generate descriptions for a workspace's undescribed executables

Synopsis ​

Generates a one-line description for every executable in a workspace that does not have one. Prints them for review by default; --write sets the description field in each flow file, leaving the rest of the file untouched. Defaults to the current workspace.

shell
mochi ai document [workspace] [flags]

Options ​

FlagTypeDescription
-h, --helphelp for document
-n, --limitintMaximum number of executables to describe (0 for all)
-o, --outputstringOutput format: text or json (default "text")
--overwriteInclude executables that already have a description
--writeWrite each description into its flow file

Options inherited from parent commands ​

FlagTypeDescription
-L, --log-levelstringLog verbosity level (debug, info, fatal) (default "info")
--syncSync flow cache and workspaces

See also ​

  • mochi ai — Describe, explain, and diagnose executables with AI