Skip to content

Python: Skill directory search should stop recursing after finding SKILL.md #6682

Description

@SergeyMenshykh

The skill directory search logic should treat everything beneath a skill boundary (a directory containing SKILL.md) as that skill's content rather than independent skill roots.

Fix: When the search finds a SKILL.md in a directory, stop recursing into that directory's subdirectories. One-line fix, no impact on the standard flat layout.

Community PR to address this issue: #6685

Metadata

Metadata

Assignees

Labels

bugUsage: [Issues], Target: all issues (Legacy, prefer issue type: bug)pythonUsage: [Issues, PRs], Target: PythonskillsUsage: [Issues, PRs], Target: skills related features

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions