Agent skill

Rudder Workspace Hygiene Maintainer

by Undertone0809 in Undertone0809/rudder

A skill your agent uses to audit or clean Rudder worktrees, generated artifacts, logs, caches, and repo-owned processes without deleting active work, user data, or unrelated machine state.

Apache-2.0Auto-check passedDevelopment

Install Rudder Workspace Hygiene Maintainer

skills CLI
$ npx skills add Undertone0809/rudder --skill rudder-workspace-hygiene-maintainer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Undertone0809/rudder rudder-workspace-hygiene-maintainer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Undertone0809/rudder.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/maintainer/rudder-workspace-hygiene-maintainer .claude/skills/rudder-workspace-hygiene-maintainer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rudder-workspace-hygiene-maintainer
GitHub stars
292
Token cost
~664 tokens
SKILL.md length
296 words
Files
3 (incl. scripts)
Skills in repo
30
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses to audit or clean Rudder worktrees, generated artifacts, logs, caches, and repo-owned processes without deleting active work, user data, or unrelated machine state.

  • Works in 7 steps: Resolve exact absolute targets. → Confirm each target is within the user's… → Stop or fix active producers before… → …
  • Clean Rudder worktrees
  • SKILL.md covers Exclusive Outcome, Protected By Default, Audit and Cleanup, plus 1 more section
  • Runs Shell scripts from its folder

What it does

Rudder Workspace Hygiene Maintainer is an agent skill from Undertone0809/rudder. Use to audit or clean Rudder worktrees, generated artifacts, logs, caches, and repo-owned processes without deleting active work, user data, or unrelated machine state. Returns AUDIT, CLEANED, or BLOCKED.

Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `evals/evals.json` and `scripts/audit-workspace.sh`).

It sits in Development, covering Git worktrees. The repository describes itself as: Open-source local Agent harness for self-improving agent teams: run agents, review work, and turn feedback into reusable skills. The licence is Apache-2.0.

When your agent uses it

  • Clean Rudder worktrees
  • Generated artifacts
  • Repo-owned processes without deleting active work
  • Unrelated machine state

Example prompts

  • “/rudder-workspace-hygiene-maintainer”

Requirements

  • A Bash shell

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Resolve exact absolute targets.
  2. Confirm each target is within the user's authorized scope.
  3. Stop or fix active producers before rotating/removing their output.
  4. Prefer repository-aware or recoverable operations.
  5. Remove only classified generated artifacts or proven-safe worktrees.
  6. Re-run the audit and a lightweight health check.
  7. Report target, reason, bytes reclaimed, and recoverability.

What it can do on your machine

Read from SKILL.md and the folder at commit 2676a5c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Rudder Workspace Hygiene Maintainer loads about 664 tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 296 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~664

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Undertone0809/rudder at commit 2676a5c, republished under its Apache-2.0 licence (© Undertone0809). 296 words, ~664 tokens.

Download SKILL.mdSave it as .claude/skills/rudder-workspace-hygiene-maintainer/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
rudder-workspace-hygiene-maintainer
description
Use to audit or clean Rudder worktrees, generated artifacts, logs, caches, and repo-owned processes without deleting active work, user data, or unrelated machine state. Returns AUDIT, CLEANED, or BLOCKED.

Rudder Workspace Hygiene Maintainer

Make workspace cost visible and reclaim only space that is both proven safe and explicitly authorized.

Exclusive Outcome

  • AUDIT: read-only inventory and classified cleanup candidates.
  • CLEANED: exact authorized targets removed, with reclaimed space and post-cleanup health reported.
  • BLOCKED: safe classification or required cleanup authority is missing.

An audit is always allowed. Cleanup is allowed only for exact targets covered by the user's request.

Protected By Default

Never delete or rewrite the main checkout; dirty, unmerged, locked, or active worktrees; source or user-created data; ~/.rudder instances and databases; global caches; unrelated project state; or logs still being written before identifying and handling their producer.

