Clone Reposのロゴ

Clone Repos

コミュニティ
jbdamask
clone-repos

Bulk-clone a set of git repositories into a single root directory using the bundled clone-repos.sh script. Use this whenever the user wants to clone several repos at once, pull down all the repos for a project or engineering estate, lay multiple repositories out side-by-side under one folder, or set up a local working tree of many repos (e.g. as the first step before reading, documenting, or doing an architecture review across a codebase). Trigger on phrases like 'clone these repos', 'clone all the repos', 'bulk clone', 'clone a bunch of repositories into a folder', or when the user hands over a list of git URLs and a destination directory.

概要

公開者jbdamask
リポジトリjohn-claude-skills
スキル名clone-repos
スター
29
フォーク
3
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    jbdamaskがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルClone ReposをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/jbdamask/john-claude-skills/tree/main/plugins/john-skills/skills/clone-repos
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jbdamask/john-claude-skills.git /tmp/john-claude-skills
mkdir -p .claude/skills
cp -r /tmp/john-claude-skills/plugins/john-skills/skills/clone-repos .claude/skills/clone-repos
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでClone Reposを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にClone Reposを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Clone Reposは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

clone-repos

Clone many git repositories into one root directory in a single step, using the bundled assets/clone-repos.sh. Each repo lands as a subdirectory beneath the root.

When to use this

Reach for this whenever the user needs more than one repo cloned into a common location — for example, pulling down every service in a project, or staging a client's repos before an architecture/documentation pass. If the user only wants a single repo cloned, a plain git clone is simpler and you don't need this skill.

What you need from the user

Two things — ask for whatever is missing:

  1. A destination (root) directory — where the repos should land. The script creates it if it doesn't exist.
  2. The repository URLs — either as a list in the conversation, or a path to a file with one URL per line.

If the user mentions a maximum number of repos, note it — the script defaults to cloning at most 5 and that cap is raised with -n.

How to run it

The script lives at assets/clone-repos.sh relative to this skill's directory. Resolve that absolute path, ensure it's executable, then invoke it with the Bash tool. The general form:

<skill-dir>/assets/clone-repos.sh [-n NUM] [-f FILE] ROOT_DIR [REPO_URL ...]
Option / argMeaning
ROOT_DIRRequired. Root directory the repos are cloned beneath (created if missing).
REPO_URL …Zero or more git URLs to clone.
-f FILERead repo URLs from a file, one per line (# comments and blanks ignored).
-n NUMClone at most NUM repos. Default 5. Also settable via CLONE_REPO_LIMIT.
-hPrint help.

URLs passed on the command line and via -f FILE are combined; the -n limit applies to the total.

Important: the default cap is 5. If the user supplies more than 5 URLs (or asks for "all of them"), pass -n with a number at least as large as the count — otherwise the extras are silently left unclone­d (the script reports how many it skipped). When in doubt, set -n to the number of URLs you were given.

Examples

A few URLs given inline, into a fresh folder:

bash
/path/to/skill/assets/clone-repos.sh -n 3 ~/clients/acme \
  https://github.com/acme/api.git \
  https://github.com/acme/web.git \
  https://github.com/acme/common.git

A list the user keeps in a file:

bash
/path/to/skill/assets/clone-repos.sh -n 20 ~/clients/acme -f ~/acme-repos.txt

Override the cap with the environment variable instead of -n:

bash
CLONE_REPO_LIMIT=50 /path/to/skill/assets/clone-repos.sh ~/clients/acme -f repos.txt

After running

The script is safe to re-run — it skips any repo already cloned (detected by a .git directory at the destination) and prints a final cloned / skipped / failed summary. Relay that summary to the user, and if any clone failed (non-zero exit), surface which URL failed rather than reporting success. Common causes: a private repo the user isn't authenticated for, or a typo'd URL.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Clone Repos」では何ができますか?

Bulk-clone a set of git repositories into a single root directory using the bundled clone-repos.sh script. Use this whenever the user wants to clone several repos at once, pull down all the repos for a project or engineering estate, lay multiple repositories out side-by-side under one folder, or set up a local working tree of many repos (e.g. as the first step before reading, documenting, or doing an architecture review across a codebase). Trigger on phrases like 'clone these repos', 'clone all the repos', 'bulk clone', 'clone a bunch of repositories into a folder', or when the user hands o...

TypingMindでClone Reposを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Clone Reposはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにClone Reposをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/jbdamask/john-claude-skills/tree/main/plugins/john-skills/skills/clone-reposを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Clone Reposを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Clone Reposは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもClone Reposを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Clone Repos」は無料ですか?

はい。jbdamaskがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