SKILL.md
Localref
Clone or download external references to /tmp/ for local searching and reading.
Workflow
- Clone — shallow clone to
/tmp/ref-<name>:
``bash git clone --depth 1 https://github.com/owner/repo.git /tmp/ref-<name> ` For a specific branch/tag: add --branch <ref>. If /tmp/ref-<name>` already exists, reuse it.
- Search and read — grep, glob, read files to find what you need.
- Apply — use findings to complete the task in the working repo.
For non-git sources (tarballs, zips): curl -L <url> into /tmp/ref-<name> and extract.