+
    jHàj¤(  ã                  óL   € R t ^ RIHt ^ RIHt ^ RIHtHt R t. ROt	R R lt
R# )	z$``hermes skills`` subcommand parser.)Úannotations)ÚCallable)Úadd_json_flagÚadd_yes_flagc               ó2   € V P                   ! VR RRV/VB  R# )ÚactionÚ
store_trueÚhelpN)Úadd_argument)Úparserr	   ÚnamesÚkws   &$*,ÚB/home/ubuntu/.hermes/hermes-agent/hermes_cli/subcommands/skills.pyÚ_flagr   
   s   € Ø
×Ò˜ÐE |ÐE¸$ÐEÀ"ÔEó    c               ó    € V ^8„  d   QhRRRR/# )é   Ú
cmd_skillsr   ÚreturnÚNone© )Úformats   "r   Ú__annotate__r      s   € ÷ ]0ñ ]0°8ð ]0Àñ ]0r   c               ó¨
  € V P                  RRRR7      pVP                  RR7      pVP                  RRR	7      pVP                  R
RRRR7       VP                  RRR	7      pVP                  R
RRRR7       VP                  RRR	7      pVP                  R\        ^RR7       VP                  R\        ^RR7       VP                  RR\        RR7       VP                  RRR	7      pVP                  RR R	7       VP                  RR\        R!R7       VP                  R"\        ^R#R7       \        VR$4       VP                  R%R&R	7      pVP                  R'R(R	7       VP                  R)R*R+R,7       VP                  R-R*R.R,7       \        VR/R0R	7       \        VR14       VP                  R2R3R	7      p	V	P                  R'R4R	7       VP                  R5R6R	7      p
V
P                  RR. RŽOR77       \        V
R8R9R	7       VP                  R:R;R	7      pVP                  R<RR=R>7       VP                  R?R@R	7      pVP                  R<RRAR>7       \        VR/RBR	7       VP                  RCRDR	7      pVP                  R<RRER>7       \        VRFRGR	7       VP                  RHRIR	7      pVP                  R<RJR	7       \        V4       VP                  RKRLRMR7      pVP                  R<RNR	7       \        VRORPR	7       \        VRQ4       VP                  RRRSRTR7      p\        VRU4       VP                  RVRWRXR7      pVP                  R<RYR	7       VP                  RZR[R\R7      p\        VR]R^R	7       \        VR_4       VP                  R`RaRbR7      p\        VRcRdR	7       VP                  ReRfRgR7      pVP                  R<RhR	7       \        VRORiR	7       \        VRQ4       VP                  RjRkR	7      pVP                  RlRmR	7       VP                  RnRoRoRp.RqR7       VP                  RrR*RsR,7       VP                  RtRuR	7      pVP                  RvR7      pVP                  RwRxR	7      pVP                  RyRzR	7       VP                  R{R|R	7      pVP                  R}R~R	7       \        VR/RR	7       VP                  R€R�R	7      pVP                  R‚R7      pVP                  R5RƒR	7       VP                  R„R…R	7      pVP                  R†R‡R	7       VP                  RˆR‰R	7      pVP                  R<RŠR	7       VP                  R‹RŒR	7       VP                  VR�7       R# )�z3Attach the ``skills`` subcommand to ``subparsers``.Úskillsz-Search, install, configure, and manage skillsz–Search, install, inspect, audit, configure, and manage skills from skills.sh, well-known agent skill endpoints, GitHub, ClawHub, and other registries.)r	   ÚdescriptionÚskills_action)ÚdestÚtrustzRTrust a project so its repo-local skills (./.hermes/skills, ./.agents/skills) load)r	   ÚpathÚ?Nz>Project root to trust (default: enclosing git checkout of cwd))ÚnargsÚdefaultr	   Úuntrustz%Revoke project-skill trust for a repoz@Project root to untrust (default: enclosing git checkout of cwd)Úbrowsez'Browse all available skills (paginated)z--pagezPage number (default: 1))Útyper"   r	   z--sizezResults per page (default: 20)z--sourceÚallzAFilter by source or provider (e.g. nvidia, openai) (default: all))r"   Úchoicesr	   ÚsearchzSearch skill registriesÚqueryzSearch queryz2Filter by source or provider (e.g. nvidia, openai)z--limitzMax resultszEOutput JSON instead of a table (full identifiers, scripting-friendly)ÚinstallzInstall a skillÚ
identifierz^Skill identifier (e.g. openai/skills/skill-creator) or a direct HTTP(S) URL to a SKILL.md filez
--categoryÚ zCategory folder to install into)r"   r	   z--namezeOverride the skill name (useful when installing from a URL whose SKILL.md has no `name:` frontmatter)z--forcez$Install despite blocked scan verdictz-Skip confirmation prompt (needed in TUI mode)Úinspectz"Preview a skill without installingzSkill identifierÚlistzList installed skills)r"   r'   z--enabled-onlyzcHide disabled skills. Use with -p <profile> to see exactly which skills will load for that profile.Úcheckz&Check installed hub skills for updatesÚnamez&Specific skill to check (default: all))r!   r	   ÚupdatezUpdate installed hub skillsz7Specific skill to update (default: all outdated skills)zFOverwrite skills you have edited locally (they are skipped by default)ÚauditzRe-scan installed hub skillsz&Specific skill to audit (default: all)z--deepz:Run AST-level analysis on Python files (opt-in diagnostic)Ú	uninstallzRemove a hub-installed skillzSkill name to removeÚresetuO   Reset a bundled skill â€” clears 'user-modified' tracking so updates work againzäClear a bundled skill's entry from the sync manifest (~/.hermes/skills/.bundled_manifest) so future 'hermes update' runs stop marking it as user-modified. Pass --restore to also replace the current copy with the bundled version.z+Skill name to reset (e.g. google-workspace)z	--restorez<Also delete the current copy and re-copy the bundled versionz-Skip confirmation prompt when using --restorezlist-modifiedz?List bundled skills you've edited (which `hermes update` keeps)zóShow the bundled skills whose local copy differs from the version last synced, i.e. the ones `hermes update` reports as user-modified and skips. Use `hermes skills diff <name>` to see changes and `hermes skills reset <name>` to resume updates.zOutput the list as JSONÚdiffzDShow how your copy of a bundled skill differs from the stock versionz®Print a unified diff between your local copy of a bundled skill and the current bundled (stock) version, so you can confirm what changed before running `hermes skills reset`.z*Skill name to diff (e.g. google-workspace)zopt-outz7Stop bundled skills from being seeded into this profilea4  Write the .no-bundled-skills marker so the installer, `hermes update`, and any direct sync stop seeding bundled skills into the active profile. By default nothing already on disk is touched. Pass --remove to ALSO delete bundled skills that are unmodified (user-edited and hub/local skills are never removed).z--removez5Also delete already-present unmodified bundled skillsz,Skip confirmation prompt when using --removezopt-inz.Re-enable bundled-skill seeding (undo opt-out)z€Remove the .no-bundled-skills marker so bundled skills are seeded again on the next `hermes update`. Pass --sync to re-seed now.z--syncz@Re-seed bundled skills immediately instead of waiting for updatezrepair-officialz=Backfill or restore official optional skills from repo sourcea  Repair official optional skill provenance. By default, only backfills hub metadata for exact matches. Pass --restore to replace missing or mutated active copies from optional-skills/, moving existing copies to a restore backup first. Use name 'all' to repair every optional skill.z9Official optional skill folder/frontmatter name, or 'all'zJRestore from official optional source, backing up existing matching copiesÚpublishzPublish a skill to a registryÚ
skill_pathzPath to skill directoryz--toÚgithubÚclawhubzTarget registryz--repoz'Target GitHub repo (e.g. openai/skills)Úsnapshotz"Export/import skill configurationsÚsnapshot_actionÚexportz!Export installed skills to a fileÚoutputz(Output JSON file path (use - for stdout)Úimportz%Import and install skills from a fileÚinputzInput JSON file pathz%Force install despite caution verdictÚtapzManage skill sourcesÚ
tap_actionzList configured tapsÚaddz!Add a GitHub repo as skill sourceÚrepozGitHub repo (e.g. owner/repo)ÚremovezRemove a tapzTap name to removeÚconfiguD   Interactive skill configuration â€” enable/disable individual skills)Úfunc)r&   ÚhubÚbuiltinÚlocal)	Ú
add_parserÚadd_subparsersr
   ÚintÚ_SOURCE_CHOICESr   r   r   Úset_defaults)Ú
subparsersr   Úskills_parserÚskills_subparsersÚskills_trustÚskills_untrustÚskills_browseÚskills_searchÚskills_installÚskills_inspectÚskills_listÚskills_checkÚskills_updateÚskills_auditÚskills_uninstallÚskills_resetÚskills_list_modifiedÚskills_diffÚskills_opt_outÚskills_opt_inÚskills_repair_officialÚskills_publishÚskills_snapshotÚsnapshot_subparsersÚsnap_exportÚsnap_importÚ
skills_tapÚtap_subparsersÚtap_addÚtap_rms   &$                            r   Úbuild_skills_parserrl      s¤  € à×)Ñ)ØÐFð mð *ó €Mð &×4Ñ4¸/Ð4ÓJÐà$×/Ñ/°Øað 0ó c€Là×Ñ˜f¨C¸ØMð ô Oð '×1Ñ1ØÐ?ð 2ó A€Nà×Ñ ¨c¸4ØOð  ô Qð &×0Ñ0ØÐ@ð 1ó B€Mà×Ñ˜x¬c¸1ÐC]ÐÔ^Ø×ÑØ”s BÐ-Mð ô Oà×Ñ˜z°5Ä/ØPð ô Rð &×0Ñ0°Ð@YÐ0ÓZ€MØ×Ñ˜w¨^ÐÔ<Ø×Ñ˜z°5Ä/ØAð ô Cà×Ñ˜y¬s¸BÀ]ÐÔSÜØÐ^ô`ð '×1Ñ1°)ÐBSÐ1ÓT€NØ×Ñ Ømð  ô ð ×Ñ °bÐ?`ÐÔaØ×Ñ °"Øtð  ô ô 
ˆ.˜)Ð*PÕQÜ�Ð!PÔQà&×1Ñ1ØÐ<ð 2ó >€Nà×Ñ Ð3EÐÔFà#×.Ñ.¨vÐ<SÐ.ÓT€KØ×Ñ˜Z°Ò@bÐÔcÜ	ˆ+Ð'ð3õ4ð %×/Ñ/ØÐ>ð 0ó @€Là×Ñ˜f¨CÐ6^ÐÔ_à%×0Ñ0°Ð@]Ð0Ó^€MØ×ÑØ�cÐ Yð ô [ä	ˆ-˜ØUõWð %×/Ñ/°Ð>\Ð/Ó]€LØ×Ñ˜f¨CÐ6^ÐÔ_Ü	ˆ,˜Ð'cÕdà(×3Ñ3ØÐ8ð 4ó :Ðà×!Ñ! &Ð/EÐ!ÔFÜÐ!Ô"à$×/Ñ/°Ø^ðAð 0ó B€Lð
 ×Ñ˜fÐ+XÐÔYÜ	ˆ,˜ØKõMä�ÐNÔOà,×7Ñ7ØÐ_ð)ð 8ó *Ðô Ð&Ð(AÔBà#×.Ñ.ØÐ[ð-ð /ó .€Kð
 ×Ñ˜VÐ*VÐÔWà&×1Ñ1ØÐQðOð 2ó P€Nô 
ˆ.˜*Ð+bÕcÜ�Ð!OÔPà%×0Ñ0ØÐGðMð 1ó N€Mô 
ˆ-˜ØOõQð /×9Ñ9ØÐ _ðUð :ó VÐð ×'Ñ'ØÐPð (ô Rä	Ð
  +ØYõ[äÐ'Ð)XÔYà&×1Ñ1°)ÐBaÐ1Ób€NØ×Ñ Ð3LÐÔMØ×ÑØ˜¨8°YÐ*?ÐFWð  ô Yà×ÑØ˜"Ð#Lð  ô Nð (×2Ñ2ØÐ=ð 3ó ?€Oà)×8Ñ8Ð>OÐ8ÓPÐØ%×0Ñ0°Ð@cÐ0Ód€KØ×Ñ˜XÐ,VÐÔWØ%×0Ñ0ØÐ>ð 1ó @€Kà×Ñ˜WÐ+AÐÔBÜ	ˆ+�yÐ'NÕOà"×-Ñ-¨eÐ:PÐ-ÓQ€JØ×.Ñ.°LÐ.ÓA€NØ×Ñ˜fÐ+AÐÔBØ×'Ñ'¨Ð4WÐ'ÓX€GØ×Ñ˜Ð&EÐÔFØ×&Ñ& x°nÐ&ÓE€FØ
×Ñ˜Ð%9ÐÔ:ð × Ñ ØÐ]ð !ô _ð ×Ñ JÐÖ/r   N)r&   Úofficialz	skills-shz
well-knownr8   r9   Úlobehubz	browse-shÚnvidiaÚopenaiÚ	anthropicÚhuggingfaceÚ	voltagentÚgstackÚminimax)Ú__doc__Ú
__future__r   Útypingr   Úhermes_cli.subcommands._sharedr   r   r   rM   rl   r   r   r   Ú<module>rz      s%   ðÙ *å "å ç FòFò
V€÷
]0r   