Recipes / Claude Code use cases
Claude CodeWorkflowPersonal ops

Claude Code homelab audit under guardrails found fake movies

In a read-only inventory of an old 2 TB download folder, the agent matched each video against his library by exact file size and flagged three fakes: two 'movies' that were Windows programs (.exe) and one 'TV episode' that was a 1.1 GB Windows shortcut (.lnk). It never opened them, and it waited for his OK.

From u/Rizel68 (r/ClaudeAI) on Reddit · Nov 2026

Setup timeNot stated
CostNot stated. Your Claude Code plan; he ran the audit on Opus 5.5, and on a Fable 5.2 trial
RunsWhen an agent is going to work on your home server, and you want a read-only audit before any change
NeedsClaude Code, on your desktop, connected over SSH to the server, A restore point before every change (a backup or snapshot you can roll back to), A guard that blocks destructive commands, gitleaks, to keep secrets out of what the agent commits, Pull requests, so you review every change before it lands, You, approving anything irreversible
Last updated2026-11-15

What the source did

  • He's a chemical plant operator, not an IT professional. He applies continuous improvement to his homelab.
  • His agents run under strict rules: a restore point before every change, a guard that blocks destructive commands, nothing irreversible without his explicit approval, and every change goes through a pull request he reviews.
  • With Opus 5.5 he asked for a full audit of servers, websites, scripts, backups and the automation that keeps things updated. It found things to improve, but nothing fishy.
  • With Fable 5.2 on trial, he ran the same audit and asked it to challenge everything built so far.
  • While cleaning an old 2 TB download folder, it built a read-only inventory and matched every video against his library by exact file size. It flagged three fakes: two "movies" that were Windows .exe files and one "TV episode" that was a 1.1 GB Windows .lnk shortcut.
  • It never opened them. It explained they're harmless on a Linux NAS but dangerous with one double-click from a Windows PC on the network share, and then it waited for his OK.
  • In comments, he says he uses Claude Code desktop over SSH, runs gitleaks, and that the only client playing from that share is an Android TV box.
  • Most likely, his Arr suite grabbed fake releases. The media manager refused to import them, so they sat in the download folder.
“Everything goes through pull requests, with a restore point before any change”— u/Rizel68 (r/ClaudeAI), Reddit

Summary written by Agent Cookbook from the original post. See the original for the full context. How we source recipes

Our notes

What it takes
Claude Code on your desktop, connected over SSH to the server; a restore point before every change; a guard that blocks destructive commands; gitleaks for secret scanning; and pull requests you review. He didn't publish his guard or restore-point setup, so the rules brief is ours.
Where it breaks
Opening a suspicious file: a Windows program or shortcut is harmless on a Linux NAS but can run on one double-click from a Windows PC on the share. Rejected downloads can sit in the folder when the media manager won't import them. His model comparison is his trial experience; we didn't reproduce it.
Human checkpoint
Nothing irreversible runs without your explicit OK. Every change is a pull request you review, and deleting the flagged files is your call.
Tools involved
Claude Code, on your desktop, connected over SSH to the server, A restore point before every change (a backup or snapshot you can roll back to), A guard that blocks destructive commands, gitleaks, to keep secrets out of what the agent commits, Pull requests, so you review every change before it lands, You, approving anything irreversible

✓ Verified Source link checked and still live. Notes by Thomas, editor. How we verify

Copy the prompt

Ours Our version, based on u/Rizel68's post. He didn't publish his prompt, repo or rules file, so this uses only the rules and steps he described. Fill in the [BRACKETS].

STANDING RULES AND AUDIT BRIEF (our version, based on u/Rizel68's post) Rules for every agent that touches this server: 1. Make a restore point before any change. No restore point, no change. 2. Block destructive commands with a guard. [List the commands I never want run.] 3. Anything irreversible waits for my explicit OK. 4. Every change goes in a pull request that I review. 5. Scan for secrets with gitleaks before anything is committed. Audit scope: servers, websites, scripts, backups, and the automation that keeps things updated. Step 1: Read-only inventory. List each folder and file. Change nothing. Step 2: For each video, compare its exact file size with my library. Report every file that matches nothing. Step 3: For each unmatched file, check its real type from the file header. Don't open or run it. Step 4: Flag anything suspicious, explain the risk, and wait for my OK before the next step. Step 5: Challenge what we've already built. List what could fail, and what you would check first.

Approval rule

🛡
Nothing irreversible runs without your explicit OK. Every change is a pull request you review. Deleting the flagged files is your call. Sending, buying, posting and deleting always need a human.

Set it up

  1. Set the rules first: a restore point before any change, a guard on destructive commands, explicit approval for anything irreversible, and changes only as pull requests you review.
  2. Connect the agent to the server, read-only first. He used Claude Code desktop over SSH.
  3. Run a full audit of servers, websites, scripts, backups and the automation that keeps things updated.
  4. Build a read-only inventory of the download folder, and match each video to your library by exact file size.
  5. Check each unmatched file's real type from its file header. Don't open or run it.
  6. Scan for secrets with gitleaks, and wait for your OK before any change.

Common failures

⚠
  • Opening a suspicious file to see what it is. On a Linux NAS a Windows program or shortcut is harmless, but one double-click from a Windows PC on the share can run it.
  • Leaving rejected downloads in the folder. His media manager refused to import the fakes, so they sat there until the audit.
  • Stopping at one audit pass. His Opus 5.5 pass found nothing fishy; the fakes came up in the later run on the trial model.

Variations

  • Check which clients can open each network share. In his setup, the only client playing from the share was an Android TV box.

Related setups: An AWS audit that starts read-only → · Slack Approve/Cancel gate for Claude Code bots → · Get notified when your coding agent needs you →

Get the 10 best agent setups. Free.

Plus new recipes every week. One email, no spam.

Unsubscribe anytime. Privacy

Related recipes

Same job: Personal ops

Claude CodeFull setup

Claude Code rebuilt Apple Photos for his own Immich server

He moved about 85,000 photos and videos to his own Immich server and switched iCloud Photos off. No Immich app felt like Apple Photos, so Claude Code built HomeRoll: a native iOS 26 app that looks and behaves like Photos but keeps everything on his server. He isn't an iOS developer by trade, so Claude wrote nearly all the code while he decided what to build and tested it on his iPhone.

Not stated. Performance on an 85,000-item library took many rounds of measuring on the real devicevia Reddit
Claude CodeFull setup

Old Kindle turned into a weather dashboard by Claude Code

A jailbroken Kindle 7th gen now shows a weather and prayer-time dashboard. Once the Kindle is jailbroken, he says Claude designs and builds whatever app you describe: he sent it a concept image and how it should behave, and it did the rest. He tuned the loop for battery, and published the repo so people don't start fresh and burn tokens.

Not stated. He calls the jailbreak straightforward when you follow the kindlemodding.org guidevia Reddit
Claude CodeFull setup

Claude Code Drives a Phone, and Asks Before It Taps Pay

phonedriver is a free, open-source tool that lets Claude Code use a phone's screen. It reads the screen and taps, types and swipes in any app, on Android or iPhone. Taps on Pay, Place order and similar buttons are held until you approve them. In one demo on a real pizza site, Claude got as far as the payment button, and the poster said no.

Not stated. Installing is one command. An iPhone also needs a one-time Mac and Xcode setupvia Reddit

In these guides: More Claude Code use cases →

Read original ↗