Clone a repository (temporary)
repo_cloneClone a public Git repository temporarily, then use the returned handle to list, read, and search files; the clone is auto-deleted after a short TTL.
Instructions
Temporarily clone a public Git repository so you can review its actual files. Accepts an indexed home-ops repo name (e.g. 'onedr0p/home-ops' — resolved to its real clone URL and branch) or a full https Git URL. The clone is shallow, sandboxed, size/time-limited, and auto-deleted after a TTL. Returns a handle to use with repo_list_files, repo_read_file, and repo_grep, plus a curated file tree to get you started. Call repo_cleanup when done.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | An indexed repo name like 'onedr0p/home-ops', or a full https:// Git URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree | Yes | ||
| branch | Yes | ||
| handle | Yes | ||
| reused | Yes | ||
| size_mb | Yes | ||
| updated | Yes | ||
| file_count | Yes | ||
| resolved_url | Yes | ||
| expires_in_minutes | Yes |