Skip to content

Conversation

@Amolith
Copy link

@Amolith Amolith commented Feb 9, 2026

os.ReadDir returns DirEntry values whose IsDir() reports the symlink's own type, not the target's. When skill directories are symlinks, Discover() skipped them all.

Use os.Stat on the resolved path to follow symlinks.

Fixes: #83

@cla-bot cla-bot bot added the cla-signed label Feb 9, 2026
os.ReadDir returns DirEntry values whose IsDir() reports the symlink's
own type, not the target's. When skill directories are symlinks (e.g. in
~/.config/agents/skills/), Discover() skipped them all.

Use os.Stat on the resolved path to follow symlinks.

References: boldsoftware#83
Co-authored-by: Shelley <[email protected]>
@Amolith Amolith force-pushed the fix/skills-loading-outside-home branch from 03dbe28 to 1bdf85b Compare February 9, 2026 16:32
@Amolith Amolith changed the title fix(skills): follow symlinks in Discover() shelley skills: follow symlinks in Discover() Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skills from ~/.config/agents/skills not loaded when conversation starts outside

1 participant