Skip to content

feat: auto-wrap flat SKILL.md repos as skills#234

Merged
christso merged 1 commit into
mainfrom
feat/232-standalone-skills-flat-repo-support
Mar 13, 2026
Merged

feat: auto-wrap flat SKILL.md repos as skills#234
christso merged 1 commit into
mainfrom
feat/232-standalone-skills-flat-repo-support

Conversation

@christso
Copy link
Copy Markdown
Contributor

Summary

Closes #232.

Implements Option A (auto-wrap) from the issue — no schema changes needed.

How it works

When a plugin is installed and has no skills/ subdirectory, getAllSkillsFromPlugins now scans the plugin root for directories containing a SKILL.md file and treats each as a skill. The existing enabledSkills/disabledSkills schema works unchanged since the plugin is still tracked in workspace.yaml.

Before / After

# Before: fails silently
allagents skills add vercel-react-best-practices --from vercel-labs/agent-skills
# Error: Skill not found... flat SKILL.md repos not yet supported

# After: works
allagents skills add vercel-react-best-practices --from vercel-labs/agent-skills
# ✓ Enabled skill: vercel-react-best-practices (vercel-labs/agent-skills)

Files changed

  • src/core/skills.ts — auto-wrap flat repos in skill discovery
  • src/core/transform.ts — use resolved skill path instead of hardcoded skills/ assumption

When a plugin has no skills/ subdirectory, scan the plugin root for
directories containing SKILL.md and treat each as a skill. This gives
compatibility with the npx skills ecosystem (e.g. vercel-labs/agent-skills)
without any schema changes.

The enabledSkills/disabledSkills schema continues to work unchanged
since the plugin is still tracked as a workspace plugin entry.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying allagents with  Cloudflare Pages  Cloudflare Pages

Latest commit: 17e21a3
Status: ✅  Deploy successful!
Preview URL: https://85bdc34e.allagents.pages.dev
Branch Preview URL: https://feat-232-standalone-skills-f.allagents.pages.dev

View logs

@christso christso merged commit 8a4fecc into main Mar 13, 2026
1 check passed
@christso christso deleted the feat/232-standalone-skills-flat-repo-support branch March 13, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: support installing standalone skills from flat repos (npx skills ecosystem)

1 participant