Skip to content
Back to skills

Okhp3 Openclaw Repo Pulse

ASecurity

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".

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 20, 2026
ai-agentsgogit

Security analysis

A100/100

Scanned September 20, 2026

npx -y skills add OKHP3/skillz --skill okhp3-openclaw-repo-pulse --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Okhp3 Openclaw Repo Pulse?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Okhp3 Openclaw Repo Pulse
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/okhp3-okhp3-openclaw-repo-pulse/badge)](https://www.skillsdirectory.com/skills/okhp3-okhp3-openclaw-repo-pulse)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: okhp3-openclaw-repo-pulse
description: 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".
license: MIT
metadata:
  author: Jamie Hill (OverKill Hill P³)
  version: "0.1.0"
  category: openclaw
  origin: okhp3/skillz
  homepage: https://overkillhill.com
  author-github: https://github.com/OKHP3
  in_scope: "Report local repository status and inspect Git lock state."
  out_of_scope: "Committing, pushing, stashing, resetting, or deleting repository work."
  openclaw:
    requires:
      bins: [git, find]
---

# Repo Pulse

**OverKill Hill P³** · [overkillhill.com](https://overkillhill.com) · [github.com/OKHP3](https://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

1. 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).
2. 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)
3. 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](https://overkillhill.com) · [OverKill Hill P³](https://overkillhill.com)
Published at [github.com/OKHP3](https://github.com/OKHP3)
Part of the [OKHP3/skillz](https://github.com/OKHP3/skillz) Agent Skill library.
MIT License -- free to use, fork, and adapt. A nod to the source is appreciated.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…