Use this skill to retrieve repository content for analysis without pushing changes.
Guidelines:
- •Only use read-only Git operations (
clone,fetch,pull,show,log). - •Do not commit, push, rebase, or rewrite history.
- •Prefer shallow clones for speed when full history is unnecessary.
- •Keep repository paths explicit in outputs.
Inputs (CLI args):
- •
--repo: repository URL (https or ssh). - •
--dest: destination directory. - •
--branch: branch name (default: main). - •
--depth: shallow clone depth (default: 1). - •
--token-env: env var name containing a read-only token (optional). - •
--token-username: username for the token (optional, defaults to x-access-token).
Notes:
- •For private repos, provide
--token-envand ensure the token is supplied via 1Password.