From productivity
Audit and clean up ~/code directory structure, archiving stale repos, fixing folder names, and removing dead worktrees
How this skill is triggered — by the user, by Claude, or both
Slash command
/productivity:code-cleanupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Audit and tidy the `~/code/` directory.
Audit and tidy the ~/code/ directory.
Run from the home directory (~/).
For every subdirectory in ~/code/ (including inside org folders), collect:
git remote get-url origin, or "no-git")DESCRIPTION, Julia package = has Project.toml, paper/grant = has .qmd/.tex/submission/, website = has _quarto.yml without package files, org-config = .github repos, other)git log -1 --format="%ci")git worktree list in each repo, flag any worktrees whose branch no longer exists on the remote)Report a table for each category:
Local name differs from remote repo name (excluding .git suffix).
For .github repos, convention is {org}-.github.
Include last commit date and whether it's owned by seabbs orgs or external.
Worktrees whose tracking branch no longer exists on the remote, or worktrees with no uncommitted changes that haven't been touched in 30+ days.
Any repo whose remote belongs to a known org (epinowcast, epiforecasts, EpiAware, nfidd, seabbs) but isn't inside the corresponding ~/code/{org}/ folder.
Repos from other orgs/users cloned locally.
Directories with no git remote.
For each flagged item, propose one of:
~/code/archive/Present the full action list and ask for confirmation before executing. Group actions by type (renames, moves, archives, deletes, worktree cleanup).
When moving repos into org folders, create the org folder if it doesn't exist.
When archiving, move to ~/code/archive/.
After execution, update ~/CLAUDE.md with the current repo inventory.
Print a final summary showing:
These GitHub orgs map to ~/code/{org}/:
External repos go in ~/code/external/.
Repos with no git go in ~/code/archive/ unless actively used.
npx claudepluginhub seabbs/skills --plugin productivityDetects repository directory conventions, audits file placement, and moves files with import-path updates. Never changes code inside files.
Executes 7-stage workflow to audit GitHub repos for secrets, junk files, broken links; cleans up, reviews PRs, benchmarks competitors, and validates fixes. Ideal for repo optimization and competitor analysis.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.