Do not use broad unresolved globs, inferred environment variables, or recursive deletion against a workspace root.

Audit

Run the bundled read-only helper first:

bash
.agents/skills/maintainer/rudder-workspace-hygiene-maintainer/scripts/audit-workspace.sh

Add --sizes only when a slower serial disk scan is worthwhile.

Gross directory size is not reclaimable space. For every candidate, classify: registered worktree and branch; main/current/locked state; dirty/unmerged state; active repo-owned process; merge ancestry or other recoverability proof; generated versus user data; and exact expected reclaim.

Process reports must be scoped to registered Rudder worktree roots or an exact Rudder-owned signature. Report only redacted PID, PPID, elapsed time, RSS, executable, and owner; never dump full argv that may contain tokens.

Cleanup

  1. Resolve exact absolute targets.
  2. Confirm each target is within the user's authorized scope.
  3. Stop or fix active producers before rotating/removing their output.
  4. Prefer repository-aware or recoverable operations.
  5. Remove only classified generated artifacts or proven-safe worktrees.
  6. Re-run the audit and a lightweight health check.
  7. Report target, reason, bytes reclaimed, and recoverability.

For worktrees, “old” or “large” is insufficient. Protect any worktree that is dirty, unmerged, active, locked, current, or not proven recoverable from a remote/merged commit.

Report Format

text
RESULT: AUDIT | CLEANED | BLOCKED
Scope:
Protected:
Candidates:
Actions:
Reclaimed:
Post-check:

© Undertone0809, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in .agents/skills/maintainer/rudder-workspace-hygiene-maintainer of Undertone0809/rudder.

  • SKILL.md
  • evals/evals.json
  • scripts/audit-workspace.sh

Open the folder on GitHubat commit 2676a5c

Compare with similar skills

Rudder Workspace Hygiene Maintainer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Rudder Workspace Hygiene Maintainer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rudder Workspace Hygiene Maintainer this skillUndertone0809/rudder292—~664Automated safety check: PassApache-2.0
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Migrate Core Code to Submodulestinyhumansai/openhuman42k—~2.6kAutomated safety check: PassGPL-3.0
Finishing A Development Branchfarm-fe/farm5.6k35 repos~1.8kAutomated safety check: PassMIT
Git Worktree Cleanuplobehub/lobehub83k—~2.8kAutomated safety check: PassCustom licence
Keep Codex Fastvibeforge1111/keep-codex-fast1.6k—~3.1kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Migrate Core Code to Submodules

    tinyhumansai/openhuman

    Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.

    42k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • A skill your agent uses when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for…

    5.6k GitHub starsUsed in 35 repos~1.8k tokens
    DevelopmentAuto-check passed
  • Git Worktree Cleanup

    lobehub/lobehub

    Audits stale Git worktrees and branches with a bundled script, classifies each one, and deletes only after you approve the exact candidates.

    83k GitHub stars~2.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Keep Codex Fast

    vibeforge1111/keep-codex-fast

    A skill your agent uses when Codex feels slow or bloated, when local sessions/logs/worktrees/config have grown over time, or when a user wants safe maintenance for Codex Desktop/CLI state.

    1.6k GitHub stars~3.1k tokensUpdated 5 mo ago
    DevelopmentAuto-check passed
  • Pre-Release PR Triage

    jamiepine/voicebox

    Sorts a backlog of open pull requests into must-merge, candidate, superseded and deferred, writes a triage doc and works the merge loop before a release.

    57k GitHub stars~3.1k tokensUpdated 4 days ago
    DevelopmentAuto-check passed

More from Undertone0809/rudder

