clone-repos

Clone and synchronize multiple repositories with submodules into a local tmp workspace.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Rockyeast/flashinfer-trace-dev --skill clone-repos-rockyeast
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clone-repos
Source: https://github.com/Rockyeast/flashinfer-trace-dev/tree/main/.claude/skills/clone-repos
Command: npx skills add https://github.com/Rockyeast/flashinfer-trace-dev --skill clone-repos-rockyeast

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates cloning and updating multiple repositories (SGLang, FlashInfer, sgl-cookbook, and flashinfer-trace) into a local tmp workspace, including submodules and branch handling, to streamline setup for kernel extraction and workload collection.

Core Features & Use Cases

  • Clone all required repositories to tmp/ with submodules, and checkout default or specified branches.
  • Update existing repos by pulling latest changes and refreshing submodules, ensuring environment parity.
  • Install projects from source (FlashInfer and SGLang) to enable development workflows and testing.
  • Verify repository readiness and provide guidance for subsequent steps in kernel extraction and workload collection.

Quick Start

Run /clone-repos to clone all repositories to tmp, update them if present, and install from source.

Frequently Asked Questions about clone-repos

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

FAQPage Schema
How do I clone multiple repositories with submodules for kernel extraction setup?

Clone multiple repositories with submodules by running a single command that synchronizes SGLang, FlashInfer, sgl-cookbook, and flashinfer-trace into a local tmp workspace. It checks out default or specified branches and refreshes submodules automatically.

How do I install SGLang and FlashInfer from source after cloning?

Install SGLang and FlashInfer from source after cloning by using the skill's built-in installation workflow. It prepares the cloned repositories in your local tmp workspace and compiles the projects to enable development and testing.

What is the best way to synchronize existing repositories and pull latest changes for workload collection?

Synchronize existing repositories and pull latest changes by re-running the clone command on your tmp workspace. It updates all present repositories, pulls the latest commits, and refreshes submodules to ensure environment parity for workload collection.

Can I specify a custom branch when checking out repositories for kernel work?

You can specify a custom branch when checking out repositories for kernel work through optional branch selection parameters. If no branch is specified, the skill defaults to checking out the standard default branches for each repository.

Does clone-repos verify repository readiness before proceeding with kernel extraction?

Clone-repos verifies repository readiness by checking the synchronized state of SGLang, FlashInfer, sgl-cookbook, and flashinfer-trace in your tmp workspace. It provides guidance for subsequent steps once verification is complete.

Why do I need to clone flashinfer-trace and sgl-cookbook alongside SGLang and FlashInfer?

You need to clone flashinfer-trace and sgl-cookbook alongside SGLang and FlashInfer because they are required dependencies for workload collection and kernel extraction workflows. Cloning them together ensures complete environment parity and project setup.