Agent skill

Cleanup

by Mooshieblob1 in Mooshieblob1/MooshieUI

Runs branch hygiene and bot PR comment triage without cutting a release.

AGPL-3.0Auto-check passedMedia & Creative

Install Cleanup

skills CLI
$ npx skills add Mooshieblob1/MooshieUI --skill cleanup -a claude-code

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

GitHub CLI
$ gh skill install Mooshieblob1/MooshieUI cleanup --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/Mooshieblob1/MooshieUI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/cleanup .claude/skills/cleanup && 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
cleanup
GitHub stars
207
Token cost
~808 tokens
SKILL.md length
258 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Runs branch hygiene and bot PR comment triage without cutting a release.

  • Works in 4 steps: Branch inventory and stale detection → Bot comment triage scope → Cleanup actions → …
  • The user says /cleanup
  • SKILL.md covers Windows git (required), Workflow, Checklist and Mistakes to avoid
  • Calls gh and git

What it does

Cleanup is an agent skill from Mooshieblob1/MooshieUI. Runs branch hygiene and bot PR comment triage without cutting a release. Use when the user says /cleanup, branch cleanup, stale branch cleanup, or wants bot-comment triage across open/recent PRs.

Its SKILL.md is about 810 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Media & Creative, covering Image generation and Diffusion and image models. It works with Stable Diffusion. The repository describes itself as: A front-end UI for ComfyUI made for beginner level users. The licence is AGPL-3.0.

When your agent uses it

  • The user says /cleanup
  • Stale branch cleanup
  • Wants bot-comment triage across open/recent PRs

Example prompts

  • “/cleanup”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Branch inventory and stale detection
  2. Bot comment triage scope
  3. Cleanup actions
  4. Re-check and report

What it can do on your machine

Read from SKILL.md and the folder at commit a9cb043. 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

    Shell commands in SKILL.md call:

    • gh
    • git

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

  • Network

    No URLs in SKILL.md. Its commands use gh and git, which can reach the network depending on how they are called.

    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

Cleanup loads about 808 tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 258 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from Mooshieblob1/MooshieUI at commit a9cb043, republished under its AGPL-3.0 licence (© Mooshieblob1). 258 words, ~808 tokens.

