Skip to content

Tried everything claude isn't allowing it to install #66

Open

Description

@fareedfattani
No description provided.

Activity

  1. MustCodeAl commented on Nov 19, 2026

    @MustCodeAl

    Hey @fareedfattani , if Claude is rejecting the plugin or installing it without showing any skills, here is the full setup that got it working locally and in Claude Desktop:

    1. Create .claude-plugin/plugin.json

    Third-party plugin names can't start with reserved prefixes like claude-, repository needs to be a URL string rather than an object, and pointing "skills" to "./plugin-skills" avoids case-collision issues with Skills/ on macOS/case-insensitive filesystems:

    mkdir -p .claude-plugin
    cat <<'EOF' > .claude-plugin/plugin.json
    {
      "name": "red-team-skills",
      "version": "0.3.0",
      "description": "Offensive security and red team methodology skills catalog.",
      "author": {
        "name": "SnailSploit"
      },
      "license": "MIT",
      "repository": "[https://github.com/SnailSploit/Claude-Red.git](https://github.com/SnailSploit/Claude-Red.git)",
      "skills": "./plugin-skills",
      "keywords": [
        "security",
        "red-team",
        "pentest",
        "offensive-security",
        "skills"
      ]
    }
    EOF
    

    2. Copy Skills Into a Separate plugin-skills/ Folder

    Claude expects skill directories containing SKILL.md, whereas this repository groups them under Skills/<category>/<skill-name>/SKILL.md. Copy them into plugin-skills/ (using a distinct folder name avoids accidentally deleting Skills/ on case-insensitive filesystems):

    rm -rf plugin-skills
    mkdir -p plugin-skills
    
    for skill_dir in Skills/*/*/; do
      [ -f "\${skill_dir}SKILL.md" ] || continue
      skill_name="$(basename "$skill_dir")"
      cp -R "${skill_dir\%/}" "plugin-skills/${skill_name}"
    done
    

    3. Trim Frontmatter description Fields Over 1024 Characters

    Validation fails if any SKILL.md frontmatter description exceeds 1024 characters:

    python3 - <<'EOF'
    import pathlib, re
    
    root = pathlib.Path("plugin-skills")
    updated = 0
    
    for skill_md in sorted(root.glob("*/SKILL.md")):
        text = skill_md.read_text(encoding="utf-8")
        m = re.match(r"^(---\s*\n)(.*?)(\n---\s*\n)(.*)\$", text, flags=re.DOTALL)
        if not m:
            continue
    
        prefix, fm, sep, body = m.groups()
    
        def shorten_desc(match):
            global updated
            lead, quote, desc, trail_quote = match.groups()
            limit = 1000
            if len(desc) <= limit:
                return match.group(0)
            cut = desc[:limit].rsplit(" ", 1)[0].rstrip(" ,;:-")
            if not cut.endswith((".", "!", "?")):
                cut += "..."
            updated += 1
            return f"{lead}{quote}{cut}{trail_quote}"
    
        new_fm = re.sub(
            r"^(description:\s*)([\"']?)(.+?)(\2\s*)\$",
            shorten_desc,
            fm,
            flags=re.MULTILINE | re.DOTALL,
        )
    
        if new_fm != fm:
            skill_md.write_text(f"{prefix}{new_fm}{sep}{body}", encoding="utf-8")
    
    print(f"Shortened {updated} skill descriptions.")
    EOF
    

    4. Clean Up OS Metadata Files, Validate, Compress, and Install in Claude Desktop

    Remove .DS_Store / Thumbs.db files, run strict validation, zip the plugin folder without macOS __MACOSX junk, and install the .zip in Claude Desktop:

    find . -name ".DS_Store" -o -name "Thumbs.db" -delete
    claude plugin validate . --strict
    zip -r ../red-team-skills.zip . -x "*.DS_Store" -x "__MACOSX/*"
    

    Then in Claude Desktop, open your plugin/extension installation flow and select the generated red-team-skills.zip file (and restart/reload if needed so the skills show up).

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions