Skip to content

[FEATURE] Support installing skill from complete GitHub URL to SKILL.md file #1970

Description

@Addono

Is your feature request related to a problem? Please describe.
When finding a specific skill you want to install on GitHub, you would need to manually break-down the URL to the file, e.g. https://github.com/mattpocock/skills/blob/main/skills/productivity/handoff/SKILL.md, into the repo URL and skill-path as two separate inputs for apm install.

The intuitive way would be to paste the complete URL to the file, e.g. https://github.com/mattpocock/skills/blob/main/skills/productivity/handoff/SKILL.md:
Image

However, this is not supported. Instead, you would need to parse that URL into:

Image

Describe the solution you'd like
Add support to give a complete URL to a SKILL.md file (in a valid ./skills/ folder) hosted on GitHub in apm install, e.g.:

apm install  https://github.com/mattpocock/skills/blob/main/skills/productivity/handoff/SKILL.md

Which should behave identical to:

apm install https://github.com/mattpocock/skills/ --skill productivity/handoff

Describe alternatives you've considered

  • Manually parsing
  • Creating a browser plugin to add a "Copy APM install instructions" to GitHub (seems like a lot of work though 🙃)

Additional context
Optionally, support for other Git forges could be added. However, considered out of scope for the feature request as GitHub covers a lot of usage already, especially for situations where a web search for a skill leads to the SKILL.md file being the top hit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliCLI command surface, flags, help text (cross-cutting).priority/highShips in current or next milestonestatus/acceptedDirection approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).theme/portabilityOne manifest, every target. Multi-target deploy, marketplace, packaging, install.type/featureNew capability, new flag, new primitive.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions