# NousResearch/hermes-agent · Skills install rmtree wiping category directories bug

## Open now

- Nothing open on GitHub.

A bug where installing a skill could silently delete an entire existing category directory due to an unconditional rmtree call. Multiple fix attempts guard against this data-loss scenario.

## TL;DR

- 6 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 4 PR(s) closed without merging.
- A fix was merged to main in PR #76659. Verify it addresses your case.
- **Recommended:** read PR #76659 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-76659`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.33`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #75983: \[Bug\]: hermes skills install silently deletes an entire existing category directory when the skill name matches (unconditional rmtree, data loss)

## Prior & competing PRs

- **#76659: fix(skills): guard install rmtree against wiping category directories (#75983)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `hermes_cli/skills_hub.py`, `tests/tools/test_skills_hub.py`, `tools/skills_hub.py`
- **#76000: fix(tool/skills): 修复技能安装时静默删除类别目录导致数据丢失的问题**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `75e85ef6b`, `#76659`
- **#76066: fix: guard rmtree in skills install against wiping category directories (#75983)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#75983`, `#76659`, `#76000`, `#76000`
- **#76266: fix(skills): prevent install from deleting category directories (#75983)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#76066`
- **#76302: fix(skills): guard install_from_quarantine against category bucket wipe (#75983)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#76066`

## Fix status

- Merged to main in PR #76659 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-02`.
