clone-repo

Clone GitHub and other git repositories into a structured local directory layout.

Updated May 1, 2026
One-click install
npx skills add https://github.com/vaughnangoy/ai-skills --skill clone-repo-vaughnangoy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clone-repo
Source: https://github.com/vaughnangoy/ai-skills/tree/main/clone-repo
Command: npx skills add https://github.com/vaughnangoy/ai-skills --skill clone-repo-vaughnangoy

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill eliminates the hassle of manually cloning GitHub repositories to inconsistent local paths and troubleshooting authentication errors, saving you time and keeping your code organized.

Core Features & Use Cases

  • Structured Clone Paths: Automatically organizes cloned repos into a base/git-username/repo-name/ folder structure for consistent local code management.
  • Auth Method Fallback: Verifies SSH connectivity first, then falls back to HTTPS with a personal access token if SSH is unavailable, so cloning works even if your SSH setup is incomplete.
  • Use Case: If you are working on a project that requires cloning multiple open source libraries, this Skill automatically checks your access, confirms the clone details with you, and places all repos in a single organized parent folder so you don't have to manually manage paths or debug auth issues.

Quick Start

Use the clone-repo skill to clone the vaughnangoy/ai-skills repository to your default local code folder.

Frequently Asked Questions about clone-repo

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

FAQPage Schema
How do I clone a GitHub repository into a structured local directory?

To clone a GitHub repository into a structured local directory, this Skill automates placing repositories into a base/git-username/repo-name/ folder structure, eliminating inconsistent manual paths and keeping your codebase organized.

How does cloning a repo handle SSH and HTTPS authentication fallback?

When cloning a repo, it verifies SSH connectivity first, then falls back to HTTPS with a personal access token if SSH is unavailable. This ensures successful repository cloning even when your local SSH setup is incomplete.

Do I need Python to clone git repositories with this tool?

Yes, you need Python3 installed to run the scripts that clone git repositories. This dependency allows the tool to verify authentication connectivity and persist user configuration for base clone paths.

What's the best way to organize multiple cloned repos locally?

The best way to organize multiple cloned repos locally is using an automated structured path layout. This Skill places all cloned repositories into a single organized parent folder grouped by git username and repo name.

Can I clone a repository referenced in my current VS Code workspace?

Yes, you can clone a repository referenced in your current VS Code workspace. The tool applies to any user request to clone a remote repository, including natural language requests and workspace references.

Why does cloning a remote repository fail with authentication errors?

Cloning a remote repository fails with authentication errors when SSH connectivity is incomplete or HTTPS tokens are missing. This Skill resolves these issues by verifying access and persisting HTTPS personal access tokens.