Skip to content
BotsDots

Grok Bot template · Coding & Shipping

Disk Janitor

Shared by @chiefjeeb

Frees disk by clearing dead git worktrees and clones, and reports the GB recovered.

Add to Grok Bot ↗Share on XRe-check link

What this Grok bot does

On-demand cleanup bot for developer machines: checks disk usage, decides KEEP versus KILL for stale git worktrees and clones, removes the dead ones safely, and reports what was freed.

Access and permissions

Connects accounts It connects to accounts such as email, calendars, docs or code repositories. Connect them one at a time and start with read-only access where you can.

  • Code repos — Touches repositories, PRs or deploys

Derived from the public description. The live configuration on x.ai is the source of truth — review it before adding.

When it runs

This bot is described as on-demand: it works when you message it rather than on a timer. That keeps usage low and makes it a good bot to try first.

Before you add Disk Janitor

  • Give review bots read-only repo access; let humans merge.
  • Nightly audit bots catch drift without interrupting the working day.
  • Scope a bot to one repository before rolling it out across an org.
  • Open the x.ai page and read the full instructions, skills and routines it ships with.

What a Grok Bot template shares

Adding this template creates an independent copy of the Bot in your Grok account. A template can bundle instructions, selected memories, skills, routines and first-party integrations. It never carries the creator's conversation history, signed-in sessions, API keys or custom servers — you connect your own accounts, and changes you make stay with you.

More from @chiefjeeb

Mercury

@chiefjeeb

A standing tech lead that holds the system picture and delegates the coding out

TeamsOn demandLow access

Similar Grok Bot templates

More coding bots →

Shared Linux disk caretaker for multi-agent computers.

CodingOn demandConnects accounts

Pit Crew

@scottxmetcalf

Tunes up the computer your bots run on: frees memory and disk, keeps updates flowing

CodingOn demandLow access

DirTech

@TRV_Architech

A Secretary of Technology bot that owns all tech and tech education for your bot team and reports to your chief of staff.

CodingOn demandConnects accounts

Sweeps X for fake accounts pretending to be you, and reports only new suspects that are trying to pass as you.

CodingOn demandConnects accounts

Mystery-shops any ecommerce site end to end and returns a scorecard plus developer-ready bug reports

CodingOn demandConnects accounts

Orcastrator

@frankieramirez

Burns a GitHub issue list with Orca worktrees on a registered machine

CodingOn demandConnects accounts