From odh-ai-helpers
Shallow clones Git repositories to temporary directories via Bash script for local analysis, bypassing web APIs. Outputs path for inspection and manual cleanup.
How this skill is triggered — by the user, by Claude, or both
Slash command
/odh-ai-helpers: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 jeremyeder/ai-helpers-plugin --plugin odh-ai-helpersDelegates repository exploration to a Claude Code CLI subprocess. Supports local paths and remote GitHub/GitLab URLs with read-only access.
Explains Git 2.49+ features like reftables migration, sparse-checkout, partial clone, git-backfill, and worktrees for large repos and performance gains.
Executes GitHub operations via the gh CLI for inspecting repos, files, issues, PRs, releases, Actions, and cloning for deep analysis. Activates on github.com URLs or repo paths.