Agent Skill
2/7/2026workspace-clone
Clone one or all repositories configured in a workspace to their designated paths. Use when user says "clone repos", "clone all", or wants to download workspace repositories.
P
patricio0312rev
7GitHub Stars
1Views
npx skills add patricio0312rev/workspaces
SKILL.md
| Name | workspace-clone |
| Description | Clone one or all repositories configured in a workspace to their designated paths. Use when user says "clone repos", "clone all", or wants to download workspace repositories. |
name: workspace-clone description: Clone one or all repositories configured in a workspace to their designated paths. Use when user says "clone repos", "clone all", or wants to download workspace repositories.
Skill: Workspace Clone
Description
Clone one or all repositories configured in a workspace to their designated paths.
Arguments
[project]- Name of a specific project to cloneall- Clone all projects (default if no argument)
Instructions
When the user wants to clone repositories:
Step 1: Detect Workspace
Identify the current workspace. If none detected, ask the user to specify one or run /workspaces:init.
Step 2: Parse Configuration
Read the workspace configuration and get the list of projects with their:
- Repository URL
- Target path
Step 3: Clone Repositories
For each repository:
- Check if already cloned - Skip if directory exists with
.git - Create parent directory if needed
- Clone the repository
- Report status
Output Format
š„ Cloning workspace repositories...
Cloning api...
git clone git@github.com:acme/api.git ~/work/acme/api
ā api cloned successfully
Cloning admin...
git clone git@github.com:acme/admin.git ~/work/acme/admin
ā admin cloned successfully
ā homepage already exists at ~/work/acme/homepage
Summary:
⢠Cloned: api, admin
⢠Skipped: homepage (already exists)
⢠Failed: 0
Post-Clone Actions
After successful cloning, suggest:
Run '/workspaces:setup all' to install dependencies and configure projects.
Skills Info
Original Name:workspace-cloneAuthor:patricio0312rev
Download