Skip to content

support subdir within git url #552

Closed

Description

@joshuaferguson-swish

so there are a few repos that function as a package repository for skills, so you'll often see instructions like npx skillfish add somtougeh/somto-dev-toolkit biome-gritql where biom-gritql is a subdir within the repo that contains a skill, often sites will link directly to the subdir containing the skill. I think a nice QoL feature would be to support git urls that point to a subdir within a repo

Activity

  1. rng1995 commented on Sep 16, 2026

    @rng1995
    Collaborator

    Implementation is in progress in PR #561, currently scoped to GitHub tree/subdirectory URLs. Keeping this issue open until the PR merges and the requested URL forms are verified.

  2. rng1995 commented on Sep 22, 2026

    @rng1995
    Collaborator

    Resolution verification: PR #561 merged and automatically closed this issue. GitHub /tree/<ref>/<subdirectory> inputs now select the requested checked-out directory, including supported slash-containing refs, with path-escape rejection and cleanup on selection failure.

    All 10 GitHub-tree input regression cases pass on current main at 844ac30. This supersedes the earlier in-progress comment. The supported GitHub URL scope is merged on main; it is not yet in the latest published release, v2.11.2.

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