Workspace Git Hygiene

Workspace Git Hygiene is a skill for Claude Code, Codex from Raidriar7170/hermes-skilleval. It costs 19 tokens per session (320 once invoked), scanned A, original, MIT.

A Git helper for inspecting the current branch and uncommitted changes in a shared project folder. It also identifies edits that may belong to someone else.

In plain words
What is it for?
Use it before making code changes, especially when the working folder contains unfinished or unrelated edits.
Why use it?
It reduces the risk of accidentally deleting, reverting, or overwriting work in a repository—a folder whose history and changes are tracked by Git.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions AGENTS.md; mentions Codex.

Good fit Use it before making code changes, especially when the working folder contains unfinished or unrelated edits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/raidriar7170/hermes-skilleval/workspace-git-hygiene
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Raidriar7170/hermes-skilleval --skill workspace-git-hygiene
Clone the repo
git clone --depth 1 https://github.com/Raidriar7170/hermes-skilleval

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Workspace Git Hygiene

README.md
[![agentmods](https://agentmods.dev/badge/skills/raidriar7170/hermes-skilleval/workspace-git-hygiene/github.svg)](https://agentmods.dev/skills/raidriar7170/hermes-skilleval/workspace-git-hygiene)
Your own site
<a href="https://agentmods.dev/skills/raidriar7170/hermes-skilleval/workspace-git-hygiene"><img src="https://agentmods.dev/badge/skills/raidriar7170/hermes-skilleval/workspace-git-hygiene/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Workspace Git Hygiene

Your own site · 80×15
<a href="https://agentmods.dev/skills/raidriar7170/hermes-skilleval/workspace-git-hygiene"><img src="https://agentmods.dev/badge/skills/raidriar7170/hermes-skilleval/workspace-git-hygiene.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 320 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.00320
Opus 5 $0.00010 $0.00160
Sonnet 5 $0.00004 $0.00064
Haiku 4.5 $0.00002 $0.00032

Measured 10d ago against content hash fceb69366063, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

Workspace Git Hygiene scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

benchmarks/migrated-skills/codex/workspace-git-hygiene/SKILL.md · 38 lines

What it actually says

Workspace Git Hygiene

Use when working in a shared repository or dirty worktree. Check current path, branch, and status, identify unrelated changes, and never revert or overwrite work that was not part of the assignment.

Evidence

  • pwd, branch, and status output.
  • Explicit note about unrelated changes.
  • No destructive git operations.

Source Snapshot

Source: global Codex AGENTS.md worktree and git hygiene rules

Short excerpt used for provenance, not a full source copy.

## Codex Orchestrator Apply Protocol Use this protocol whenever the user asks for Codex
Orchestrator, or when a non-trivial `/opsx:apply` / implementation task needs agent
separation, worktree isolation, or review before merge. Start by outputting: ```markdown
## Task Understanding ## Proposed Subagents ## Worktree /
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 38 lines · 19 tokens per session scan A fceb69366063

Subscribe to this mod's changes

Workspace Git Hygiene is a skill published in the GitHub repository Raidriar7170/hermes-skilleval (123 stars, last pushed 1mo ago), licensed MIT. It adds 19 tokens to every session and 320 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.