Download SKILL.mdSave it as .claude/skills/cleanup/SKILL.md (or your agent's skills folder).
name
cleanup
description
Runs branch hygiene and bot PR comment triage without cutting a release. Use when the user says /cleanup, branch cleanup, stale branch cleanup, or wants bot-comment triage across open/recent PRs.

Cleanup (MooshieUI)

Standalone maintenance path: branch hygiene → PR/bot triage → targeted cleanup actions → summary.

This workflow does not bump versions, edit release notes/changelog, create release tags, or trigger release CI.

Windows git (required)

Prefix git commands with:

text
git -c core.hooksPath=/dev/null ...

Pre-commit hook is bash and hangs in PowerShell.

Workflow

1. Branch inventory and stale detection
powershell
git fetch --prune origin
git branch -vv
git branch -r
gh pr list --state open --base main --json number,title,headRefName,updatedAt,isDraft
gh api repos/Mooshieblob1/MooshieUI/branches?per_page=100 --jq '.[].name'

Identify:

  • stale local branches tracking deleted remotes
  • stale remote release/v* branches with merged/closed PRs
  • duplicate release branches for the same version
  • open PR branches with no recent activity and no merge intent
2. Bot comment triage scope

Review bot comments on:

  1. open PRs to main
  2. recently merged PRs (default: last 20, or since last tag)
powershell
gh pr list --state open --base main --json number,title,headRefName
gh pr list --state merged --base main --limit 20 --json number,title,mergedAt
# Per PR N:
gh pr view N --json reviews,comments,state,mergedAt
gh api repos/Mooshieblob1/MooshieUI/pulls/N/comments
gh api repos/Mooshieblob1/MooshieUI/pulls/N/reviews

Primary bots: gemini-code-assist[bot], copilot-pull-request-reviewer[bot], and actionable github-actions[bot] comments.

Classify with docs/BOT_REVIEW_TRIAGE.md:

  • Fix: correctness/safety/consistency
  • Skip: stylistic nits, premature abstraction, factually wrong
  • Defer: valid but not maintenance-blocking
3. Cleanup actions

Apply only safe, explicit actions:

  • Delete stale local branches
  • Delete stale remote release branches (release/v*) that are merged/abandoned
  • Close superseded release PRs when appropriate
  • For bot Fix findings:
    • open PR: push fix on that branch
    • merged PR: create follow-up branch/PR (do not rewrite history)

Avoid destructive/unsafe actions:

  • never force-push protected branches
  • never delete unmerged branches with active intent
  • never force-move or delete tags
4. Re-check and report

Re-run inventory commands after actions and provide:

  • branch/PR action table (what changed)
  • bot triage table (PR, comment, verdict, rationale)
  • unresolved follow-ups (if any)

Checklist

- [ ] Remote/local branches inventoried and pruned
- [ ] Stale `release/v*` branches addressed
- [ ] Open PRs reviewed for stale/conflicting branch state
- [ ] Bot comments triaged on open + recent merged PRs
- [ ] Fix/Skip/Defer outcomes documented
- [ ] Safe cleanup actions completed and re-verified

Mistakes to avoid

  1. Deleting active unmerged branches without confirmation
  2. Ignoring bot comments on non-release open PRs
  3. Treating all bot comments as mandatory fixes
  4. Force-updating tags/branches during cleanup

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

Files

Just SKILL.md in .agents/skills/cleanup of Mooshieblob1/MooshieUI.

Open the folder on GitHubat commit a9cb043

Compare with similar skills

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

Cleanup compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cleanup this skillMooshieblob1/MooshieUI207—~808Automated safety check: PassAGPL-3.0
Iibzanllp/infinite-image-browsing1.4k—~3.3kAutomated safety check: PassMIT
ImageNexus-JPF/note-companion8692 repos~3.9kAutomated safety check: PassMIT
Stable Diffusion with DiffusersOrchestra-Research/AI-Research-SKILLs13k6 repos~3.2kAutomated safety check: PassMIT
Anima Baseartokun/comfyui-mcp793—~4kAutomated safety check: PassMIT
Imageguaardvark/guaardvark251—~1.8kAutomated safety check: PassMIT

Similar skills

  • Iib

    zanllp/infinite-image-browsing

    Interact with IIB (Infinite Image Browsing) service for searching, browsing, tagging, and organizing AI-generated images.

    1.4k GitHub stars~3.3k tokensUpdated 4 days ago
    Media & CreativeAuto-check passed
  • Image

    Nexus-JPF/note-companion

    When the user wants to create, generate, edit, or optimize images for marketing — blog heroes, social graphics, product mockups, profile banners, listing visuals, or brand assets.

    869 GitHub starsUsed in 2 repos~3.9k tokens
    Media & CreativeAuto-check passed
  • Stable Diffusion with Diffusers

    Orchestra-Research/AI-Research-SKILLs

    Generates and edits images with Stable Diffusion through Hugging Face Diffusers, covering text-to-image, image-to-image, inpainting, SDXL and custom pipelines.

    13k GitHub starsUsed in 6 repos~3.2k tokens
    Media & CreativeAuto-check passed
  • Anima Base

    artokun/comfyui-mcp

    Anime/illustration text-to-image (ANIMA 1.0, ~2B Cosmos DiT).

    793 GitHub stars~4k tokensUpdated 2 days ago
    Media & CreativeAuto-check passed
  • Image

    guaardvark/guaardvark

    Generate or edit images on the user's own GPU through Guaardvark: single images, instruction edits, background cut-outs, inpaint and outpaint, consistent characters from the Cast Library, and batch…

    251 GitHub stars~1.8k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • AI Image Prompts Skill

    LeoYeAI/openclaw-master-skills

    Recommend curated prompts from a 10,000+ real-world image generation prompt library.

    2.2k GitHub stars~4.3k tokensUpdated 2 mo ago
    Media & CreativeAuto-check passed

More from Mooshieblob1/MooshieUI

All 9 skills in this repo
  • Add Comfyui Node

    Mooshieblob1/MooshieUI

    Adds a custom ComfyUI Python node to MooshieUI — Python class in mooshienodes.py, Rust required-class registration, and optional workflow template chain hookup.

    207 GitHub stars~936 tokensUpdated 2 days ago
    Auto-check passed
  • Add Tauri Command

    Mooshieblob1/MooshieUI

    Adds a MooshieUI Tauri command end-to-end — Rust handler, lib.rs registration, and TypeScript ipcInvoke wrapper.

    207 GitHub stars~467 tokensUpdated 2 days ago
    Auto-check passed
  • Quickrelease

    Mooshieblob1/MooshieUI

    Cuts a MooshieUI semver release quickly, skipping bot reviews, pre-commit-checks, and local build validation.

    207 GitHub stars~1.1k tokensUpdated 2 days ago
    Auto-check passed
  • Release

    Mooshieblob1/MooshieUI

    Cuts a MooshieUI semver release — bumps three version files, updates changelog and release notes, validates build, opens release PR, merges, tags, and triggers Build & Release CI.

    207 GitHub stars~2.8k tokensUpdated 2 days ago
    Auto-check passed
  • Workflow Template Builder

    Mooshieblob1/MooshieUI

    Builds or modifies ComfyUI workflow JSON templates in MooshieUI's Rust backend (src-tauri/src/templates).

    207 GitHub stars~640 tokensUpdated 2 days ago
    Auto-check passed
  • Push

    Mooshieblob1/MooshieUI

    Commits MooshieUI working-tree changes and lands them on main via a squash-merged PR without version bump or release tag.

    207 GitHub stars~947 tokensUpdated 2 days ago
    Auto-check: warnings

Questions about Cleanup

What does Cleanup do?

Runs branch hygiene and bot PR comment triage without cutting a release. Cleanup is an agent skill from Mooshieblob1/MooshieUI. Runs branch hygiene and bot PR comment triage without cutting a release.

When should I use Cleanup?

Cleanup fits situations like: the user says /cleanup; stale branch cleanup; wants bot-comment triage across open/recent PRs.

How do I install Cleanup in Claude Code?

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

How do I install Cleanup in Codex?

Run `npx skills add Mooshieblob1/MooshieUI --skill cleanup -a codex`. Or copy the skill folder (.agents/skills/cleanup in Mooshieblob1/MooshieUI) into .agents/skills/cleanup in your project. Codex loads it when a task matches its description.

Can I use Cleanup 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 Mooshieblob1/MooshieUI --skill cleanup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cleanup, .gemini/skills/cleanup, .github/skills/cleanup and .opencode/skills/cleanup in your project.

What does Cleanup need to run?

Going by SKILL.md and its folder, Cleanup needs the command-line tools its instructions call (gh and git).

Does Cleanup access the network?

SKILL.md contains no URLs. Its commands use gh and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Cleanup 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. Review the folder before installing.

What licence does Cleanup use?

Cleanup is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cleanup use?

About 808 tokens (SKILL.md is roughly 3.2k 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 Cleanup?

Skills that share tags, products or a category with Cleanup: Iib (zanllp/infinite-image-browsing, 1.4k stars), Image (Nexus-JPF/note-companion, 869 stars), Stable Diffusion with Diffusers (Orchestra-Research/AI-Research-SKILLs, 13k stars) and Anima Base (artokun/comfyui-mcp, 793 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cleanup?

Mooshieblob1 (a GitHub user) maintains it in Mooshieblob1/MooshieUI, which has 207 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 5, 2026.

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