mcpField
S
skill-downloader

skill-downloader

github.com/nicepkgAgent workflows288339 installsUpdated 40w ago
Repository

About skill-downloader

A utility for downloading and installing Claude Code skills from GitHub, archives, URLs, or local directories. It detects source types and validates skill files, metadata, and suspicious content patterns.

Key features

  1. 01Support multiple skill sources
  2. 02Detect source type automatically
  3. 03Validate SKILL.md and YAML metadata
  4. 04Check for malicious content patterns

Use cases

  1. 01Install a selected skill from GitHub
  2. 02Import a skill from an archive
  3. 03Check whether a skill package is valid

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/nicepkg/ai-workflow --skill skill-downloader

After installing, type/skill-downloaderin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

scripts/
download_from_archive.py
download_from_github.py
download_skill.py

Details

From the project README

Skill Downloader

Download and install Claude Code skills from multiple sources.

Supported Sources

Source TypeExamples
GitHub Repositoryhttps://github.com/user/repo, github.com/user/repo
Compressed Archive.zip, .tar.gz, .tgz, .skill (renamed zip)
Direct URLURL pointing to archive or skill folder

Usage

Download from GitHub
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/
Download from Archive
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/
Unified Download Command
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:

# 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/

Validation

All download methods validate:

  1. Skill folder contains SKILL.md
  2. SKILL.md has valid YAML frontmatter with name and description
  3. No malicious content patterns detected

Output Structure

Downloaded skills are placed in:

<output-dir>/
└── <skill-name>/
    ├── SKILL.md        # Required
    ├── scripts/        # Optional
    └── ...

Error Handling

ErrorCauseSolution
Skill already existsTarget directory existsUse --force to overwrite
SKILL.md not foundInvalid skill packageVerify source contains SKILL.md
Invalid archiveCorrupted or unsupported formatCheck file integrity
Network errorDownload failedRetry or check URL

Integration with Workflow Creator

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/

Skill Sources Reference

Popular skill repositories:

Comments

Markdown supported