mirror of
https://github.com/magnus919/agent-skills.git
synced 2026-09-17 06:26:31 +03:00
fix: correct bundle skill paths in Codex plugin manifest (#91)
The generator used File.basename which stripped the bundles/ prefix, emitting ./neckbeard instead of ./bundles/neckbeard. Codex discovered 92/96 skills — the 4 bundle entrypoints were missing because their paths didn't resolve. Verified with live Codex CLI: all 96 skills now discoverable. AI-assisted: yes (Jasper/Hermes Agent)
This commit is contained in:
@@ -26,7 +26,7 @@ PUBLIC_SKILLS = (Dir.glob("#{ROOT}/*/SKILL.md") + Dir.glob("#{ROOT}/bundles/*/SK
|
||||
|
||||
def build_plugin_json
|
||||
skill_paths = PUBLIC_SKILLS.map do |skill|
|
||||
"./#{File.basename(File.dirname(skill))}"
|
||||
"./#{File.dirname(skill).delete_prefix("#{ROOT}/")}"
|
||||
end.sort
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user