From git
Shallow clones a Git repository to a temporary directory via Bash script for local analysis, avoiding web APIs. Prints path to cloned repo; requires manual cleanup.
How this skill is triggered — by the user, by Claude, or both
Slash command
/git:shallow-cloneThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Provides a script for creating a shallow clone of a Git repository to a temporary location. This skill should be used
Provides a script for creating a shallow clone of a Git repository to a temporary location. This skill should be used to analyze repository contents locally instead of using web APIs.
Use the scripts/shallow-clone.sh script in this directory, for example:
./scripts/shallow-clone.sh <repository_url> [<tag_or_branch>]
The script will print the path to the cloned repository when done, for example:
$ ./scripts/shallow-clone.sh https://github.com/psf/requests.git
Cloning https://github.com/psf/requests.git (shallow, ref: HEAD) to /tmp/shallow-clone-DDqkuv...
/tmp/shallow-clone-DDqkuv/repo
After analyzing the local repository, clean up the temporary directory with:
$ rm -rf <path_to_temporary_directory>
npx claudepluginhub jskladan/claude.md --plugin gitDelegates repository exploration to a Claude Code CLI subprocess. Supports local paths and remote GitHub/GitLab URLs with read-only access.
Clones a public GitHub repo over HTTPS to bypass MCP scope restrictions in the Claude Code web/remote environment. Use when GitHub MCP tools deny access to a public repo.
Explains Git 2.49+ features like reftables migration, sparse-checkout, partial clone, git-backfill, and worktrees for large repos and performance gains.