agentsclimarketplace

Digitalocean registry cleanup

Skill Goodsmileduck/claude-registry/plugins/digitalocean-skills/skills/digitalocean-registry-cleanup

Community marketplace of Claude Code plugins: DevOps skill packs (Terraform, Kubernetes, CI/CD, cloud platforms, DigitalOcean), CLAUDE.md optimization, and diagramming — gated by a best-practices lint + security-audit CI.

Install
npx -y skills add Goodsmileduck/claude-registry --skill digitalocean-registry-cleanup

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Analyze and clean DigitalOcean Container Registry images. Lists repos with tag counts, deletes old tags (keep last N), finds stale repos, triggers garbage collection. Supports dry-run mode. Use when user says "clean registry", "delete old images", "DO registry", "registry cleanup", "docker images cleanup", "container registry", or "clean up old tags".

SKILL.md

1.6 KB, as published. Nobody here has run it

DigitalOcean Registry Cleanup

Prerequisite: doctl CLI must be installed and authenticated (doctl auth init).

Script

Run scripts/registry_cleanup.py via Bash tool:

SCRIPT="<skill-path>/scripts/registry_cleanup.py"

# Analyze: show all repos with tag counts and dates
python3 $SCRIPT analyze

# Clean: delete old tags from a repo, keep newest N
python3 $SCRIPT clean <repo> --keep 5 --dry-run   # preview first
python3 $SCRIPT clean <repo> --keep 5              # execute

# Stale: find repos not updated in N months
python3 $SCRIPT stale --months 6                   # list only
python3 $SCRIPT stale --months 6 --delete          # delete all tags

# GC: trigger garbage collection to reclaim storage
python3 $SCRIPT gc

Workflow

  1. Run analyze to show registry overview
  2. Present the table to the user, ask which repos to clean and how many tags to keep
  3. Run clean <repo> --keep N --dry-run to preview
  4. On user confirmation, run clean <repo> --keep N to delete
  5. Run stale if user wants to find abandoned repos
  6. Run gc after all deletions to reclaim storage
  7. Run analyze again to show the result

Always use --dry-run first before destructive operations.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.