skill-downloader by nicepkg/ai-workflow
npx skills add https://github.com/nicepkg/ai-workflow --skill skill-downloader从多个来源下载并安装 Claude Code 技能。
| 来源类型 | 示例 |
|---|---|
| GitHub 仓库 | https://github.com/user/repo, github.com/user/repo |
| 压缩归档文件 | .zip, .tar.gz, .tgz, .skill (重命名的 zip 文件) |
| 直接 URL | 指向归档文件或技能文件夹的 URL |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
python scripts/download_from_github.py <repo-url> <skill-path> --output <target-dir>
示例:
# 官方 Anthropic 技能
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/gked2121/claude-skills social-repurposer --output ./.claude/skills/
# 嵌套技能路径
python scripts/download_from_github.py https://github.com/MadAppGang/claude-code skills/content-brief --output ./.claude/skills/
python scripts/download_from_archive.py <url-or-path> --output <target-dir>
示例:
# 从 URL
python scripts/download_from_archive.py https://example.com/skills/my-skill.zip --output ./.claude/skills/
# 从本地文件
python scripts/download_from_archive.py ./downloads/my-skill.tar.gz --output ./.claude/skills/
# .skill 文件 (重命名的 zip 文件)
python scripts/download_from_archive.py https://skillhub.club/download/awesome-skill.skill --output ./.claude/skills/
python scripts/download_skill.py <source> --output <target-dir>
自动检测来源类型:
示例:
# 自动检测 GitHub
python scripts/download_skill.py https://github.com/anthropics/skills/tree/main/skills/docx --output ./.claude/skills/
# 自动检测归档文件
python scripts/download_skill.py https://example.com/my-skill.zip --output ./.claude/skills/
所有下载方法都会验证:
SKILL.mdSKILL.md 具有包含 name 和 description 的有效 YAML 前置元数据下载的技能将放置在:
<output-dir>/
└── <skill-name>/
├── SKILL.md # 必需
├── scripts/ # 可选
└── ...
| 错误 | 原因 | 解决方案 |
|---|---|---|
| 技能已存在 | 目标目录已存在 | 使用 --force 覆盖 |
| 未找到 SKILL.md | 无效的技能包 | 验证来源是否包含 SKILL.md |
| 无效的归档文件 | 损坏或不支持的格式 | 检查文件完整性 |
| 网络错误 | 下载失败 | 重试或检查 URL |
与 workflow-creator 一起使用时,将技能下载到工作流的 .claude/skills/ 目录:
# 首先创建工作流
python /path/to/workflow-creator/scripts/create_workflow.py my-workflow --path ./workflows
# 然后下载技能
python scripts/download_skill.py https://github.com/anthropics/skills/tree/main/skills/docx --output ./workflows/my-workflow/.claude/skills/
热门技能仓库:
每周安装量
196
仓库
GitHub 星标数
141
首次出现
2026年1月20日
安全审计
安装于
gemini-cli170
opencode165
cursor158
codex158
github-copilot148
amp133
Download and install Claude Code skills from multiple sources.
| Source Type | Examples |
|---|---|
| GitHub Repository | https://github.com/user/repo, github.com/user/repo |
| Compressed Archive | .zip, .tar.gz, .tgz, .skill (renamed zip) |
| Direct URL | URL pointing to archive or skill folder |
python scripts/download_from_github.py <repo-url> <skill-path> --output <target-dir>
Examples:
# Official Anthropic skills
python scripts/download_from_github.py https://github.com/anthropics/skills skills/docx --output ./.claude/skills/
# Community skills (root level)
python scripts/download_from_github.py https://github.com/gked2121/claude-skills social-repurposer --output ./.claude/skills/
# Nested skill path
python scripts/download_from_github.py https://github.com/MadAppGang/claude-code skills/content-brief --output ./.claude/skills/
python scripts/download_from_archive.py <url-or-path> --output <target-dir>
Examples:
# From URL
python scripts/download_from_archive.py https://example.com/skills/my-skill.zip --output ./.claude/skills/
# From local file
python scripts/download_from_archive.py ./downloads/my-skill.tar.gz --output ./.claude/skills/
# .skill files (renamed zip)
python scripts/download_from_archive.py https://skillhub.club/download/awesome-skill.skill --output ./.claude/skills/
python scripts/download_skill.py <source> --output <target-dir>
Automatically detects source type:
Examples:
# Auto-detect GitHub
python scripts/download_skill.py https://github.com/anthropics/skills/tree/main/skills/docx --output ./.claude/skills/
# Auto-detect archive
python scripts/download_skill.py https://example.com/my-skill.zip --output ./.claude/skills/
All download methods validate:
SKILL.mdSKILL.md has valid YAML frontmatter with name and descriptionDownloaded skills are placed in:
<output-dir>/
└── <skill-name>/
├── SKILL.md # Required
├── scripts/ # Optional
└── ...
| Error | Cause | Solution |
|---|---|---|
| Skill already exists | Target directory exists | Use --force to overwrite |
| 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 |
When used with workflow-creator, download skills to workflow's .claude/skills/ directory:
# Create workflow first
python /path/to/workflow-creator/scripts/create_workflow.py my-workflow --path ./workflows
# Then download skills
python scripts/download_skill.py https://github.com/anthropics/skills/tree/main/skills/docx --output ./workflows/my-workflow/.claude/skills/
Popular skill repositories:
Weekly Installs
196
Repository
GitHub Stars
141
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykWarn
Installed on
gemini-cli170
opencode165
cursor158
codex158
github-copilot148
amp133
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
62,200 周安装