heinzel-housekeeping
Skill94 starsChanged 2 months agoMITView on GitHub
Run a heinzel housekeeping (health) inspection on a
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- heinzel-emailSkill
- heinzel-fleet-auditSkill
- heinzel-macos-cleanupSkill
- heinzel-securitySkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Load overrides: Before running any check, apply the full heinzel rule-override chain (later wins):
- Very specific: line 38
Select checks: Run all baseline checks for the detected OS plus any service-specific checks triggered by entries in the server's memory.md …
- Distinctive: line 62
Read on demand, only when the relevant section applies:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
heinzel-housekeeping
Routine health inspection for a server or the local machine. Never run automatically — only on explicit user request. The whole of the heinzel first-connection onboarding pipeline still applies before any of this runs.
Workflow
- Load overrides. Before running any check, apply the full
heinzel rule-override chain (later wins):
memory/custom-rules/heinzel-housekeeping.mdif present (global custom overrides for this skill —## Add:,## Replace:,## Remove:prefixes perCLAUDE.md).memory/housekeeping.mdif present (additional cross- server custom checks — free-form Markdown, gitignored by default).memory/servers/<hostname>/memory.md(service list, last-known state, per-server quirks).memory/servers/<hostname>/rules.mdif present (per-server rule overrides — same prefixes as above, highest precedence). Note:memory/custom-rules/all.mdis already loaded by the CLAUDE.md session-start preflight — do not re-read it.
- Select checks. Run all baseline checks for the detected OS
plus any service-specific checks triggered by entries in the
server's
memory.md(e.g. PostgreSQL, nginx, Docker). The backup-presence check fromreferences/backup-presence.mdruns on every host, independent ofmemory.mdentries. - Run the version check procedure from
rules/version-check.mdfor all Tier 1 software and include the "Versions" section in the report. - Run checks in 2–3 parallel batches for speed — not one massive batch. If a single parallel tool call errors, Claude Code cancels sibling calls, so grouping limits blast radius.
- Emit the report using the format in
references/report-format.md. - Update
memory.mdimmediately after, if the checks revealed changed facts (disk usage shifted significantly, a new service appeared, a service was removed). Log the summary to the system journal and mirror to the local changelog per
rules/changelog.md:logger -t heinzel "Housekeeping: 1 CRITICAL, 2 WARN, \ all services OK"
References
Read on demand, only when the relevant section applies:
references/report-format.md— required output format and severity rules (CRITICAL / WARN / INFO).references/baseline-linux.md— disk, memory, load, uptime, updates, firewall, NTP, logs, SSL certs, kernel.references/baseline-macos.md— disk, memory, load, updates, Homebrew, Application Firewall, SMART, time sync.references/backup-presence.md— generic "any backup at all?" probe, the provider-snapshot question, and theBackup:acknowledgment line inmemory.md.references/service-checks.md— PostgreSQL, backups, nginx, Docker, Ollama, node_exporter, NVIDIA GPU, MariaDB/MySQL, WireGuard. Only run the ones the server'smemory.mdmentions.references/unprivileged.md— which checks work without root and how to report skipped ones.
Scope and limits
- Linux (Debian, Ubuntu, RHEL, CentOS, Fedora, SUSE) and macOS are fully covered by the baseline references above.
- FreeBSD baselines are not yet covered. On a FreeBSD host,
do not silently skip: run the closest equivalent checks
manually (
pkg audit -F,pkg upgrade -n,freebsd-update fetchdry run,pfctl -s infofor the firewall,df -h/swapinfo/uptimefor the basics,service -efor enabled services) and state in the report that FreeBSD has no baseline reference yet.
Custom checks
Users add their own checks in memory/housekeeping.md
(gitignored, free-form Markdown). The file describes what to
check, what commands to run, and what thresholds to use. Do not
pre-create an empty file — it is created when needed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

