Summary
When copying a skill directory using add-skill, the README.md file is copied as-is into the target directory. However, the agent runtime looks for SKILL.md, not README.md, so the skill metadata is not found correctly.
Changes
In apps/cli/src/commands/add-skill.ts, the copy logic now renames README.md → SKILL.md during the copy operation:
const githubDisplayFilename = "README.md";
const agentSkillFilename = "SKILL.md";
// ...
const targetEntry = entry === githubDisplayFilename ? agentSkillFilename : entry;
fs.cpSync(path.join(sourceDir, entry), path.join(targetDir, targetEntry), { recursive: true });
Fork / Branch
The fix is ready on my fork: https://github.com/jaehoonkim-x/expect/tree/main
Would love to have this merged. Please let me know if you'd like me to open a PR once collaborator access is granted, or if there's another preferred contribution path.
Summary
When copying a skill directory using
add-skill, theREADME.mdfile is copied as-is into the target directory. However, the agent runtime looks forSKILL.md, notREADME.md, so the skill metadata is not found correctly.Changes
In
apps/cli/src/commands/add-skill.ts, the copy logic now renamesREADME.md→SKILL.mdduring the copy operation:Fork / Branch
The fix is ready on my fork: https://github.com/jaehoonkim-x/expect/tree/main
Would love to have this merged. Please let me know if you'd like me to open a PR once collaborator access is granted, or if there's another preferred contribution path.