← All skills
git-repo-detection
90 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
By laurigates/claude-plugins (GitHub) · coding · 59 stars · scanned at commit 16af2dc
Detect GitHub repo owner/name from git remotes. Use when needing the owner/repo identifier for GitHub CLI or API calls, especially across multiple repos.
Works with any agent that supports SKILL.md skills.
What this skill can do
Connects to the internet
The author does not mention this.
Found in 1 place.
Runs commands on your computer
The author does not mention this. It runs automatically when the plugin is installed. Expected for a coding skill.
Found in 26 places.
Show 17 more
- git-plugin/skills/git-repo-detection/SKILL.md, line 60
git remote get-url origin | sed 's/.*\/\([^/]*\)\.git/\1/' - git-plugin/skills/git-repo-detection/SKILL.md, line 76
git remote get-url origin | sed 's/.*[:/]\([^/]*\)\/[^/]*\.git/\1/' - git-plugin/skills/git-repo-detection/SKILL.md, line 86
git remote get-url origin | sed 's/.*[:/]\([^/]*\/[^/]*\)\.git/\1/' - git-plugin/skills/git-repo-detection/SKILL.md, line 103
https://github.com/owner/repo.git - git-plugin/skills/git-repo-detection/SKILL.md, line 119
git@github.com:owner/repo.git - git-plugin/skills/git-repo-detection/SKILL.md, line 137
parse_repo() { - git-plugin/skills/git-repo-detection/SKILL.md, line 157
git remote get-url origin \ - git-plugin/skills/git-repo-detection/SKILL.md, line 165
git remote get-url origin \ - git-plugin/skills/git-repo-detection/SKILL.md, line 176
REPO=$(git remote get-url origin | sed 's/.*[:/]\([^/]*\/[^/]*\)\.git/\1/') - git-plugin/hooks.json, line 10
"command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/git-drift-probe.sh\"", - git-plugin/hooks.json, line 22
"command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/validate-pr-issue-links.sh\"", - git-plugin/hooks.json, line 27
"command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/check-pr-metadata-on-push.sh\"", - git-plugin/hooks.json, line 32
"command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/check-branch-sync-on-push.sh\"", - git-plugin/hooks.json, line 37
"command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/check-pr-merge-method.sh\"", - git-plugin/hooks/test-check-branch-sync-on-push.sh, line 362
assert_decision "bash -c with a quoted commit script nudges" ask "$(make_json "bash -c 'git commit -m x'")" - git-plugin/hooks/test-check-branch-sync-on-push.sh, line 373
$'echo start\nX' 'out=$(X)' 'echo "$(X)"' "bash -c 'X'" "sh -c 'cd . && X'" 'X &' - git-plugin/hooks/test-check-pr-merge-method.sh, line 145
STUB_METHOD=rebase check "bash -c wrapper is a merge" 2 "bash -c 'gh pr merge 5 --squash'"
and 6 more places
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'git-repo-detection' ] || [ -L ~/.agents/skills/'git-repo-detection' ]; then echo 'A skill folder named git-repo-detection already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/laurigates/claude-plugins' "$d" && git -C "$d" checkout --quiet '16af2dca8c1e706bab01e003bf03a7d19192b346' -- 'git-plugin/skills/git-repo-detection' && mkdir -p ~/.agents/skills && cp -R "$d"/'git-plugin/skills/git-repo-detection' ~/.agents/skills/'git-repo-detection' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'git-repo-detection' ~/.claude/skills/'git-repo-detection' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for laurigates/claude-plugins shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/laurigates/claude-plugins/)
Score history
| Date | Version | Score |
|---|
| 2026-11-09 | 16af2dc | 90 |
| 2026-11-07 | 9d78355 | 90 |