Skip to content

feat(skills): support package specifier in generated SKILL.md #79

Description

@not-reed

mcp add has mcp.command to override the registered command (e.g. bunx @my-scope/my-cli --mcp instead of bunx my-cli --mcp).

skills add has no equivalent. Generated SKILL.md files always use the bare CLI name from Cli.create(), so skill files reference my-cli foo instead of bunx @my-scope/my-cli foo. This only works if the user has the package installed globally.

Proposal: add a command option to the sync config that controls how the CLI name appears in generated skill content.

Cli.create("my-cli", {
  mcp: { command: "bunx @my-scope/my-cli --mcp" },
  sync: { command: "bunx @my-scope/my-cli" },
})

When set, Skill.ts would use this value instead of the bare name when rendering command signatures, examples, and the --llms footer.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions