diff --git a/cli.py b/cli.py index f2502538e4..bcf71903eb 100644 --- a/cli.py +++ b/cli.py @@ -12862,6 +12862,8 @@ class HermesCLI(CLIAgentSetupMixin, CLICommandsMixin, CLIBillingMixin): self._handle_review_command(cmd_original) elif canonical == "loop": self._handle_loop_command(cmd_original) + elif canonical == "plan": + self._handle_plan_command(cmd_original) elif canonical == "moa": # /moa is one-shot sugar only: run a single prompt through the # default MoA preset, then restore the prior model. To *switch* to a diff --git a/hermes_cli/commands.py b/hermes_cli/commands.py index b8e388c3fc..0957dbcd98 100644 --- a/hermes_cli/commands.py +++ b/hermes_cli/commands.py @@ -227,6 +227,8 @@ COMMAND_REGISTRY: list[CommandDef] = [ aliases=("proactive",), args_hint="[interval] [--times N] [--until ] | status | pause | resume | stop", argument_mode="mixed", busy_policy="dispatch", busy_handler="loop"), + CommandDef("plan", "Write a markdown implementation plan to .hermes/plans/ without executing anything", "Session", + args_hint="[task]"), CommandDef("moa", "Run one prompt through the default Mixture of Agents preset, then restore your model", "Session", args_hint="", busy_policy="reject", busy_handler="moa"), CommandDef("subgoal", "Add or manage extra criteria on the active goal", "Session",