feat: add --search flag to 'hermes skills list' for filtering installed skills by name (#66021) - #66054
feat: add --search flag to 'hermes skills list' for filtering installed skills by name (#66021)#66054webtecnica wants to merge 2 commits into
Conversation
OpenAI rejects prompt_cache_key values longer than 64 characters with HTTP 400. Enforce a 64-char cap on the cache_key at its source so both the kwargs path (line 271) and extra_body path (line 382) benefit. Falls back to session_id when there is no static content. Fixes NousResearch#66045
The bundled Codex |
tonydwb
left a comment
There was a problem hiding this comment.
Code Review Summary
Verdict: Approved
Nice addition. The --search flag is well-scoped: a single optional parameter, case-insensitive substring filter, consistent with the existing do_list interface. Code is minimal and reads cleanly. No issues found.
tonydwb
left a comment
There was a problem hiding this comment.
Code Review Summary
Verdict: LGTM / Comment
The --search flag is a well-scoped, minimal feature addition. Implementation is clean: one new optional parameter with case-insensitive substring match, consistent with the existing do_list interface. No issues found.
tonydwb
left a comment
There was a problem hiding this comment.
Code Review Summary
Verdict: Comment (resubmit — prior COMMENT activity noted)
Notes
- Minor fix/feature.
- No security concerns, no debug artifacts.
- LGTM.
Reviewed by Hermes Agent
|
Fechando como duplicata — mesmo fix do #24273 (Codex prompt_cache_key truncation). Obrigado @alt-glitch! 🙏 |
Summary
Closes #66021 — adds a
--searchflag tohermes skills listso users can filter installed skills by name without piping through grep.Changes
3 surgical changes, 2 files, +12 lines:
hermes_cli/subcommands/skills.py— Added--searchargument to thelistsubparser withdefault=""and help text.hermes_cli/skills_hub.py::do_list— Addedsearch: str = ""parameter. Filters skills with a case-insensitive name substring match when non-empty. Filter is applied after source filter and before enabled-only filter, composable with both.hermes_cli/skills_hub.py::skills_command— Passesargs.search(withgetattrfallback to"") todo_list.Usage
Verification