workspace-cleanup

workspace-cleanup is a skill for Claude Code from matteotitta/genesys-skills. It costs 110 tokens per session (1,489 once invoked), scanned A, original, MIT.

A workspace-audit workflow that checks five areas of a Claude Code workspace, including root-folder hygiene, client-folder structure, and skill organization.

In plain words
What is it for?
Use it for workspace-health checks, cleanup, spring-cleaning, or audits of the whole workspace; it is not intended for reviewing a single skill or a specific client folder.
Why use it?
It finds untracked system folders, unexpectedly large directories, and other workspace-organization problems before they cause clutter or maintenance issues.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it for workspace-health checks, cleanup, spring-cleaning, or audits of the whole workspace; it is not intended for reviewing a single skill or a specific client folder.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/matteotitta/genesys-skills/workspace-cleanup
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 matteotitta/genesys-skills --skill workspace-cleanup
Clone the repo
git clone --depth 1 https://github.com/matteotitta/genesys-skills

Made for: Claude Code.

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-cleanup

README.md
[![agentmods](https://agentmods.dev/badge/skills/matteotitta/genesys-skills/workspace-cleanup/github.svg)](https://agentmods.dev/skills/matteotitta/genesys-skills/workspace-cleanup)
Your own site
<a href="https://agentmods.dev/skills/matteotitta/genesys-skills/workspace-cleanup"><img src="https://agentmods.dev/badge/skills/matteotitta/genesys-skills/workspace-cleanup/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-cleanup

Your own site · 80×15
<a href="https://agentmods.dev/skills/matteotitta/genesys-skills/workspace-cleanup"><img src="https://agentmods.dev/badge/skills/matteotitta/genesys-skills/workspace-cleanup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,489 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.00110 $0.01489
Opus 5 $0.00055 $0.00745
Sonnet 5 $0.00022 $0.00298
Haiku 4.5 $0.00011 $0.00149

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

Security

Grade A, and why

workspace-cleanup 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 11d 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.

skills/meta/session/workspace-cleanup/SKILL.md · 182 lines

How it starts

The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Workspace cleanup

Periodic hygiene check for the Claude Code workspace. Runs 5 structured checks and produces a markdown report with pass/flag/action verdicts.


Claude Code Triggers

Invoke this skill when user says:

  • "clean up workspace"
  • "audit workspace"
  • "workspace hygiene"
  • "spring clean"
  • "check workspace health"

Do NOT invoke when:

  • User wants to clean up a specific client folder (use manual cleanup)
  • User wants to audit a specific skill (use /skill-catalog)
  • User wants to review code quality (use code review tools)

Input Requirements

Required Inputs

Input Description Source
Workspace root Current working directory Auto-detected

Optional Inputs

Input How It Helps
Focus area Run only specific checks (e.g., "just check clients")

Process (Step-by-Step)

Check 1: Root folder hygiene

  1. List all dot-folders at workspace root
  2. Cross-reference against .gitignore — flag any dot-folder NOT gitignored that isn't a known system folder (.git, .claude, .github, .cursor, .gitmodules)
  3. Check for folders >50MB that aren't known MCPs — flag with size
  4. Verify .gitignore has no stale references to paths that don't exist

Pass criteria: No unexpected dot-folders, no stale gitignore entries.

Check 2: Client structure compliance

For each folder in projects/consulting/active/:

  1. Has CLAUDE.md? → FLAG if missing
  2. Has docs/ and notes/? → FLAG if missing
  3. CLAUDE.md has ## Engagement goals and ## Success metrics? → FLAG if missing
  4. Any files at root level that should be in topic folders? → FLAG
  5. Last file modification date → FLAG if >30 days dormant (suggest archive discussion)

For each folder in projects/prospects/:

  1. Last activity date → FLAG if >60 days dormant (suggest cleanup)
  2. Count files — note if only 1-2 files (minimal engagement)

Pass criteria: All active clients have CLAUDE.md with goals/metrics, docs/, notes/.

Read the full file on GitHub · 182 lines

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. 11d ago First seen · 182 lines · 110 tokens per session scan A ab4b42da34bd

Subscribe to this mod's changes

workspace-cleanup is a skill published in the GitHub repository matteotitta/genesys-skills (36 stars, last pushed 1mo ago), licensed MIT. It adds 110 tokens to every session and 1,489 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

gingiris-b2b-growth

🇺🇸 B2B SaaS Growth — PLG vs SLG Playbook — Diagnose whether your problem is distribution, pricing, or PMF. PLG/SLG selection by ACV and sales cycle, the 5-stage path from $0 to $10M ARR, NRR discipline, affiliate & channel motion, enterprise tiering. Built from HeyGen, Deel, Vercel, Supabase, Snowflake patterns.…

Gingiris-1031/gingiris-skills · 484 tokens

gr-b2b-growth

A guide to growing a business-to-business software product from early user research to large-scale sales. B2B software is sold to companies rather than individual consumers.

Gingiris-1031/gingiris-skills · 83 tokens

go-to-market-playbook

A reusable Go-to-Market strategy template for both B2B and B2C launches. Covers positioning, messaging, ICP definition, channel selection, and competitive analysis frameworks. By @WeiYipei.

Gingiris-1031/gingiris-skills · 48 tokens

leadmagic-cli

Use the LeadMagic CLI for enrichment automation — find emails, validate contacts, enrich CSVs in batch, find decision-makers by role, and push to outbound platforms (Smartlead, Instantly). Use when automating enrichment from the command line, batch-processing contacts, or integrating LeadMagic into scripts. Triggers…

LeadMagic/gtm-skills · 99 tokens

revenue-team-onboarding

Revenue team onboarding — security access provisioning, ramp schedules, 30-60-90 plans, Slack engagement, shadowing, certification, and time-to-first-meeting reduction. Use when onboarding SDRs, AEs, managers, or RevOps hires. Triggers on: "sales onboarding", "SDR ramp", "30-60-90 sales", "reduce ramp time", "Slack…

LeadMagic/gtm-skills · 104 tokens

team-management

Team management for startup leaders — 1:1s, performance reviews, goal setting (OKRs), delegation, feedback culture, remote team management, team rituals, and scaling from IC to manager. Use when building team processes, managing first direct reports, or scaling management as the company grows. Triggers on: "team…

LeadMagic/gtm-skills · 95 tokens