arbourd/dotfiles/git-get

Claude Code and agent skill by arbourd/dotfiles

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Clone git repositories with `git get` instead of `git clone`, so they land at a predictable path under GETPATH (default ~/src). Use whenever the user asks to clone a repo by URL or `host/owner/repo` and gives no destination path, even if they say "git clone".

Install

npx vskill@latest install arbourd/dotfiles/git-get

SKILL.md

The same SKILL.md was published earlier as arbourd/dotfiles/git-get.

git-get

git get clones to $GETPATH/<host>/<owner>/<repo> (default GETPATH=~/src), so every repo has one predictable location, e.g. github.com/owner/repo → ~/src/github.com/owner/repo. Use it in place of git clone so repos don't end up scattered in the current directory.

sh
git get github.com/owner/repo
git get https://github.com/owner/repo.git
git get git@github.com:owner/repo.git

The host is required: owner/repo alone is read as host owner and fails. A bare host/owner/repo is cloned over HTTPS unless a git url.<base>.insteadOf rule rewrites it (e.g. to SSH); for a private repo, pass the git@host:owner/repo form.

stdout is only the resulting path (progress and -v/--verbose git output go to stderr). Capture it and check the exit status before using it, since a failed clone prints nothing and cd "" succeeds in zsh and sh:

sh
dir=$(git get -- "<repo>") && cd "$dir"

If the repo is already cloned, it prints the existing path without cloning, fetching, or pulling; to update it, run git pull there.

It takes one repository per call, and options may come anywhere before --. -h/--help and --version print and exit 0 (use git get -h; git intercepts git get --help). A lone -v also prints the version, but with a repository it means --verbose. Change the root with $GETPATH or git config --global get.path ~/dev (the env var wins).

git get has no git clone options (--depth, -b, --recurse-submodules). Use git clone for those, or when the user names a destination. If git get isn't installed, clone to the same layout yourself: git clone <url> <root>/<host>/<owner>/<repo>, where <root> is $GETPATH, else git config get.path, else ~/src (expand ~ yourself), and <repo> has no .git suffix.

On an error such as <dir> exists but <dir>/.git does not or GETPATH is not an absolute path, report it. Don't delete the directory or change git config to work around it.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
7
7-day trend score
15

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/arbourd/dotfiles/git-get/badge)](https://verified-skill.com/skills/arbourd/dotfiles/git-get)

Something wrong with this skill or its page? Tell us.