You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
a local_path skill is installed under its folder's name, not the name in SKILL.md #367
What happens
With skills: [{source: local_path, path: .}] run from a copy of a skill whose folder is named differently from its SKILL.md name (for example a snapshot folder snap/ holding name: my-skill), Claude Code lists the installed skill as snap (my-skill), and the agent invokes it by the folder name. With the folder renamed to match, it is listed as my-skill.
Why it matters
In benchmark mode the with_skill arm then runs a skill under a name its own text never uses, which can skew the comparison without any warning.
Suggested fix
Install into .claude/skills/<name from SKILL.md frontmatter>/, or warn when the folder name and the frontmatter name differ.
Went with the "install under the SKILL.md name" option: SkillConfig now carries the declared name (read via the existing frontmatter parser) and the default install target uses it, falling back to the source folder name when SKILL.md is missing, has no name, or the name is not a safe single path element. An explicit skills[].target still wins, and the default run-skill cleanup before an agent judge now removes the same name.
Verified with a real run (environment: none, claude_code, snapshot folder snap/ holding name: my-skill): before, .claude/skills/snap/; after, .claude/skills/my-skill/.
Activity
Walternater commentedon Nov 13, 2026
Opened #400 for this.
Went with the "install under the SKILL.md name" option:
SkillConfignow carries the declared name (read via the existing frontmatter parser) and the default install target uses it, falling back to the source folder name whenSKILL.mdis missing, has no name, or the name is not a safe single path element. An explicitskills[].targetstill wins, and the default run-skill cleanup before an agent judge now removes the same name.Verified with a real run (
environment: none,claude_code, snapshot foldersnap/holdingname: my-skill): before,.claude/skills/snap/; after,.claude/skills/my-skill/.