gitclone

Clone multiple Git repositories into a temporary folder with separate subdirectories.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/enantiomer-h/DotfilePub --skill gitclone
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitclone
Source: https://github.com/enantiomer-h/DotfilePub/tree/main/openclaw-docker/openclaw-docker/.openclaw/workspace/skills/gitclone
Command: npx skills add https://github.com/enantiomer-h/DotfilePub --skill gitclone

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Clones one or more Git repositories into a shared temporary folder to simplify batch setup and ephemeral environments.

Core Features & Use Cases

  • Clones multiple repositories into a single temporary workspace, creating a separate subdirectory for each repo.
  • Automatically appends the .git suffix when it is missing, ensuring consistent clone URLs.
  • Reports the number of successful clones and the path to the temporary folder for easy cleanup.

Quick Start

Run the command /git_clone followed by one or more repository URLs to clone them into a temporary folder.

Frequently Asked Questions about gitclone

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

FAQPage Schema
How do I clone multiple git repositories into a single temporary folder?

To clone multiple git repositories into a temporary folder, provide one or more repository URLs to the batch cloning command. It generates a temp directory, creates a separate subdirectory for each repo, and reports the successful clone count and workspace path.

Do I need git installed to batch clone repositories into a temp directory?

Yes, you need the git binary installed and available in your environment to run the batch cloning script. The skill operates as a shell script that directly invokes the git command to pull repositories into the generated temporary workspace.

What happens if a repository URL is missing the .git suffix during batch cloning?

If a repository URL is missing the .git suffix during batch cloning, the script automatically appends it for you. This ensures consistent clone URLs and prevents git errors when pulling the repositories into their separate subdirectories.

What is the best way to set up an ephemeral workspace for multiple repositories?

The best way to set up an ephemeral workspace for multiple repositories is using a batch clone script that creates a shared temp folder. It clones each repository into a separate subdirectory and outputs the temp path for easy cleanup after your tasks are complete.

Can I automate cloning several git repositories into separate subdirectories?

Yes, you can automate cloning several git repositories into separate subdirectories by running the shell script with multiple repository URLs. It automatically handles the temp directory creation and organizes each cloned repository into its own isolated subdirectory.

How do I find the path of the temporary folder after cloning repositories?

To find the path of the temporary folder after cloning repositories, check the script output. Upon completion, the batch cloning process reports the number of successful clones and the exact path to the generated temporary workspace for your reference.