Skip to content
RepoQuarry
Weekly email Suggest a project Sign in

All posts

Subtrim: find and cancel subscriptions with Grok Bot

A Grok Bot skill that reads the receipts in your Gmail, lists every subscription with its cost, drafts the cancellation for the ones you don't use and suggests a free open-source alternative for each. Includes a free preview tool that runs on your own computer.

Wayne Hewitt, , 8 min read

Subtrim on a made-up sample inbox: 10 subscriptions found, £112.54 a month, 3 flagged with a drafted cancellation, 8 of 10 with free alternatives on RepoQuarry.

Yes, with one limit. Subtrim is a Grok Bot skill that reads the receipts in your Gmail, lists every subscription with its cost, and drafts the cancellation for the ones you pick. You send it yourself. Grok Bot needs X Premium at $30 a month. Setup is one pasted prompt, and the free preview tool takes a minute to try.

Updated 15 November 2026. The preview tool is tested: 42 automated tests and a made-up sample inbox. The Grok Bot skill and routine are not yet tested on Grok Bot, because we don't have a plan to test on. We'll update this page with real numbers when we do.

Why subscriptions

Subscription clean-up is one of the roles in xAI's own Grok Bot gallery, and it turns up in the inbox audits people share. There is already a template for cancelling one named service, based on a post by Morgan Linton (groktemplates.dev). Subtrim starts a step earlier. It finds what you're paying for, shows its reasons, and pairs each one with a free alternative.

What it does

  1. Dry run. It searches your mail for receipts, groups them by company, and keeps the ones that repeat: weekly, monthly, every three months or yearly. You get one list with each charge, the cost a month and the date of the last payment.
  2. Flags, with a reason. A subscription is flagged only when there is something you can read: the company's own "we miss you" email, a free trial about to turn paid, or you saying you don't use it. It can't see how much you use something, and it doesn't guess.
  3. A free alternative. Each subscription is looked up on RepoQuarry. If we list open-source alternatives for it, you get up to three, each with its licence and a link.
  4. Drafts, on your say-so. One cancellation request per flagged subscription, saved as a draft. Nothing is sent, cancelled or clicked.

A Subtrim report: 10 subscriptions costing £112.54 a month, 3 flagged. Loom is flagged because its own email says no video was recorded in 60 days. Evernote is flagged for a "we miss you" email and a renewal 9 days ago. Framecast is a free trial about to turn paid.

The real output of the preview tool on a made-up inbox. Every email, date and price in it is invented, and none of these companies sent them. Framecast is not a real product.

What our test found

We wrote an inbox of 62 emails for a made-up freelancer: four months of receipts, newsletters, client mail, bank alerts, and a few traps. On 15 November 2026 the preview tool:

  • Found 10 subscriptions from 33 receipts, costing £112.54 a month, or £1,350.48 a year.
  • Flagged 3. One company's own email said "You haven't recorded a video in 60 days." One sent "We miss you" on a yearly plan that had renewed 9 days earlier. One was a free trial due to turn paid 5 days later. The two already being paid for cost £20.33 a month.
  • Matched 8 of the 10 to a product on RepoQuarry, with three alternatives each. The other two, a music service and a phone bill, got "none listed".
  • Left out what it should: 1 subscription the company had already confirmed as cancelled, 2 one-off purchases, an invoice the freelancer had sent to a client, and a fake "Notion" receipt for £89.00 that came from an address that wasn't Notion's.
  • Noticed without flagging: a price that went up from £19.99 to £24.99, and two pairs of tools that RepoQuarry lists for the same kind of job.

A tidy sample is the easy case. Real receipts come in many shapes, some only as PDF attachments, and app-store subscriptions may send no email at all. Check the list against your bank statement.

The draft

A draft email asking to cancel an Evernote subscription, with the last charge of £99.99 on 6 Nov 2026 and a request for a refund if the terms allow. The recipient is empty because the receipts came from a no-reply address.

One of the three drafts from the sample run.

Each draft asks the company to cancel and turn off auto-renewal, gives the last charge and your account email, and asks for written confirmation. If a yearly plan renewed in the last 14 days, it adds one line asking for a refund "if your terms allow". It doesn't claim you have a right to one, because that depends on where you live and what you bought.

Many companies send receipts from a no-reply address and only let you cancel on their website. In that case the draft has no recipient, and Subtrim gives you the account page from their own email instead. It only passes on a link that is on the company's own site. In the sample, 2 of the 3 drafts had no recipient.

The free alternatives

