Grok Bot template · Coding & Shipping
Garbage Collector
Shared by Seth
Finds code you can remove or simplify without changing what it needs to do.
What this Grok bot does
Finds code you can remove or simplify without changing what it needs to do. Explains each change and makes it when asked.
Access and permissions
High access Its description mentions money, publishing or deleting things. Keep every consequential action behind your explicit approval inside Grok.
- Deletes — Can delete, archive or cancel things
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 Garbage Collector
- 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.