All 30 skills in this repo
  • Conversation To Skill

    Undertone0809/rudder

    Turn the current conversation's workflow into a reusable agent skill.

    292 GitHub stars~3.6k tokensUpdated yesterday
    Auto-check passed
  • A skill your agent uses when starting the current Rudder checkout as a temporary managed local preview with a stable URL, readiness check, logs, stop command, and cleanup path for manual inspection…

    292 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Stop Rudder Dev Maintainer

    Undertone0809/rudder

    A skill your agent uses when the user explicitly asks to stop, restart, kill, or clean Rudder repo-local pnpm dev processes or local dev runtime residue, including “把 pnpm dev 停了”, “重启 dev”, or “清掉…

    292 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Deep Research

    Undertone0809/rudder

    Conducts enterprise-grade research with multi-source synthesis, citation tracking, and verification.

    292 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Visualize

    Undertone0809/rudder

    Create safe inline visual explanations in Rudder Chat. An agent skill from Undertone0809/rudder.

    292 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • Advisor Review Loop Maintainer

    Undertone0809/rudder

    A skill your agent uses when Rudder development work needs first-principles advisor analysis plus independent reviewer rounds: proposals, UI/product decisions, architecture, release readiness…

    292 GitHub stars~4.2k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Rudder Workspace Hygiene Maintainer

What does Rudder Workspace Hygiene Maintainer do?

A skill your agent uses to audit or clean Rudder worktrees, generated artifacts, logs, caches, and repo-owned processes without deleting active work, user data, or unrelated machine state. Rudder Workspace Hygiene Maintainer is an agent skill from Undertone0809/rudder. Use to audit or clean Rudder worktrees, generated artifacts, logs, caches, and repo-owned processes without deleting active work, user data, or unrelated machine state.

When should I use Rudder Workspace Hygiene Maintainer?

Rudder Workspace Hygiene Maintainer fits situations like: clean Rudder worktrees; generated artifacts; repo-owned processes without deleting active work; unrelated machine state.

How do I install Rudder Workspace Hygiene Maintainer in Claude Code?

Run `npx skills add Undertone0809/rudder --skill rudder-workspace-hygiene-maintainer -a claude-code`. Or copy the skill folder (.agents/skills/maintainer/rudder-workspace-hygiene-maintainer in Undertone0809/rudder) into .claude/skills/rudder-workspace-hygiene-maintainer in your project. Claude Code loads it when a task matches its description.

How do I install Rudder Workspace Hygiene Maintainer in Codex?

Run `npx skills add Undertone0809/rudder --skill rudder-workspace-hygiene-maintainer -a codex`. Or copy the skill folder (.agents/skills/maintainer/rudder-workspace-hygiene-maintainer in Undertone0809/rudder) into .agents/skills/rudder-workspace-hygiene-maintainer in your project. Codex loads it when a task matches its description.

Can I use Rudder Workspace Hygiene Maintainer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Undertone0809/rudder --skill rudder-workspace-hygiene-maintainer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rudder-workspace-hygiene-maintainer, .gemini/skills/rudder-workspace-hygiene-maintainer, .github/skills/rudder-workspace-hygiene-maintainer and .opencode/skills/rudder-workspace-hygiene-maintainer in your project.

What does Rudder Workspace Hygiene Maintainer need to run?

Going by SKILL.md and its folder, Rudder Workspace Hygiene Maintainer needs a shell for the scripts in its folder. Our summary lists: A Bash shell.

Does Rudder Workspace Hygiene Maintainer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rudder Workspace Hygiene Maintainer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Rudder Workspace Hygiene Maintainer use?

Rudder Workspace Hygiene Maintainer is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Rudder Workspace Hygiene Maintainer use?

About 664 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Rudder Workspace Hygiene Maintainer?

Skills that share tags, products or a category with Rudder Workspace Hygiene Maintainer: Finishing a Development Branch (obra/superpowers, 297k stars), Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars), Finishing A Development Branch (farm-fe/farm, 5.6k stars) and Git Worktree Cleanup (lobehub/lobehub, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rudder Workspace Hygiene Maintainer?

Undertone0809 (a GitHub user) maintains it in Undertone0809/rudder, which has 292 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 10, 2026.

Source: Undertone0809/rudder on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.