agentleFS
wintermeyerwintermeyer/heinzel/.claude/skills/heinzel-housekeeping/SKILL.md

heinzel-housekeeping

Skill94 starsChanged 2 months agoMITView on GitHub

Run a heinzel housekeeping (health) inspection on a

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
  1. Very specific:

    Load overrides: Before running any check, apply the full heinzel rule-override chain (later wins):

    line 24
  2. Very specific:

    Select checks: Run all baseline checks for the detected OS plus any service-specific checks triggered by entries in the server's memory.md …

    line 38
  3. Distinctive:

    Read on demand, only when the relevant section applies:

    line 62

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Load overrides. Before running any check, apply the full heinzel rule-override chain (later wins):
    • memory/custom-rules/heinzel-housekeeping.md if present (global custom overrides for this skill — ## Add:, ## Replace:, ## Remove: prefixes per CLAUDE.md).
    • memory/housekeeping.md if 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.md if present (per-server rule overrides — same prefixes as above, highest precedence). Note: memory/custom-rules/all.md is already loaded by the CLAUDE.md session-start preflight — do not re-read it.
  2. 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 from references/backup-presence.md runs on every host, independent of memory.md entries.
  3. Run the version check procedure from rules/version-check.md for all Tier 1 software and include the "Versions" section in the report.
  4. 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.
  5. Emit the report using the format in references/report-format.md.
  6. Update memory.md immediately after, if the checks revealed changed facts (disk usage shifted significantly, a new service appeared, a service was removed).
  7. 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 the Backup: acknowledgment line in memory.md.
  • references/service-checks.md — PostgreSQL, backups, nginx, Docker, Ollama, node_exporter, NVIDIA GPU, MariaDB/MySQL, WireGuard. Only run the ones the server's memory.md mentions.
  • 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 fetch dry run, pfctl -s info for the firewall, df -h / swapinfo / uptime for the basics, service -e for 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.