BotCurrent
← Back to examples

Money & accountingReal reportActs with your OK

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 happened

Saikat Kumar Dey wrote in February 2026 that OpenClaw listed their GitHub repos and told originals from forks by activity. It proposed groups to keep, make private or delete. They report approving the plan before OpenClaw made the changes.

Source: Saikat Kumar Dey · saikatkumardey.com · Tool: OpenClaw

Copy this prompt

Paste it into ChatGPT, Claude or Gemini, fill in the [brackets] and add your files. It only drafts. You decide what to send or change.

Use it often? Save it as a skill

Add this job to Claude or Codex once, and your agent knows how to do it without you pasting the prompt each time. Text only, no code.

Download for Claude (.zip)View the skill file

How to add it
Claude app or claude.ai
Download the .zip. In Settings, find Skills, choose Upload skill and pick the file. Code execution has to be turned on.
Claude Code
Run this in your terminal:mkdir -p ~/.claude/skills/clean-up-old-github-repos-without-losing-work && curl -fsSL https://botcurrent.com/skills/clean-up-old-github-repos-without-losing-work/SKILL.md -o ~/.claude/skills/clean-up-old-github-repos-without-losing-work/SKILL.md
Codex
Run this in your terminal:mkdir -p ~/.agents/skills/clean-up-old-github-repos-without-losing-work && curl -fsSL https://botcurrent.com/skills/clean-up-old-github-repos-without-losing-work/SKILL.md -o ~/.agents/skills/clean-up-old-github-repos-without-losing-work/SKILL.md

More about skills, and open-source skills we checked

Security scanClear13 of 13 checks passed

We check every skill file before we offer it. This one is the prompt above in skill form.

  • Passed Skill file is well formed
  • Passed Runs its own code or programs
  • Passed Connects to the internet from code
  • Passed Touches passwords, keys or private files
  • Passed Deletes or overwrites things in bulk
  • Passed Hidden or scrambled code
  • Passed Tries to override your instructions
  • Passed Invisible characters in the text
  • Passed Sends your data somewhere else
  • Passed Can pay or buy without asking you
  • Passed Downloads or installs other software
  • Passed Has a password or key written into it
  • Passed Asks for admin (sudo) rights

Files scanned: SKILL.md. Links to: botcurrent.com, saikatkumardey.com. Fingerprint: 5c1fd76b3e3f. What we check

What you'll get

A list of every repo with a suggested action (keep, make private, archive or delete) and the reason for each.

You'll need

  • A list of your repos with last update dates
  • Which ones other people use, if you know
  • Your rule for what to keep

Before you switch it on

Acts with your OK

If you give this job to an agent that works in your accounts:

Access it needs
Your GitHub account
Keep on “ask me first”
Sending or posting anything, paying or buying, sharing your address or ID, deleting anything

Heads up: Deleting a repo is hard to undo. Download a copy or archive it first.

More details: full instructions, sources and safeguards

Before you begin

Source: Author reports approving the proposed cleanup before batch changes. Recommendation: approve each affected repository; irreversible deletion needs confirmation at the time.

Use this in your own AI tool

  1. Copy the starter, then open your own AI tool.
  2. Paste it with only the permitted inputs. Check privacy settings and tool compatibility first.
  3. Review the draft and held questions. Any later action needs separate approval.

What you need

Owned repository inventory and activity summaries

Retention rules, collaborator and downstream-use evidence

Modified-fork details and recoverable-backup requirements

Start here

  1. Group repositories by supplied purpose and activity evidence.
  2. Identify unique fork work, collaborators and downstream dependencies.
  3. Propose review decisions per repository without archiving, changing visibility or deleting anything.
Advanced prompt availability

Advanced prompt

No accepted companion is available for this record. The original material below retains its original status.

Technical setup & run design — optional
Starter
Separate short starter version composed-v1. Untested.
Advanced prompt
No accepted advanced companion is available. Legacy material remains in the original notes with its status.
Compatibility
Unknown; check the actual tool, account and permissions.
Run design
No reviewed run design. No runtime or schedule is activated by BotCurrent.
Setup and access

Proposed inputs

  1. Name

    Repository inventory

    Owner

    Verified owner

    Minimum scope

    Owned repository IDs, metadata and visibility

    Quality check

    Check transfers, forks and collaborators

  2. Name

    Retention brief

    Owner

    Owner

    Minimum scope

    Projects to preserve, retirement goals and known dependencies

    Quality check

    Distinguish public visibility from actual usage

Access and setup — proposed or unknown

Proposed minimum
  1. Use fictional metadata and a proposed decision table; no GitHub access, archival, visibility changes or deletion.

Compatibility unknowns
  1. Current ownership visibility, dependency evidence, recovery behavior and runtime compatibility are unknown.

External actions requiring approval
  1. Visibility changes, archival, repository deletion and access effects require explicit approval; irreversible deletion requires action-time confirmation.

Source evidence, attribution & limitations

Full source evidence

User report · Tool workflows

Original task title: Review and retire an owned repository portfolio

Editorial candidate. This is source-backed reporting or a documented workflow. BotCurrent has not independently tested this task. A proposed Canadian adaptation is not evidence of a Canadian deployment or compliance certification.

Original source

https://saikatkumardey.com/blog/you-should-set-up-an-openclaw-agent/

Attributed to: Saikat Kumar Dey

