git
Installation
SKILL.md
Git (Secure Clone)
Gate every git clone of a public repository with an automatic security assessment. Private/org repos clone immediately with no added friction.
Trigger
Any user request that involves cloning, checking out, or installing a Git repository.
Workflow
1. Parse the repo URL
Extract <host>, <owner>, and <repo> from the URL or shorthand the user provided.
Accept common forms: https://github.com/org/repo, git@github.com:org/repo.git, org/repo (assume GitHub when no host). Normalize to an HTTPS URL.
2. Probe: public or private?
Run this host-agnostic check (no API key needed):