From cd3f9b64dec90fa95a5d949867477f6a1094a0bf Mon Sep 17 00:00:00 2001 From: Noah Lee Date: Tue, 30 Jun 2026 14:37:50 +0900 Subject: [PATCH] feat(skills): add --yes/-y flag to hermes skills uninstall `do_uninstall` already accepted a `skip_confirm` parameter and the slash-command handler already passed `skip_confirm=True`, but the CLI argparse path never exposed a flag to reach it. This adds `--yes`/`-y` to `hermes skills uninstall`, matching the existing pattern on `install` and `reset`. --- hermes_cli/skills_hub.py | 2 +- hermes_cli/subcommands/skills.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/hermes_cli/skills_hub.py b/hermes_cli/skills_hub.py index 295248f6fd..28fbf5d81f 100644 --- a/hermes_cli/skills_hub.py +++ b/hermes_cli/skills_hub.py @@ -1835,7 +1835,7 @@ def skills_command(args) -> None: do_audit(name=getattr(args, "name", None), deep=getattr(args, "deep", False)) elif action == "uninstall": - do_uninstall(args.name) + do_uninstall(args.name, skip_confirm=getattr(args, "yes", False)) elif action == "reset": do_reset(args.name, restore=getattr(args, "restore", False), skip_confirm=getattr(args, "yes", False)) diff --git a/hermes_cli/subcommands/skills.py b/hermes_cli/subcommands/skills.py index 6c2aa85d22..cfcc677f18 100644 --- a/hermes_cli/subcommands/skills.py +++ b/hermes_cli/subcommands/skills.py @@ -182,6 +182,12 @@ def build_skills_parser(subparsers, *, cmd_skills: Callable) -> None: "uninstall", help="Remove a hub-installed skill" ) skills_uninstall.add_argument("name", help="Skill name to remove") + skills_uninstall.add_argument( + "--yes", + "-y", + action="store_true", + help="Skip confirmation prompt", + ) skills_reset = skills_subparsers.add_parser( "reset",