Skip to content

The coding agent is always struggle to detect correct location of a global skill #6408

Description

@andkirby

What happened?

[skill] abcde:1-260 (ctrl+o to expand)

 ENOENT: no such file or directory, access '/Users/username/home/my-project/.agents/skills/abcde/SKILL.md'

while it's available by the global path:

'/Users/username/.agents/skills/abcde/SKILL.md'

Steps to reproduce

call a skill in the chat with mix of cases:

/skill:abcde
/skill:abcde

some text after
some text
load skill:abcde
some text

Expected behavior

Agent loaded skill WITHOUT guessing.


In my understanding, it does NOT matter where a skill lives, an agent calls a tool to load a skill: load_skill('abcde') and the system returns the path to this skill.

This bug is quite intermittent (yes, maybe "is always" isn't correct wording, but it's really annoying especially in the case below).
The most dark side of this bug, a model sometimes give up to find this skill.

Version

0.80.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingno-actionThis issue has been rejected after triage

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions