Place a skill where the agent CLI discovers it - #198
Merged
Conversation
A skill was written as a single file named for it, holding the body. Claude Code and Codex discover a skill as a directory holding a SKILL.md and pass over a plain file without complaint, so no agent has ever read one. Each skill is now its own directory, with front matter carrying the name and the description the CLI matches on before it opens the body. The description was never read off the wire at all: in a layout with no front matter there was nowhere for it to go. agn has no skills feature and its skills reach the model in the system prompt, so the directory it was writing served nothing and is gone. A skill that cannot be placed is skipped with a reason rather than keeping the agent from starting.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A skill was written as a single file named for it, holding the body. Claude Code and Codex discover a skill as a directory holding a
SKILL.md— "path is a file; skills entries must be directories containing SKILL.md" is Claude Code's own wording for what it does with the other shape — so no agent has ever read one.Each skill is now its own directory holding a
SKILL.md, with front matter carrying the name and the description. The description was never read off the wire at all; with no front matter there was nowhere to put it.Locations follow the CLI:
~/.claude/skillsfor Claude Code,~/.agents/skillsfor Codex —$CODEX_HOME/skillsstill works there but upstream marks it deprecated.agnhas no skills feature and takes its skills through the system prompt, so the directory it was writing served nothing and is gone.A skill that cannot be placed is skipped with a reason on stderr rather than keeping the agent from starting.
Spec: agynd — Skills.