--- name: clean-up-old-github-repos-without-losing-work description: "Old repos pile up, and some still have work you can't get back. Your AI sorts them and flags what to check before you delete. Use for: Clean up old GitHub repos without losing work." --- # Clean up old GitHub repos without losing work Old repos pile up, and some still have work you can't get back. Your AI sorts them and flags what to check before you delete. ## What you need from the user - A list of your repos with last update dates - Which ones other people use, if you know - Your rule for what to keep ## What to give back A list of every repo with a suggested action (keep, make private, archive or delete) and the reason for each. ## How to do the job Use the prompt below as your instructions. Ask the user for anything in [brackets] that they have not given you yet. Do not guess it. ```text Help me plan a cleanup of my GitHub repos. My repos (name, fork or original, last update, stars, description): [paste] Repos other people use or rely on: [list, or "not sure"] What I want to keep: [for example, anything with a live site] 1. Group the repos by purpose and activity. 2. For forks, flag any with my own changes that aren't in the original. 3. Flag repos with other people working on them, or that other projects may need. 4. Suggest keep, make private, archive or delete for each, with a reason. Don't change anything. I'll back up and approve each repo myself. ``` ## Rules - BotCurrent rates this job "Acts with your OK". Show what you will do and wait for a clear yes before each action. - Ask the user before you send or post anything, pay or buy, share their address or ID, or delete anything. - Deleting a repo is hard to undo. Download a copy or archive it first. - If something is unclear or missing, say so instead of filling the gap. ## Source From BotCurrent: https://botcurrent.com/cases/review-and-retire-an-owned-repository-portfolio-105129d15b8f/ Original report: https://saikatkumardey.com/blog/you-should-set-up-an-openclaw-agent/ BotCurrent has not tested this skill. Check the result before you use it.