Repo Pulse
OverKill Hill P³ · overkillhill.com · github.com/OKHP3
Give Jamie a single, honest status sweep across his OKHP3 GitHub mirrors
without touching anything he hasn't approved.
Scope
Default root: /Volumes/OKH-Local/04_GitHub_Mirrors. If that path doesn't
exist on this machine, say so and ask for the correct mirror root instead of
guessing.
What to do
- Use
exec to list every immediate subdirectory of the root that contains
a .git folder (one level deep is enough; these mirrors are flat, not
nested).
- For each repo, run, with
--no-optional-locks on every read command so
you never create a .git/index.lock yourself:
git --no-optional-locks -C <repo> status --porcelain=v1 --branch
git --no-optional-locks -C <repo> log @{u}.. --oneline 2>/dev/null (unpushed commits, if a tracking branch exists)
git --no-optional-locks -C <repo> log ..@{u} --oneline 2>/dev/null (behind-remote commits)
- Separately, check for stale lock files:
find <repo>/.git -maxdepth 1 -name "*.lock".
- If you find
index.lock and no git process is actually running against
that repo, self-clean it by renaming it onto one fixed reused filename
rather than deleting it outright or minting a new unique name each
time: mv <repo>/.git/index.lock <repo>/.git/index.lock.openclaw-parked
(if that target already exists, overwrite it — it's disposable park
space, not history).
- Never run
git checkout -- to revert anything you find dirty; that's
explicitly off-limits. Report dirty files, don't touch them.
Output
One table: repo name, clean/dirty, ahead/behind counts, lock status
(none / found-and-parked / found-and-left-because-a-process-looked-active).
Then a one-line summary: how many repos need Jamie's attention and why.
Keep it to the facts; no recommendations beyond "worth a look" for anything
dirty or far behind.
What this skill never does
Never commit, push, stash, reset, or delete anything. Never touch a lock
file if there's any sign a git process might currently be using it (a
recent mtime, under a minute old, is reason enough to leave it alone and
just report it).
About
Built by Jamie Hill · OverKill Hill P³
Published at github.com/OKHP3
Part of the OKHP3/skillz Agent Skill library.
MIT License -- free to use, fork, and adapt. A nod to the source is appreciated.
1---2name: okhp3-openclaw-repo-pulse3description: Sweep the OKHP3 GitHub mirrors for uncommitted changes, unpushed commits, and stale .git locks; self-clean locks with the documented rename pattern. Use when asked "how are my repos doing", "any dirty repos", or "check for git locks".4license: MIT5metadata:6 source: https://skillmd.com/skills/okhp3/okhp3-openclaw-repo-pulse7 author: Jamie Hill (OverKill Hill P³)8 version: "0.1.0"9 category: openclaw10 origin: okhp3/skillz11 homepage: https://overkillhill.com12 author-github: https://github.com/OKHP313 in_scope: "Report local repository status and inspect Git lock state."14 out_of_scope: "Committing, pushing, stashing, resetting, or deleting repository work."15 openclaw:16 requires:17 bins: [git, find]18---1920# Repo Pulse2122**OverKill Hill P³** · [overkillhill.com](https://overkillhill.com) · [github.com/OKHP3](https://github.com/OKHP3)2324Give Jamie a single, honest status sweep across his OKHP3 GitHub mirrors25without touching anything he hasn't approved.2627## Scope2829Default root: `/Volumes/OKH-Local/04_GitHub_Mirrors`. If that path doesn't30exist on this machine, say so and ask for the correct mirror root instead of31guessing.3233## What to do34351. Use `exec` to list every immediate subdirectory of the root that contains36 a `.git` folder (one level deep is enough; these mirrors are flat, not37 nested).382. For each repo, run, with `--no-optional-locks` on every read command so39 you never create a `.git/index.lock` yourself:40 - `git --no-optional-locks -C <repo> status --porcelain=v1 --branch`41 - `git --no-optional-locks -C <repo> log @{u}.. --oneline 2>/dev/null` (unpushed commits, if a tracking branch exists)42 - `git --no-optional-locks -C <repo> log ..@{u} --oneline 2>/dev/null` (behind-remote commits)433. Separately, check for stale lock files: `find <repo>/.git -maxdepth 1 -name "*.lock"`.44 - If you find `index.lock` and no git process is actually running against45 that repo, self-clean it by renaming it onto one fixed reused filename46 rather than deleting it outright or minting a new unique name each47 time: `mv <repo>/.git/index.lock <repo>/.git/index.lock.openclaw-parked`48 (if that target already exists, overwrite it — it's disposable park49 space, not history).50 - Never run `git checkout --` to revert anything you find dirty; that's51 explicitly off-limits. Report dirty files, don't touch them.5253## Output5455One table: repo name, clean/dirty, ahead/behind counts, lock status56(none / found-and-parked / found-and-left-because-a-process-looked-active).57Then a one-line summary: how many repos need Jamie's attention and why.58Keep it to the facts; no recommendations beyond "worth a look" for anything59dirty or far behind.6061## What this skill never does6263Never commit, push, stash, reset, or delete anything. Never touch a lock64file if there's any sign a git process might currently be using it (a65recent mtime, under a minute old, is reason enough to leave it alone and66just report it).6768## About6970Built by [Jamie Hill](https://overkillhill.com) · [OverKill Hill P³](https://overkillhill.com)71Published at [github.com/OKHP3](https://github.com/OKHP3)72Part of the [OKHP3/skillz](https://github.com/OKHP3/skillz) Agent Skill library.73MIT License -- free to use, fork, and adapt. A nod to the source is appreciated.