# Clone ruancat repo

> Clone ruancat repo is an open-source agent skill for developer tools. Clones a fixed list of ruan-cat's GitHub repositories into set local folder names. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ruan-cat/monorepo/tree/main/ai-plugins/low-frequency-skill/skills/clone-ruancat-repo
- **Repository:** https://github.com/ruan-cat/monorepo
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** clone-ruancat-repo
- **Collection:** https://github.com/ruan-cat/monorepo
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill reproduces a maintainer's local set of GitHub repositories by running a predefined list of git clone commands into fixed directory names. It tells the agent to run the commands from the parent folder where the repos should live, and to follow the command file as the single source of truth rather than rewriting URLs or depths from memory.

The workflow covers choosing the parent path, running the clone lines in order, and handling a subset request by running only matching entries. If a clone fails because of network or permissions, the agent records the error and continues with the rest, and it checks with the user before retrying or overwriting an existing directory.

Some entries use shallow clones and non-single-branch fetches. The skill points to a separate branch-diagnosis skill for cases where remote branches are not visible after cloning. No scripts are bundled; it requires git and network access to GitHub.

## When your agent uses it

> 按固定清单快速克隆 GitHub 用户 ruan-cat 的常用仓库（及 tocque/h5mota-web）到约定目录名， 支持浅克隆与多分支抓取等参数组合。在用户提及「克隆 ruan-cat 仓库」「拉常用仓库」 「clone-ruan-cat」「初始化本地多仓」「同步阮喵喵 GitHub 仓库」或需要一键复现本机仓库存量时使用。 命令清单以 references/clone-commands.md 为唯一真实来源。

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/low-frequency-skill/skills/clone-ruancat-repo)
- [License: MIT](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/low-frequency-skill/skills/clone-ruancat-repo)

## Features

- **Fixed clone manifest:** Runs the git clone lines from a reference file, keeping URLs, depths and folder names as defined by the maintainer.
- **Subset cloning:** Clones only the repositories matching a requested name or local folder, and reports which entries were skipped.
- **Shallow and multi-branch options:** Some repositories use limited depth with non-single-branch fetching to keep size small while retaining remote branches.
- **Failure handling:** Logs failed clones with their errors, continues with the remaining entries, and asks before retrying or replacing existing folders.
- **Branch troubleshooting link:** Points to a companion skill for diagnosing missing remote branches in a cloned repository.

## Good for

- Clone my usual ruan-cat repositories into a new development folder
- Set up a local multi-repo workspace from the maintainer's list
- Clone only the monorepo from the standard repo set
- Re-create the local repository set on a new machine

## Install

### Claude Code

This skill ships in the `low-frequency-skill` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ruan-cat/monorepo
/plugin install low-frequency-skill@ruan-cat-tools
```

Or copy only this skill to `~/.claude/skills/clone-ruancat-repo`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/clone-ruancat-repo &&
cp -R "$tmp/ai-plugins/low-frequency-skill/skills/clone-ruancat-repo" ~/.claude/skills/clone-ruancat-repo &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/clone-ruancat-repo` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/clone-ruancat-repo` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/clone-ruancat-repo &&
cp -R "$tmp/ai-plugins/low-frequency-skill/skills/clone-ruancat-repo" ~/.agents/skills/clone-ruancat-repo &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/clone-ruancat-repo` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/clone-ruancat-repo` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/clone-ruancat-repo &&
cp -R "$tmp/ai-plugins/low-frequency-skill/skills/clone-ruancat-repo" ~/.cursor/skills/clone-ruancat-repo &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/clone-ruancat-repo` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ruan-cat/monorepo.git --path ai-plugins/low-frequency-skill/skills/clone-ruancat-repo
```

Or copy the folder to `~/.gemini/skills/clone-ruancat-repo` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/clone-ruancat-repo`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/clone-ruancat-repo &&
cp -R "$tmp/ai-plugins/low-frequency-skill/skills/clone-ruancat-repo" ~/.copilot/skills/clone-ruancat-repo &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/clone-ruancat-repo` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ruan-cat/monorepo.git
```

Then copy `monorepo/ai-plugins/low-frequency-skill/skills/clone-ruancat-repo` into your agent's skills folder as `clone-ruancat-repo`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Clone ruancat repo need any tools beyond git?

The skill runs git clone commands from its reference file, so git and network access to GitHub are what it relies on. No scripts are included.

### What happens if a target folder already exists?

git clone will fail, so the skill asks the user whether to skip the repository, use a different parent folder, or remove or rename the old directory first.

### Can I clone only some of the repositories?

Yes. The skill runs only the clone lines whose repository or local folder name matches the request and states which entries were left out.

### How do I install Clone ruancat repo in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/clone-ruancat-repo to use it in all your projects, or to .claude/skills/clone-ruancat-repo in one project. Or install the low-frequency-skill plugin, which includes it: /plugin marketplace add ruan-cat/monorepo, then /plugin install low-frequency-skill@ruan-cat-tools.

### Does Clone ruancat repo run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Clone ruancat repo?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Clone ruancat repo?

The closest alternatives to Clone ruancat repo are PR ruancat repo, Get git branch, Git worktree, Box and Git branch cleanup.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [PR ruancat repo](https://ai-powered.com/skills/pr-ruancat-repo): PR ruancat repo is an open-source agent skill for developer tools.
- [Get git branch](https://ai-powered.com/skills/get-git-branch): Get git branch is an open-source agent skill for developer tools.
- [Git worktree](https://ai-powered.com/skills/git-worktree): Git worktree is an open-source agent skill for developer tools.
- [Box](https://ai-powered.com/skills/box-prathamdby): Box is an open-source agent skill for developer tools.
- [Git branch cleanup](https://ai-powered.com/skills/git-branch-cleanup): Git branch cleanup is an open-source agent skill for developer tools.
- [GitHub workflow](https://ai-powered.com/skills/github-workflow): GitHub workflow is an open-source agent skill for developer tools.
- [Use skill](https://ai-powered.com/skills/use-skill): Use skill is an open-source agent skill for developer tools.
- [Branch](https://ai-powered.com/skills/branch-tjmonsi): Branch is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/clone-ruancat-repo
