Skip to content

feat: add squad plugin install <owner/repo> CLI command for flat extensions #972

Closed

Description

@sabbour

Problem

The plugin marketplace docs (Building Extensions, Extensibility Guide) describe installing extensions with:

squad plugin install github/my-org/my-extension

But the CLI only supports squad plugin marketplace add|remove|list|browse — there is no install subcommand. This makes it impossible to install an extension into a repo via the CLI.

Current workaround

Manually clone the extension repo and copy .md files into the target repo's .squad/skills/, .squad/ceremonies/, and .squad/directives/ directories.

Expected behavior

A command like:

squad plugin install <owner/repo>

Should:

  1. Clone or fetch the extension repo
  2. Detect the extension structure (skills/, ceremonies/, directives/ at root)
  3. Copy the .md files into the target repo's .squad/ subdirectories
  4. Log what was installed

Additional context

  • Extensions like github-squad-workflows follow the flat extension structure (skills/, ceremonies/, directives/ at root) as documented in the Building Extensions guide.
  • The browse command treats top-level directories as individual plugins, which does not work well for flat extensions — it shows skills, ceremonies, directives as plugin names instead of meaningful entries.
  • Squad version: 0.9.1-build.5

Proposal

  1. Add squad plugin install <owner/repo> as a CLI command
  2. Support flat extension repos (skills/ceremonies/directives at root) in addition to marketplace-style repos (plugin subdirectories)
  3. Optionally track installed extensions in .squad/plugins/installed.json for upgrade/remove support

Activity

  1. added 2 commits that reference this issue on Apr 14, 2026
    25a7d01
    1fc00d9
  2. tamirdresher commented on Apr 25, 2026

    @tamirdresher
    Collaborator

    Hey — just wanted to flag that the Copilot CLI now ships with a native plugin system (copilot plugin install) that handles a lot of what this proposes:

    • plugin.json manifest bundles agents, skills, hooks, MCP servers, LSP servers
    • Install from marketplace, GitHub repo, subdirectory, git URL, or local path
    • Two default marketplaces already exist (github/copilot-plugins, github/awesome-copilot)
    • Skills use the open standard at https://github.com/agentskills/agentskills
    • Hooks provide lifecycle events (sessionStart, sessionEnd, preToolUse, etc.)
    • MCP servers inside plugins = runtime code (not just .md file copy)

    This means Squad might not need its own squad plugin install at all — it could define Squad-specific plugin conventions on top of the CLI format. Community contributions would be standard CLI plugins that happen to follow Squad conventions.

    I wrote up a more detailed proposal in #1037 with specific architecture recommendations. Worth considering before building a parallel plugin mechanism.

  3. bradygaster commented on Jun 9, 2026

    @bradygaster
    Collaborator

    Hi @sabbour — this is now tracked as part of #1070 (Plugin installer, lock file, and rollback). Closing here to consolidate.

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