IvanCampos/agents / skills/git-search
git-search
VerifiedList recent git commits across all repos under ~/Code (excluding .build checkouts). Use when the user asks to show last commits, recent history, or commits across all projects in ~/Code.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 673 B |
| agents/openai.yaml | config | 172 B |
| scripts/list_commits.shexecutable | script | 982 B |
scripts/list_commits.sh
View on GitHub#!/usr/bin/env bash
set -euo pipefail
usage() {
cat <<'USAGE'
Usage:
list_commits.sh --count <N> [--path <root>]
Options:
--count Number of commits per repo (required)
--path Root directory to scan (default: $HOME/Code)
USAGE
}
count=""
root="$HOME/Code"
while [[ $# -gt 0 ]]; do
case "$1" in
--count) count="${2:-}"; shift 2 ;;
--path) root="${2:-}"; shift 2 ;;
-h|--help) usage; exit 0 ;;
*) echo "Unknown arg: $1" >&2; usage; exit 2 ;;
esac
done
if [[ -z "$count" ]]; then
echo "Missing --count." >&2
usage
exit 2
fi
if ! [[ "$count" =~ ^[0-9]+$ ]] || [[ "$count" -le 0 ]]; then
echo "Invalid --count: $count" >&2
exit 2
fi
if [[ ! -d "$root" ]]; then
echo "Root not found: $root" >&2
exit 2
fi
find "$root" -type d -name .git -prune \
| sed 's|/.git$||' \
| grep -v '/.build/' \
| sort \
| while IFS= read -r repo; do
echo "==> $repo"
git -C "$repo" --no-pager log -"$count" --oneline
echo
done
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |