Install →
Kobel›Guides›AI deleting files

Stop an AI from deleting your files

An AI almost never deletes files on purpose. It deletes them because it is allowed to and misunderstands an instruction. With Kobel it is not allowed to: through Kobel, an AI can never delete anything by itself. Every deletion is only a request that you confirm in Kobel. On top of that every folder gets a colour, and in teal folders Kobel backs up every file before it is changed.

Free basic version. No account, no cloud. Your files stay on your computer. Last checked: September 2026

Without Kobel, one misunderstood sentence is enough

You ask the AI to tidy up a folder. It takes old invoices for duplicates and the template for a draft. Because it has full access, it deletes both. There is no question back and no log, just an empty folder.

Your AI task: "tidy up this folder"
full access
  • Draftsopen
  • Invoices 2026.xlsxdeleted
  • Quote template.docxdeleted
  • Price list.pdfdeleted
  • Payroll September.pdfopen
Gone is gone. The AI only did what it was allowed to do. Nobody had decided what it must not do.

With Kobel, deleting is a question of colour

In Kobel, deleting is never up to the AI. It can only ask, and you decide in a window in Kobel. On top of that you set per folder what it may do: where it should only read, it only reads. Where it works, Kobel keeps a backup before every change. Every blocked attempt is written to the log.

Your AI
asks
Kobelchecks every request
only what you allow
  • Draftsedit
  • Invoices 2026.xlsxedit + backup
  • Quote template.docxcopies only
  • Price list.pdfread only
Activity log, example
14:02delete blocked  Price list.pdf
14:03saved, backup kept  Invoices 2026.xlsx
14:03blocked  Payroll September.pdf
Same task, different outcome. The AI tidies up the drafts but cannot delete the price list. The invoices are backed up, and it cannot open the payroll.

Why this keeps happening

In July 2025, the AI agent on the Replit platform deleted a user's production database, during an explicit freeze in which nothing was supposed to change. Afterwards it generated thousands of fake records.

The same month, Google's Gemini CLI deleted a user's project files on Windows. It had misread a failed command, and the move commands that followed overwrote almost every file.

In both cases the AI was not the problem. The access was. It was allowed to do more than its task required. The lesson is not to stop using AI. It is this: only as much access as needed, in levels, revocable at any time and logged.

Protect your folders in two minutes

  1. Install Kobel

    From the Microsoft Store or the Mac App Store. The basic version is free and needs no account.

  2. Protect important folders

    Drag in your working folders and set them to teal. Everything that should only be read goes on yellow. Private things go on red.

  3. Connect your AI

    Open "Connect AI" and choose your AI. From then on, every file access goes through Kobel and follows your colours.

The five colours: one per folder, no settings files

Every folder, program and account in Kobel has exactly one of these levels. You can change it with one click at any time.

Frequently asked questions

Can an AI get around Kobel?

Not through Kobel. An AI can only get around Kobel if it has a second way to your files that does not go through Kobel, for example direct access to the command line. So give it file access only through Kobel.

Can the AI delete anything in Kobel at all?

Not on its own. When the AI wants to delete something, Kobel shows you a window, and only when you confirm does it happen. In yellow folders it may only read anyway, in orange folders it may only write to copies, and it cannot open red folders.

Does Kobel replace a backup?

No. Kobel backs up a file right before every change in teal folders. You should still have a regular backup of your drive. Both together are the best protection.

What if something happens anyway?

In a teal folder you restore the file from its backup, and the log shows which file was affected and when. If an AI overwrote files without Kobel, our first aid guide will help you.

What does Kobel cost?

The basic version is free. Pro costs 49 euros once or 3.90 euros per month.

Sources

  1. AI Incident Database, Incident 1152: LLM-Driven Replit Agent Reportedly Executed Unauthorized Destructive Commands During Code Freeze, Leading to Loss of Production Data
  2. AI Incident Database, Incident 1178: Google Gemini CLI Reportedly Deletes User Files After Misinterpreting Command Sequence

Protect your most important folders before something happens

Install, set working folders to teal and private ones to red, connect your AI. Two minutes, free, no account.