Skip to content

Plugin install fails without SSH keys - marketplace.json should use relative source #106

@drewbitt

Description

@drewbitt

The nx plugin fails to install on machines without SSH keys configured for GitHub:

✘ Failed to install plugin "nx": Failed to clone repository:
git@github.com: Permission denied (publickey).

The marketplace itself clones fine because Claude Code falls back to HTTPS. But the plugin install step uses a separate clone path that doesn't have that fallback, and your marketplace.json triggers it by using an absolute GitHub source:

{
  "name": "nx",
  "source": {
    "source": "github",
    "repo": "nrwl/nx-ai-agents-config"
  }
}

Since the plugin lives in the same repo as the marketplace, changing this to "source": "./" would avoid the second clone entirely. This is what vercel-labs/agent-browser does and it works without SSH:

{
  "name": "agent-browser",
  "source": "./",
  "skills": ["./skills/agent-browser"]
}

The same issue affects the polygraph plugin which uses "source": "git-subdir" with the SSH-only path.

Repro:

  1. Machine with no SSH keys for GitHub (HTTPS-only, common in corporate environments)
  2. claude plugin marketplace add nrwl/nx-ai-agents-config — succeeds (HTTPS fallback)
  3. claude plugin install nx — fails (SSH clone, no fallback)

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