skill-downloader

Download a specific subdirectory from a GitHub repository using sparse checkout.

Updated May 6, 2026
One-click install
npx skills add https://github.com/Takfes/indie-scaffolder --skill skill-downloader-takfes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-downloader
Source: https://github.com/Takfes/indie-scaffolder/tree/main/components/agent-skills-commands/.agents/skills/skill-downloader
Command: npx skills add https://github.com/Takfes/indie-scaffolder --skill skill-downloader-takfes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the problem of pulling a single folder from a GitHub repository without cloning the full project, making it easy to retrofit existing workspaces or import one skill at a time.

Core Features & Use Cases

  • Selective repository download: Retrieve only the exact subdirectory you need from a monorepo or large repository.
  • Interactive destination control: Choose where the downloaded folder lands, including .claude/skills, .gemini/skills, .agents, or a custom path.
  • Clean extraction workflow: Validate repository access, use sparse checkout, and remove git artifacts after copy.
  • Use Case: You want to add one skill folder from a public or private GitHub repo into your local project without bringing down the entire repository history or unrelated files.

Quick Start

Ask the skill to download the target folder from the GitHub repository into your project using the preferred destination path.

Frequently Asked Questions about skill-downloader

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I download a specific subdirectory from a GitHub repository without cloning the entire project?

To download a specific subdirectory from a GitHub repository without a full clone, you can use a sparse checkout workflow. This method extracts only the target folder into your local project while excluding the rest of the repository files and history.

What is the best way to extract a single folder from a monorepo locally?

The best way to extract a single folder from a monorepo is using git sparse checkout. This approach fetches only the desired directory, avoiding the download of unrelated monorepo files and keeping your workspace clean.

Can I download a GitHub folder directly into a specific local destination like .claude/skills?

Yes, you can download a GitHub folder into specific local destinations such as .claude/skills, .gemini/skills, .agents, or custom paths. The extraction process uses interactive destination selection to place the folder exactly where you need it.

Do I need git installed to extract directories from GitHub repositories?

Yes, you need git installed to extract directories from GitHub repositories. The directory extraction relies on git for validating repository access, performing the sparse checkout operation, and cleaning up temporary git artifacts after the folder is copied.

Does sparse checkout leave temporary git artifacts in my project after downloading a folder?

Sparse checkout itself creates temporary git artifacts during the process, but a clean extraction workflow removes them. After the target folder is successfully copied to your destination, all temporary git artifacts are automatically cleaned up.

Why should I use sparse checkout instead of cloning a full repository to get one folder?

You should use sparse checkout instead of a full clone to save bandwidth and storage space. Sparse checkout selectively retrieves only the subdirectory you need from large repositories or monorepos, completely avoiding the download of unrelated files and commit history.