Notre avis
Cet outil télécharge et installe des compétences Claude Code depuis des dépôts GitHub dans le répertoire local .claude/skills.
Points forts
- Simplifie l'installation de compétences depuis GitHub
- Prend en charge des formats d'URL variés
- Téléchargement récursif de tous les fichiers de la compétence
- Cible personnalisable via l'option --target
Limites
- Nécessite Node.js 18+ pour le support natif de fetch
- Dépend de l'API GitHub (limites de taux possibles)
- Pas de gestion des versions ou de mise à jour
Idéal pour installer rapidement une compétence Claude Code hébergée sur un dépôt GitHub public.
À éviter si vous avez besoin d'un gestionnaire de paquets avancé ou d'une source autre que GitHub.
Analyse de sécurité
SûrThe skill only downloads files from GitHub and writes them to a local directory. It does not execute any downloaded code, perform destructive actions, or exfiltrate data. The use of network and file writes is within expected functionality for a downloader tool.
Aucun point d'attention détecté
Exemples
Install the skill from https://github.com/owner/repo/tree/main/skills/my-skillCopy the skill from https://github.com/user/skills/tree/main/my-skill to ~/.claude/skillsname: copy-skill description: Copy Claude Code skills from GitHub repositories into local .claude/skills directory. Use when the user wants to install, download, or copy a skill from GitHub, or mentions a GitHub URL to a skill they want to add.
Copy Skill
Downloads and installs Claude Code skills from GitHub repositories to your local .claude/skills directory.
Quick Start
node scripts/copy-skill.js <github-url> [--target <path>]
Instructions
Step 1: Parse the GitHub URL
Accept URLs in these formats:
https://github.com/owner/repo/tree/branch/path/to/skillhttps://github.com/owner/repo/tree/main/skills/skill-name
Step 2: Run the copy script
# Copy to project .claude/skills (default)
node scripts/copy-skill.js https://github.com/user/repo/tree/main/skills/my-skill
# Copy to user home ~/.claude/skills
node scripts/copy-skill.js https://github.com/user/repo/tree/main/skills/my-skill --target ~/.claude/skills
Step 3: Verify installation
The script will:
- Fetch the directory listing from GitHub API
- Recursively download all files (SKILL.md, scripts/, references/, etc.)
- Create the local directory structure
- Write all files preserving the structure
Usage Examples
Copy a skill from a public repository:
node scripts/copy-skill.js https://github.com/owner/repo/tree/main/skills/my-skill
Copy to a custom location:
node scripts/copy-skill.js https://github.com/user/skills/tree/main/my-skill --target /path/to/.claude/skills
Copy to home directory skills:
node scripts/copy-skill.js https://github.com/user/repo/tree/main/skill-name --target ~/.claude/skills
Script Options
| Option | Description | Default |
|--------|-------------|---------|
| --target, -t | Target directory for skill installation | .claude/skills |
| --name, -n | Override skill directory name | Extracted from URL |
| --verbose, -v | Enable verbose output | false |
Requirements
- Node.js 18+ (for native fetch support)
- Internet connection to access GitHub API
How It Works
- URL Parsing: Extracts owner, repo, branch, and path from GitHub URL
- API Fetching: Uses GitHub Contents API to list all files recursively
- Content Download: Fetches raw content for each file
- Directory Creation: Creates local directory structure mirroring the source
- File Writing: Writes all files to the target location
Error Handling
The script handles:
- Invalid GitHub URLs
- Non-existent repositories or paths
- Network failures with retry logic
- Rate limiting (suggests using GITHUB_TOKEN)
Troubleshooting
Rate limit exceeded:
export GITHUB_TOKEN=your_token_here
node scripts/copy-skill.js <url>
Permission denied:
- Check write permissions on target directory
- Try with sudo or change target path
Skill not found after install:
- Restart Claude Code to reload skills
- Verify SKILL.md exists in the installed directory
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.