tebjan/agent-skills · Archived

install-github-plugin

Installs Claude Code plugins from GitHub repos that lack a marketplace manifest. Use this skill whenever a `claude plugin install` fails due to SSH key errors, missing `.claude-plugin/marketplace.json`, or a GitHub repo that wasn't designed as a Claude plugin marketplace. Also use when the user says \"install plugin from GitHub\", \"add skills from a repo\", or \"the plugin install failed\". Handles the full workflow: cloning via gh CLI, inspecting repo structure, generating the marketplace man…

First seen Apr 11, 2026

Installation

$ npx skills add tebjan/agent-skills --skill install-github-plugin

Summary

  • Installs Claude Code plugins from GitHub repos that lack a marketplace manifest.
  • Use this skill whenever a `claude plugin install` fails due to SSH key errors, missing `.claude-plugin/marketplace.json`, or a GitHub repo that wasn't designed as a Claude plugin marketplace.
  • Also use when the user says \"install plugin from GitHub\", \"add skills from a repo\", or \"the plugin install failed\".
  • Handles the full workflow: cloning via gh CLI, inspecting repo structure, generating the marketplace manifest, and running the install.

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from tebjan/agent-skills.

npx skills add tebjan/agent-skills

Browse all from tebjan/agent-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

License LICENSE
Default branch main
Open issues 0
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,815 B
  • docs SUMMARY.md 559 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

Install GitHub Plugin

Overview

claude plugin install clones repos via SSH. If SSH auth isn't configured, or if the repo has no .claude-plugin/marketplace.json manifest, the install fails. This skill works around both problems.

Workflow

1. Clone the repo via gh CLI (bypasses SSH)

gh repo clone <owner>/<repo> "~/.claude/plugins/marketplaces/<marketplace-name>"

Use the same directory the marketplace manager would have used (check known_marketplaces.json if the marketplace was already added).

2. Check for an existing manifest

ls "~/.claude/plugins/marketplaces/<name>/.claude-plugin/"

If marketplace.json exists, skip to step 4.

3. Inspect the repo structure and generate manifest

Common layouts to look for:

  • skills/<skill-name>/SKILL.md — skill collection
  • agents/ — agent personas
  • hooks/ — session lifecycle hooks
  • .claude/commands/ — slash commands

Read one or two SKILL.md files to understand the content, then write .claude-plugin/marketplace.json:

{
  "name": "<marketplace-name>",
  "owner": { "name": "<author>", "email": "" },
  "metadata": {
    "description": "<one-line description>",
    "version": "1.0.0"
  },
  "plugins": [
    {
      "name": "<plugin-name>",
      "description": "<what the plugin does>",
      "source": "./",
      "strict": false,
      "skills": [
        "./skills/<skill-1>",
        "./skills/<skill-2>"
      ]
    }
  ]
}

List every skill directory under skills/ in the skills array.

4. Install the plugin

claude plugin install <plugin-name>@<marketplace-name>

5. Verify

claude plugin list

Confirm the plugin shows as ✔ enabled.

Notes

  • If the marketplace was added via claude plugin marketplace add but the clone failed, the marketplace entry exists in known_marketplaces.json but the directory is empty or missing. Re-clone manually into the installLocation path shown there.
  • Skills with only SKILL.md (no plugin.json) are bundled via the marketplace manifest's skills array — no per-skill plugin.json is needed.
  • After install, a Claude restart is required for new skills to appear in the available-skills list.