Install
openclaw skills install git-dirty-checkRead-only triage for a local git working tree that summarizes uncommitted changes and applies conservative risk flags. Use when a user asks what changed in a repo, what is dirty, what is staged versus unstaged, or which risk flags apply before a commit. Do not use for commit writing, branch management, history analysis, merge conflict resolution, PR review, or general git assistance.
openclaw skills install git-dirty-checkA narrow git skill for summarizing uncommitted changes in a local repository. It groups staged, unstaged, untracked, and conflicted entries, applies conservative path- and filename-based risk flags, and suggests up to three next checks without modifying repo state.
git-dirty-check is a deliberately narrow skill for one job: understanding the current uncommitted state of a local git repository.
It does not try to manage branches, write commit messages, resolve conflicts, review pull requests, or act as a general git assistant. Instead, it gives a compact, structured triage of the current working tree:
The skill is read-only. It is designed for developers who want a quick operational summary before a commit, handoff, or local review, without granting write access or triggering broader repo assistance.
It also applies strict limits to deeper inspection:
This skill is most useful when raw git output is technically sufficient, but slower to parse than a stable triage summary.
Use read-only commands only.
Preferred commands:
git rev-parse --show-toplevelgit rev-parse --abbrev-ref HEADgit status --shortgit diff --statgit diff --cached --statUse targeted diff inspection only under the deep diff inspection cap, and only for files not matched by the secret-bearing file rule.
If the target path is not inside a git repository:
Branch name is optional metadata only. If branch name is available from a preferred read-only command, include it in Repo state. If HEAD is unavailable or branch name lookup fails in an otherwise valid repo, omit branch metadata without error. Do not give branch advice.
Deep diff inspection is optional and must remain narrow.
Hard limits:
Use deep diff inspection only for files not matched by the secret-bearing file rule and only when filename and diff-stat data are insufficient to assign or decline a listed risk flag.
Treat files matching these secret-bearing filename patterns as filename-level only.
Examples:
.env.env.**.pem*.keyid_rsaid_ed25519secrets.*For these files:
Keep risk flags conservative and mostly path/file based.
Flag examples:
Do not over-interpret. Avoid speculative impact claims.
Always return sections in this exact order:
Keep the response brief and structured.
Include:
List entries under:
List entries directly when there are 10 or fewer in a category. Otherwise list the first 10 and summarize the remainder.
List only conservative flags supported by filenames, paths, diff stats, or tightly capped non-sensitive diff samples.
Give 1 to 3 copy-paste-ready commands. Prefer read-only commands.
Say what was intentionally not inspected, such as:
Never:
Stay narrow. This skill exists to answer: "What changed here, and which conservative risk flags apply?"