Skip to content

npx skills add doesn't discover compose-agent due to repo layout #3

@saurabharora90

Description

@saurabharora90

vercel-labs skills cli expects a root level skills folder for its auto-discovery. Without it, the fallback-discovery is only detecting one skill, in my case jetpack-compose-audit (possibly because it's listed first in .claude-plugin/marketplace.json? didn't dig further)

npx skills add hamen/compose_skill --list
  # → found 1 skill (jetpack-compose-audit)

For comparison, npx skills add supabase/agent-skills works cleanly because Supabase nests under skills

  agent-skills/
  └── skills/
      ├── supabase/SKILL.md
      └── supabase-postgres-best-practices/SKILL.md

Ditto for anthropic skills, openai skills

Proposed fix

Move both skills under a skills/ directory:

  .claude-plugin/
  .cursor-plugin/
  skills/
  ├── compose-agent/
  │   ├── SKILL.md
  │   └── references/
  └── jetpack-compose-audit/
      ├── SKILL.md
      ├── references/
      └── scripts/

This unlocks npx skills for users on Codex / Cursor / multi-harness teams.

This might require a major version bump as it would be a breaking change or could just be a symlink setup :)

Happy to send a PR if you'd like!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions