# How to use Claude to document and operate a homelab

A long-time self-hoster gave Claude a versioned documentation repository, SSH access and operating guidelines, then used it for inventories, incident investigation and approved fixes.

Agent: Claude (via VS Code/Claude session)
Tools: Git, VS Code, MkDocs, SSH, SOPS
Category: Software & DevOps
Date: 2026-11-27

Outcome: The author reports clearing years of technical debt and extending the shared knowledge structure across homelab, financial, medical, robotics and workshop documentation repositories.

## Steps

1. Create a Git repository and describe the environment for Claude to document.
2. Store Claude's memory files in the repository and publish documentation with MkDocs.
3. Configure SSH key exchange so Claude can inventory hosts and update the docs.
4. Provide operating guidelines and use Claude to investigate alerts and propose fixes.
5. Approve a proposed fix before Claude implements it.

Human oversight: The author supplies environment knowledge and operating guidelines, establishes monitoring basics and explicitly approves proposed incident fixes.

Source: [sprior on Hacker News](https://news.ycombinator.com/item?id=50662073)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-document-and-operate-a-homelab/
