# NousResearch/hermes-agent · Fix skill search to exclude unwanted directories

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #18937: fix(skills): exclude hidden dirs from skill search, guard cyclic symlinks, handle non-dict quick_commands

These issues and PRs address a bug where the \`_find_skill\` rglob function scans into hidden and special directories such as \`.archive\`, \`.git\`, \`.github\`, and \`.hub\`, as well as dependency/venv directories. Related changes also cover symlink handling during skill discovery.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 0 merged PR(s), 3 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. 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.40`: 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

- #18900: _find_skill rglob leaks into .archive, .git, .github, .hub — no exclusion filtering

## Prior & competing PRs

- **#18897: fix: exclude .archive/.git/.github/.hub from _find_skill rglob**. closed without merge · fix tier `suggested`
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `5bf12eb44aec044bf359862e77d4750f1e4e12db`, `3fde8c153da14545b4a12a14383c6f0c927b8623`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#18902: Fix: exclude .archive, .git, .github, .hub dirs from _find_skill rglob**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#22076`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#18937: fix(skills): exclude hidden dirs from skill search, guard cyclic symlinks, handle non-dict quick_commands**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `5bf12eb44aec044bf359862e77d4750f1e4e12db`
  - files: `agent/skill_utils.py`, `cli.py`, `gateway/run.py`, `tests/test_skill_rglob_and_quick_commands.py`, `tools/skill_manager_tool.py`
- **#19062: fix: exclude hidden and archive dirs from _find_skill rglob**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#18902`

## Fix status

- No merged fix on record.
- Subsystem: `skills`