User report
Original action type
tool_action
What the source reports
Inventoried GitHub repositories, classified originals and forks using activity and metadata, proposed keep/private/delete groups, then applied the approved cleanup.
Source outcome limits
Firsthand report; repository counts do not fully reconcile. Deletions were not independently verified.
Evidence attribution caveat
Actions and outcomes are attributed user reports, not an independent reproduction or an execution guarantee.
Source approval description
Author reports approving the proposed cleanup before batch changes.
Named tools
OpenClaw; GitHub; Telegram
Model or version
Unknown
Publication date
2026-02-22
Source last checked
2026-10-14
Demonstrated in Canada
Unknown
Canadian availability
Unknown
Proposed Canadian adaptation
Check ownership, collaborators and retention obligations.
Recommended approval boundaries
Approve each affected repository and preserve backups before deletion or visibility changes.
Technical specification & detailed checks
Detailed steps and output format

At a glance

Suggested result
A reviewed repository-retirement plan and authorized changes.Suggested; untested.
Tool
OpenClawSource-named; check current access.
Suggested inputs
Repository inventory; Retention briefProposed; access notes below.
Human review
Approve each affected repository and preserve backups before deletion or visibility changes.Suggested boundaries; source approvals below.
Setup notes
Use fictional metadata and a proposed decision table; no GitHub access, archival, visibility changes or deletion.Guide notes; proposed setup untested.
Cost
Workflow cost not established. Check current tool pricing, setup and human review costs before trying it.No measured cost or time added.
Content depth
Source-linked example · suggestions untestedDepth does not establish successful execution.
Check source evidence and limits ↓

Function and scope

Software engineering · Single task

Editorial classification; no execution or compatibility test is implied.

No tool mapping reviewed for this task.

Source-backed example. Practical decision guidance is proposed and untested; this is not a full implementation guide.

The problem

Old repositories accumulate without a clear decision about which projects should stay public, become private or be retired.

Suggested task

Inventory owned repositories, group them by activity and purpose, and apply explicitly approved cleanup decisions.

What you could produce

A reviewed repository-retirement plan and authorized changes.

Where these suggestions come from
  • Core problem: Our interpretation of the task
  • Agent job: Our interpretation of the task
  • Expected output: Our interpretation of the task
  • Relevant job roles: Our interpretation of the task
  • Benefit type: Our interpretation of the task
Suggestions and their limits

Describes the task’s purpose and intended output; measured benefit, safe unsupervised operation and successful delivery are not established by this framing.

Editorial synthesis based on the linked source. This framing does not add evidence of successful delivery or results.

Before you try it · suggestions untested

Case-specific decision guidance and first checks are original proposals. The linked source supports the attributed task; this added guidance has not been executed.

Read the attributed source evidence and original caveats below ↓

Why use this

  1. A repository owner may accumulate experiments, forks and abandoned projects without knowing which still have users or dependencies. Inactivity alone is a weak reason to change visibility or delete a project.

  2. This job could prepare a portfolio-retirement proposal with ownership, purpose and consequences visible. Separating classification from action gives the owner a chance to preserve useful history and review irreversible or access-changing decisions individually.

Why an agent / simpler alternative

Useful judgment

Interpret repository purpose and activity, identify dependency questions and distinguish originals from forks without assuming dispensability.

Simpler alternative

Review a small repository list manually when ownership and purpose are obvious.

Unsuitable when

The task would delete uncertain assets, change collaborator access or treat inactivity as consent to retire work.

Expected deliverable and review checks

Proposed artifact

Repository decision queue with rationale, dependency/owner questions and separate approval states.

Critical checks
  1. Verify ownership; preserve unresolved dependencies; reconcile inventory identities; distinguish proposed retirement from completed changes.

Missing output evidence

This overlay adds no new output inspection, execution or validation; consult the referenced canonical source outcome limits.

First check — proposed, unexecuted

Status

proposed_unexecuted

Synthetic fixture

Invent four repositories: dormant dependency, modified fork, active original and empty experiment; prepare proposals only.

Acceptance checks
  1. Hold uncertain assets; distinguish action types; make no visibility or deletion change.

Stop conditions
  1. Stop if ownership, uniqueness, dependencies or action recoverability is unresolved.

Tasks: Money & accountingBuild & debug

Useful for: Software developerIT administrator

Editorial relevance from the title and source-supported actions; not evidence of the operator’s occupation.
OpenClawIndependent testing: No
Failure handling, costs and limits

Failure signals and proposed responses

  1. Signal

    An inactive repository supports another project

    Why it matters

    Cleanup may break a hidden dependency

    Proposed response

    Hold the decision and check known consumers.

  2. Signal

    A fork contains unique unpublished work

    Why it matters

    Classification hides valuable differences

    Proposed response

    Inspect divergence before proposing retirement.

Effort and cost — unknown

Setup work
  1. Define preservation rules and consequence categories.

Ongoing review
  1. Owner reviews each material action and verifies any authorized outcome.

Unknowns
  1. Usage evidence, collaborator impact, recoverability and review effort are unknown.

Limits

  1. A retirement classification cannot establish lack of users, safe deletion or successful cleanup execution.

Original task overview & interpretation

User report

Review and retire an owned repository portfolio

Dormant repositories may still hold unique work or support someone else’s project.

Suggested result

A reviewed repository-retirement plan and authorized changes.

What you need: Reported tools: OpenClaw; GitHub; Telegram. Supply owned repository IDs, retention rules and authorized access; check collaborators, dependencies and recoverable backups. Current access, costs and Canadian availability are unverified.

  1. Inventory owned repositories, group them by activity and purpose, and apply explicitly approved cleanup decisions.
  2. Check modified forks and downstream use before recommending retirement.
  3. Verify each approved visibility or deletion change against the decision list.

Source: Author reports approving the proposed cleanup before batch changes. Recommendation: approve each affected repository; irreversible deletion needs confirmation at the time.

Firsthand report; repository counts do not fully reconcile. Deletions were not independently verified. BotCurrent has not tested this workflow.