skill-downloader
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSkill Downloader
技能下载工具
Download and install Claude Code skills from multiple sources.
从多个来源下载并安装Claude Code技能。
Supported Sources
支持的来源
| Source Type | Examples |
|---|---|
| GitHub Repository | |
| Compressed Archive | |
| Direct URL | URL pointing to archive or skill folder |
| 来源类型 | 示例 |
|---|---|
| GitHub仓库 | |
| 压缩归档文件 | |
| 直接URL | 指向归档文件或技能文件夹的URL |
Usage
使用方法
Download from GitHub
从GitHub下载
bash
python scripts/download_from_github.py <repo-url> <skill-path> --output <target-dir>Examples:
bash
undefinedbash
python scripts/download_from_github.py <repo-url> <skill-path> --output <target-dir>示例:
bash
undefinedOfficial Anthropic skills
Official Anthropic skills
python scripts/download_from_github.py https://github.com/anthropics/skills skills/docx --output ./.claude/skills/
python scripts/download_from_github.py https://github.com/anthropics/skills skills/docx --output ./.claude/skills/
Community skills (root level)
Community skills (root level)
python scripts/download_from_github.py https://github.com/gked2121/claude-skills social-repurposer --output ./.claude/skills/
python scripts/download_from_github.py https://github.com/gked2121/claude-skills social-repurposer --output ./.claude/skills/
Nested skill path
Nested skill path
python scripts/download_from_github.py https://github.com/MadAppGang/claude-code skills/content-brief --output ./.claude/skills/
undefinedpython scripts/download_from_github.py https://github.com/MadAppGang/claude-code skills/content-brief --output ./.claude/skills/
undefinedDownload from Archive
从归档文件下载
bash
python scripts/download_from_archive.py <url-or-path> --output <target-dir>Examples:
bash
undefinedbash
python scripts/download_from_archive.py <url-or-path> --output <target-dir>示例:
bash
undefinedFrom URL
From URL
python scripts/download_from_archive.py https://example.com/skills/my-skill.zip --output ./.claude/skills/
python scripts/download_from_archive.py https://example.com/skills/my-skill.zip --output ./.claude/skills/
From local file
From local file
python scripts/download_from_archive.py ./downloads/my-skill.tar.gz --output ./.claude/skills/
python scripts/download_from_archive.py ./downloads/my-skill.tar.gz --output ./.claude/skills/
.skill files (renamed zip)
.skill files (renamed zip)
python scripts/download_from_archive.py https://skillhub.club/download/awesome-skill.skill --output ./.claude/skills/
undefinedpython scripts/download_from_archive.py https://skillhub.club/download/awesome-skill.skill --output ./.claude/skills/
undefinedUnified Download Command
统一下载命令
bash
python scripts/download_skill.py <source> --output <target-dir>Automatically detects source type:
- GitHub URL → Uses git sparse checkout
- Archive URL/path → Downloads and extracts
- Directory path → Copies directly
Examples:
bash
undefinedbash
python scripts/download_skill.py <source> --output <target-dir>自动检测来源类型:
- GitHub URL → 使用git稀疏检出
- 归档文件URL/路径 → 下载并解压
- 目录路径 → 直接复制
示例:
bash
undefinedAuto-detect GitHub
Auto-detect GitHub
python scripts/download_skill.py https://github.com/anthropics/skills/tree/main/skills/docx --output ./.claude/skills/
python scripts/download_skill.py https://github.com/anthropics/skills/tree/main/skills/docx --output ./.claude/skills/
Auto-detect archive
Auto-detect archive
python scripts/download_skill.py https://example.com/my-skill.zip --output ./.claude/skills/
undefinedpython scripts/download_skill.py https://example.com/my-skill.zip --output ./.claude/skills/
undefinedValidation
验证机制
All download methods validate:
- Skill folder contains
SKILL.md - has valid YAML frontmatter with
SKILL.mdandnamedescription - No malicious content patterns detected
所有下载方法都会验证以下内容:
- 技能文件夹包含文件
SKILL.md - 文件包含带有
SKILL.md和name字段的有效YAML前置内容description - 未检测到恶意内容模式
Output Structure
输出结构
Downloaded skills are placed in:
<output-dir>/
└── <skill-name>/
├── SKILL.md # Required
├── scripts/ # Optional
└── ...下载后的技能会被放置在以下结构中:
<output-dir>/
└── <skill-name>/
├── SKILL.md # Required
├── scripts/ # Optional
└── ...Error Handling
错误处理
| Error | Cause | Solution |
|---|---|---|
| Skill already exists | Target directory exists | Use |
| SKILL.md not found | Invalid skill package | Verify source contains SKILL.md |
| Invalid archive | Corrupted or unsupported format | Check file integrity |
| Network error | Download failed | Retry or check URL |
| 错误 | 原因 | 解决方法 |
|---|---|---|
| 技能已存在 | 目标目录已存在 | 使用 |
| 未找到SKILL.md | 无效的技能包 | 验证来源是否包含SKILL.md |
| 无效的归档文件 | 文件损坏或格式不支持 | 检查文件完整性 |
| 网络错误 | 下载失败 | 重试或检查URL链接 |
Integration with Workflow Creator
与Workflow Creator的集成
When used with workflow-creator, download skills to workflow's directory:
.claude/skills/bash
undefined与workflow-creator配合使用时,可将技能下载到工作流的目录中:
.claude/skills/bash
undefinedCreate workflow first
Create workflow first
python /path/to/workflow-creator/scripts/create_workflow.py my-workflow --path ./workflows
python /path/to/workflow-creator/scripts/create_workflow.py my-workflow --path ./workflows
Then download skills
Then download skills
python scripts/download_skill.py https://github.com/anthropics/skills/tree/main/skills/docx --output ./workflows/my-workflow/.claude/skills/
undefinedpython scripts/download_skill.py https://github.com/anthropics/skills/tree/main/skills/docx --output ./workflows/my-workflow/.claude/skills/
undefinedSkill Sources Reference
技能来源参考
Popular skill repositories:
- Anthropic Official - docx, pdf, pptx
- gked2121/claude-skills - social-repurposer, canvas-design
- ComposioHQ/awesome-claude-skills - Collection
- MadAppGang/claude-code - SEO, content skills
- daymade/claude-code-skills - twitter-reader, fact-checker
- skillhub.club - 1000+ skills collection
热门技能仓库:
- Anthropic官方仓库 - docx、pdf、pptx技能
- gked2121/claude-skills - 社交内容重制、画布设计技能
- ComposioHQ/awesome-claude-skills - 技能合集
- MadAppGang/claude-code - SEO、内容创作技能
- daymade/claude-code-skills - Twitter阅读器、事实核查技能
- skillhub.club - 包含1000+技能的合集