/john-skills:clone-reposfrom john-skills
Clones multiple git repositories into a single root directory using the bundled clone-repos.sh script. Useful when you need to bulk-clone repos for a project or architecture review.
Ships in john-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
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.
Two things — ask for whatever is missing:
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.
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 / arg | Meaning |
|---|---|
ROOT_DIR | Required. Root directory the repos are cloned beneath (created if missing). |
REPO_URL … | Zero or more git URLs to clone. |
-f FILE | Read repo URLs from a file, one per line (# comments and blanks ignored). |
-n NUM | Clone at most NUM repos. Default 5. Also settable via CLONE_REPO_LIMIT. |
-h | Print 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 uncloned (the script reports how many it
skipped). When in doubt, set -n to the number of URLs you were given.
A few URLs given inline, into a fresh folder:
/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:
/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:
CLONE_REPO_LIMIT=50 /path/to/skill/assets/clone-repos.sh ~/clients/acme -f repos.txt
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.
What SKILL.md sets; muted values are Claude Code's defaults
32 skills in this plugin
/architecture-decision-recordsWrite and maintain Architecture Decision Records (ADRs) that capture the context and rationale behind significant technical decisions. Use when documenting an architectural or technology choice, recording a design trade-off, superseding a past decision, or setting up an ADR process. Also use proactively to offer an ADR when a significant decision is made during a coding session (database, framework, auth scheme, API style, integration pattern). Triggers on "write an ADR", "document this decision", "record this architecture choice", "add a decision record", "supersede ADR"./aws-learningsProactively catch common AWS infrastructure mistakes before they happen. Use when creating or modifying AWS components — CloudFormation, CDK, Lambda, API Gateway, IAM, S3, CloudFront, EC2, EventBridge, SQS, Secrets Manager, or SSM — to find and apply hard-won deployment lessons and avoid known pitfalls. Read-only: fetches lessons, does not add them./aws-learnings-addContribute a new lesson to the AWS Learnings library (the llms.txt-format library at github.com/jbdamask/aws-learnings-library). Use this whenever you've just debugged, fixed, or discovered a non-obvious AWS gotcha — CloudFormation, CDK, Lambda, API Gateway, IAM, S3, CloudFront, EC2, EventBridge, SQS, Secrets Manager, SSM — and want to capture it for next time. Triggers on phrases like 'add an AWS learning', 'save this AWS lesson', 'capture this gotcha', 'add this to the learnings library', or after solving a tricky AWS deployment problem worth remembering. This skill WRITES files (a new lesson file + an updated index) and prepares a pull request; it is the write companion to the read-only 'aws-learnings' skill.npx claudepluginhub jbdamask/john-claude-skills --plugin john-skillsOther plugins' skills for the same job