# How to use Claude to set up Headscale

Claude reportedly completed a long-postponed Headscale setup in three hours, requesting credential access and recording corrections, documentation and rollback points.

Agent: Claude
Tools: Claude, Headscale, op, Git, Mattermost
Category: Software & DevOps
Date: 2026-07-19

Outcome: The author reported that Claude completed the Headscale setup in three hours, including tested corrections, documentation, rollback points and searchable progress records.

## Steps

1. Used the author's domain-specific local retrieval resources during the Headscale setup.
2. Requested op access when credentials were needed and logged each usage.
3. Corrected and tested mistakes, including region-setting errors.
4. Recorded documentation, rollback points and learnings with Git-backed work and Mattermost updates.

Human oversight: Claude requested credential access when needed; the author could follow logged activity and Mattermost updates.

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

Canonical URL: https://agentsinuse.com/use-cases/claude-to-set-up-headscale/