This is the part the other templates don't have. For the two paid subscriptions flagged in the sample, the report listed:

Each one comes with its licence and a note on how much of the job it covers. "Free" here means free to use. Some need a computer or a small server to run on, and several cover only part of what the paid tool does. Open the project page before you switch.

On Grok Bot the skill asks RepoQuarry directly, through our read-only MCP server at https://repoquarry.dev/mcp. It needs no account and no key. We ran the same lookups against the live server: Loom and Evernote came back named as paid products with alternatives, and the music service came back with no product named. That is how the skill knows to say "none listed" rather than offer something loosely related.

Set it up

The skill, the routine, the preview tool and the sample inbox are on GitHub: Obiwayne/subtrim.

Try the preview first. It needs Python 3.10 or later and nothing else, and it sends nothing.

  1. Download the repo and run the sample command in its README. That takes about a minute.
  2. For your own mail, export it from Google Takeout (Mail only).
  3. Run python -m subtrim scan --mbox "All mail.mbox" --me you@example.com.
  4. Open subtrim-out/report.html. The drafts are in subtrim-out/drafts.

Then on Grok Bot:

  1. Connect Gmail under Connect apps.
  2. Ask the Bot to add the MCP server at https://repoquarry.dev/mcp. Adding MCP servers through chat is described by Composio, not in xAI's own documentation. If it doesn't work on your plan, the skill reads the same facts from pages such as https://repoquarry.dev/alternatives/loom.md.
  3. Paste grok-bot/skill.md into a chat and ask the Bot to save it as a skill called "Subtrim".
  4. Paste the routine from grok-bot/routine.md for one run on the 1st of each month.

For a version with no Grok Bot at all, see the life admin autopilot blueprint.

What it costs

Grok Bot comes with X Premium ($30/month), Super and Ultra, and shares one weekly allowance with Cursor and the Grok apps (Cursor help). A shared allowance can run out, so Subtrim:

  • runs once a month, 12 scheduled runs a year
  • writes drafts only when you ask
  • sends the list alone if the allowance is past 70%
  • never hands work to a second Bot, and won't reply if another Bot messages it

We can't yet say how much of the allowance a run uses, because we haven't run it on a plan. The first run reads 13 months of receipts, so expect it to be the biggest. RepoQuarry's MCP server and pages are free.

What can go wrong

  • It can't cancel for you. Subtrim never opens a company's website, never logs in and never clicks a link in an email. Where a company only cancels through its website, you do that step.
  • It can miss things. Receipts as PDF attachments, receipts in other languages and app-store subscriptions with no email are not covered by our test.
  • "Unused" is only what the email says. A "we miss you" email is a hint, not proof. You decide.
  • Fake receipts exist. Subtrim leaves out a receipt that uses a known company's name from another address, and tells you not to click it. It only knows the 90 paid products RepoQuarry covers, so don't rely on it to catch every fake.
  • Refunds aren't promised. The draft asks. Whether you get one depends on the company and the law where you live.
  • Untested on Grok Bot and on a real inbox. Everything above comes from the preview tool and a sample we wrote.

FAQ

Can Grok Bot find and cancel my subscriptions?

It can find them from your email receipts and draft each cancellation. With Subtrim it doesn't press the final button: you send the draft or cancel on the company's site. We haven't tested the skill on Grok Bot yet.

How do I find recurring charges in my email?

Search for receipts and invoices, group them by company, and keep the ones that repeat on a steady gap or say they renew. Subtrim does this and shows the cost a month for each. The preview tool does it on your own computer from a Google Takeout export.

How do I stop paying for subscriptions I don't use?

List them first. Then cancel the ones with a clear reason, such as the company's own email saying you haven't logged in. On our sample inbox, 3 of 10 were flagged this way.

Is there a free alternative to the tools I pay for?

Often, for part of the job. RepoQuarry lists open-source alternatives for 90 paid products, each with its licence and what it needs to run. In our sample, 8 of 10 subscriptions had some.

Does Subtrim read my bank account?

No. It reads email receipts only. It never asks for bank or card details and never shows a full card number.

Do I need Grok Bot to use Subtrim?

For the monthly message, yes. The preview tool works on its own, and the skill reads as plain instructions for any agent with Gmail access, though we've written it for Grok Bot and tested it on none.

Related on RepoQuarry

More from the blog

Cookie preferences

Choose what we may store in your browser. You can change this any time from Cookie settings in the footer.

Essential

Security, and remembering this choice. rq-consent · 12 months

Always on