Agents In Use
What’s new todayLast update
5 use cases added today

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.

OUR ADAPTATION

Suggested prompt

Suggested prompt written by Agents In Use, not the source author. Replace bracketed inputs and review tool permissions first.

Use [documentation repository] to document [homelab environment] as I describe it. Follow [operating guidelines], keep current state separate from technical debt and future projects, and inventory [authorized hosts]. For incidents, investigate [alert], propose a fix, and wait for approval before implementation.

Evidence at a glance

Sourced account
Source poster / publisher
sprior
Original account
Read the source ↗
Published
Source link checked
Reported result
The author reports clearing years of technical debt and extending the shared knowledge structure across homelab, financial, medical, robotics and workshop documentation repositories.
Human involvement
The author supplies environment knowledge and operating guidelines, establishes monitoring basics and explicitly approves proposed incident fixes.

A linked account supports attribution. It does not mean we independently reproduced its result.

Report an issue with this caseOpen correction email

Opens your email app with the case link included. Nothing is sent automatically.

How the agent did it

  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.

After more than 25 years of self-hosting, the author used Claude to address accumulated technical debt. They created a Git repository and asked a VS Code/Claude session to collect documentation while they described the environment. Claude owned the repository's edits and commits. Its memory files also lived in Git, making them versioned and available across workstations.

The author added an MkDocs job that published the documentation, excluding Claude's memory, to a secure website. SSH key exchange then allowed Claude to connect to hosts, inventory them and add findings to the documentation. The author supplied communication guidelines and explained systems spanning Jenkins, Docker, k3s, networking, email, databases and web servers. Claude later guided SOPS setup and helped refine centralized metrics and logging.

For incidents, the author describes Claude investigating an alert, optionally writing a postmortem, proposing a fix and implementing it after approval. Updates use plans with checkpoints, acceptance tests and documentation. A shared knowledge repository now supplies guidance across several documentation repositories. The author reports clearing years of technical debt.

Who it's for: Experienced self-hosters who can define operational conventions and approve infrastructure changes.

Prompt
Suggested prompt (written by Agents In Use, not the author's)

Source: Hacker News · sprior

Frequently asked questions

Did this setup require MCP servers?

No. The author explicitly says the setup used no MCPs at the time of the post.

How were proposed incident fixes approved?

The author says Claude investigates, proposes a fix and implements it once the author approves. Postmortems are written when requested.

More details

Remaining steps

  1. Provide operating guidelines and use Claude to investigate alerts and propose fixes.
  2. Approve a proposed fix before Claude implements it.

About this account

Claude owns documentation edits and commits, inventories accessible hosts, investigates alerts and implements fixes after approval.

Platform: Hacker News. Attribution: https://news.ycombinator.com/item?id=50662073. Prompt: Suggested (written by Agents In Use, not the author's). Sourced by the Agents In Use pipeline.

Credit: sprior on Hacker News

Source published

Added to Agents In Use

Source checked

Tools and topics

Git · VS Code · MkDocs · SSH · SOPS

Homelab · Documentation · Incident response

Editorial completeness: 100/100. Measures documented fields, not agent performance or verified outcomes.