Using Claude to Document My Homelab

Every homelab has a bus factor of one. Mine is me.

If I get hit by a bus tomorrow, my family inherits a closet full of blinking lights, a media server everyone uses, and a network that quietly runs the house. They didn’t ask for any of it. Morbid though it may be to think on, the least I can do is leave instructions.

The cobbler’s children have no shoes.

I write documentation for a living. My own homelab? Years of “I’ll get to it.” Writing docs is the least fun part of running a homelab, and when the only person who needs them is you, it’s easy to tell yourself you’ll remember.

You won’t.

So, this year I tried something different: I used Claude as a documentation partner. Not to write the docs for me, but to interview me, draft, cross-check, and nag me. It worked better than I expected, with a few caveats I’ll get to.

Who the documentation is for

This is the part most homelab docs get wrong. Docs written for Future-Dan are full of shorthand and inside jokes. Docs for my family have to work for someone who has never logged into a router, and don’t particularly want to now.

So I settled on two readers:

  1. My wife who needs to know what’s critical, what can wait, and who to call.
  2. A technically capable friend who might be called in to help. Comfortable with a terminal, but has never seen my setup.

Every page has to make sense to one of those two people. If it only makes sense to me, it’s useless.

One hard rule: no passwords in the docs. Every credential lives in a password manager, and my family has emergency access to it. The docs say who has the access and which entry to look for, but never what’s in it.

Version one: a generated Word document

The first version was a Word document. Not one I typed, though. Claude wrote a small Node.js script that generates the document using the docx library, and I maintained the script rather than the output.

Is that overkill for a document? Probably. But it meant every revision was a clean rebuild from source. No formatting drift, no “which copy is current.” When something changed, I told Claude, it edited the generator, and I got a fresh document.

It grew over a couple of months: an emergency quick-start, what each box does, network layout, how to shut things down safely, who to call.

Then it hit a wall. A single long document is fine to read top to bottom, but nobody in a crisis reads top to bottom. They search for the one thing that’s broken, usually while someone is yelling that Plex is down.

Version two: an Obsidian vault

So I moved everything into Obsidian. Plain Markdown files, linked together, readable without any special software if it comes to that. (This blog is an Obsidian vault too. I have a type.)

Claude did the conversion, and this is where it started to earn its keep. The Claude desktop app can work on files on my computer, so Claude wrote the notes directly into the vault instead of handing me text to copy and paste. The result was fifty-odd notes, organized into sections:

  • Emergency: start here. What’s critical, what can wait.
  • Site: physical layout, power, where everything lives.
  • Network, Storage, Compute: one note per device or service.
  • Operations: routine tasks, backups, updates.
  • Troubleshooting: playbooks for “the internet is down,” “Plex won’t load,” and so on.
  • Glossary: because “VLAN” and “RAIDZ2” mean nothing to most people. Normal people, anyway.

Each playbook is written as steps a non-expert can follow, with clear stopping points: if you get this far and it still doesn’t work, stop and call for help. There are diagrams for the router ports and the storage cabling.

After the conversion, I had Claude check the vault against the old Word document, line by line, looking for anything that didn’t make it across. It found two gaps. Small ones, but exactly the kind of thing you don’t notice until you need it.

Then I did the important part: I declared the vault the source of truth and retired the Word document. Archived it, removed it from Claude’s project files, done.

Two sources of truth is zero sources of truth.

Sooner or later they disagree, and you won’t know which one is wrong.

The daily question

Or: documentation flossing

Here’s the trick that actually keeps the docs alive.

Documentation doesn’t die from being bad. It dies from neglect. You write it once, the network changes, and six months later the docs describe a house you no longer live in.

So I set up a scheduled task: every afternoon, Claude reads the vault, finds a gap, and asks me one question about it. Not ten. One. Things like “the notes say the UPS covers the server, but how long does it last on battery?” or “what does someone do if this VM won’t boot?”

I answer in a sentence or two, Claude updates the relevant note, and the question and answer go into a log. Five minutes, tops. It’s the documentation equivalent of flossing: small enough that I actually do it. (Unlike actual flossing.)

A few rules grew out of this:

  • Anything unknown gets tagged #tbd and listed on an Open Issues page. A visible gap is better than a confident guess.
  • Every change goes in a change log. Date, what changed, why.
  • Don’t document plans. Only document what’s real. A note describing the VLAN I’m going to build is worse than nothing, because someone will believe it.

Audits, not just docs

Once Claude knew the network as well as the docs did, the obvious next step was to have it check whether the docs matched reality.

The first audit was manual. I had Claude look through the router’s web interface using the Claude in Chrome browser extension, strictly read-only, and compare what it saw against the vault.

It found a real problem. The router was running a firmware version with a known SSH vulnerability that was being actively exploited in the wild.

I’d been meaning to update. I had not done so.

I updated that night. That one finding paid for the whole exercise.

Since then, I’ve automated it. A small VM I call claudesrv runs a weekly audit. It uses dedicated read-only accounts on the router, the WiFi controller, and the NAS, collects a snapshot of each, and compares it against last week’s: new devices on the network, changed firewall rules, firmware versions, open ports, pool health. Then a Claude session reads the differences, checks them against the docs, and sends me a short report.

Read-only is the whole point. The audit can look at everything and change nothing. If it gets something wrong, the worst case is a confusing report, not a broken network on a Saturday night.

Most recently, I gave claudesrv its own synced copy of the vault through Obsidian’s headless sync, so the docs and the audit live in the same place.

Where it went wrong

Or: trust, but verify

I’d be lying if I said this was all smooth. Claude made mistakes, and some of them were confident ones.

  • It told me my storage server needed a graphics card to boot. It doesn’t. The board needs one to show a console, which is a different thing. It runs headless just fine. I corrected it, and the docs say the right thing now. But if I hadn’t known better, that would have gone straight into an emergency playbook.
  • It guessed which device a network address belonged to, and guessed wrong. Plausible, tidy, and incorrect.
  • The first version of the NAS audit leaked secrets into its own snapshots. The redaction filter caught passwords and API keys, but missed the fields holding the server’s private SSH host keys. The audit itself flagged it on review, and the filter got fixed. Still, it’s a good reminder that “redacted” means “redacted by the rules someone wrote,” and someone can miss one.

The lesson isn’t “don’t use AI for this.” The lesson is the same as with any junior colleague: it’s fast, it’s tireless, and you check its work. Especially anything that goes into a document someone will follow under stress.

What I’d tell someone starting out

  • Decide who the reader is before you write a word. “Me in six months” is not the same reader as “my family in an emergency.”
  • One source of truth. Pick it, say so, and retire the rest.
  • Small and often beats big and never. One question a day kept my docs current better than any documentation weekend ever did. (I have never actually had a documentation weekend.)
  • Mark unknowns as unknowns. #tbd is honest. A guess dressed up as a fact is a trap.
  • Give automation read-only access unless you have a very good reason not to.
  • Verify everything. Claude is a good writing partner and a good auditor. It is not an oracle.

The docs aren’t finished. They never will be. But for the first time, if something happens to me, the people I care about have a fighting chance.

That’s worth a few minutes a day.

If you want the story of the biggest change those docs had to keep up with, see Migrating Plex, new NAS build.