Skip to content

Instantly share code, notes, and snippets.

@MalteKiefer
Last active April 18, 2026 09:25
Show Gist options
  • Select an option

  • Save MalteKiefer/6445e7d1d69f1d0781cacd383a9bc1a5 to your computer and use it in GitHub Desktop.

Select an option

Save MalteKiefer/6445e7d1d69f1d0781cacd383a9bc1a5 to your computer and use it in GitHub Desktop.
Claude
#!/bin/bash
set -e
GREEN='\033[0;32m'
BLUE='\033[0;34m'
YELLOW='\033[1;33m'
NC='\033[0m'
log() { echo -e "${GREEN}[✓]${NC} $1"; }
info() { echo -e "${BLUE}[i]${NC} $1"; }
warn() { echo -e "${YELLOW}[!]${NC} $1"; }
section() {
echo ""
echo -e "${BLUE}═══════════════════════════════════════════════════════════════${NC}"
echo -e "${BLUE} $1${NC}"
echo -e "${BLUE}═══════════════════════════════════════════════════════════════${NC}"
echo ""
}
# Prüfen ob claude CLI verfügbar ist
if ! command -v claude &> /dev/null; then
warn "claude CLI nicht gefunden. Bitte Claude Code installieren."
exit 1
fi
# ─────────────────────────────────────────────────
section "1/3 - SECURITY SKILLS (Datei-basiert, automatisch)"
# ─────────────────────────────────────────────────
info "Installiere OWASP Security Skill..."
mkdir -p ~/.claude/skills/owasp-security
if curl -sL https://raw.githubusercontent.com/agamm/claude-code-owasp/main/.claude/skills/owasp-security/SKILL.md \
-o ~/.claude/skills/owasp-security/SKILL.md 2>/dev/null; then
log "OWASP Security Skill installiert"
else
warn "OWASP Skill konnte nicht heruntergeladen werden"
fi
info "Installiere Trail of Bits Security Skills..."
if [ ! -d ~/.claude/skills/trailofbits ]; then
git clone --depth 1 https://github.com/trailofbits/skills.git \
~/.claude/skills/trailofbits 2>/dev/null && \
log "Trail of Bits Skills installiert" || \
warn "Trail of Bits Skills konnten nicht geklont werden"
else
log "Trail of Bits Skills bereits vorhanden"
fi
info "Installiere Nobrainer Security Skills..."
if [ ! -d ~/.claude/skills/nobrainer-security ]; then
git clone --depth 1 https://github.com/nobrainer-tech/nobrainer-claude-skills.git \
~/.claude/skills/nobrainer-security 2>/dev/null && \
log "Nobrainer Security Skills installiert" || \
warn "Nobrainer Skills konnten nicht geklont werden"
else
log "Nobrainer Security Skills bereits vorhanden"
fi
log "Security Skills fertig."
# ─────────────────────────────────────────────────
section "2/3 - MARKETPLACES hinzufügen"
# ─────────────────────────────────────────────────
MARKETPLACES=(
"obra/superpowers-marketplace"
"nextlevelbuilder/ui-ux-pro-max-skill"
"thedotmack/claude-mem"
"Piebald-AI/claude-code-lsps"
"anthropics/knowledge-work-plugins"
"Eyadkelleh/awesome-claude-skills-security"
"AgentSecOps/SecOpsAgentKit"
"laravel/claude-code"
"jpcaparas/superpowers-laravel"
"JuliusBrussee/caveman"
)
for mp in "${MARKETPLACES[@]}"; do
info "Füge Marketplace hinzu: $mp"
claude plugin marketplace add "$mp" || warn "Fehler bei $mp"
done
log "Marketplaces fertig."
# ─────────────────────────────────────────────────
section "3/3 - PLUGINS installieren"
# ─────────────────────────────────────────────────
OFFICIAL_PLUGINS=(
"security-guidance"
"gopls-lsp"
"pyright-lsp"
"typescript-lsp"
"php-lsp"
"frontend-design"
"code-review"
"code-simplifier"
"pr-review-toolkit"
"claude-md-management"
"feature-dev"
"commit-commands"
)
for plugin in "${OFFICIAL_PLUGINS[@]}"; do
info "Installiere: ${plugin}@claude-plugins-official"
claude plugin install "${plugin}@claude-plugins-official" || warn "Fehler bei $plugin"
done
MARKETPLACE_PLUGINS=(
"superpowers@superpowers-marketplace"
"claude-mem"
"context7"
"github"
"ui-ux-pro-max@ui-ux-pro-max-skill"
"security-payloads@awesome-security-skills"
"laravel-simplifier@laravel"
"superpowers-laravel@superpowers-laravel-marketplace"
"caveman@caveman"
)
for plugin in "${MARKETPLACE_PLUGINS[@]}"; do
info "Installiere: $plugin"
claude plugin install "$plugin" || warn "Fehler bei $plugin"
done
log "Plugins fertig."
echo ""
echo -e "${GREEN}═══════════════════════════════════════════════════════════════${NC}"
echo -e "${GREEN} Fertig! Starte Claude Code neu oder nutze /reload-plugins${NC}"
echo -e "${GREEN}═══════════════════════════════════════════════════════════════${NC}"
echo ""
echo "Zusammenfassung:"
echo " Marketplaces: ${#MARKETPLACES[@]}"
echo " Offizielle Plugins: ${#OFFICIAL_PLUGINS[@]}"
echo " Marketplace Plugins: ${#MARKETPLACE_PLUGINS[@]}"
echo " Security Skills: OWASP, Trail of Bits, Nobrainer"
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment