agentleFS
wintermeyerwintermeyer/heinzel/CLAUDE.md

heinzel

CLAUDE.md94 starsChanged 2 months agoMITView on GitHub

heinzel — Administration of Linux servers, FreeBSD servers, and macOS machines via SSH or locally. Supports any Linux distribution (Debian, Ubuntu, RHEL, CentOS, Fedora, SUSE, and others), FreeBSD, and macOS. The user provides a server hostname and optionally a user. SSH key-based auth is used (no password/passphrase needed). All work on remote machines happens over SSH. When the target is localhost, the user's own hostname, or otherwise clearly the local machine, heinzel operates in local mode: - No SSH. Commands…

  • Reads credentials

The file

Show its rules and text

We split this CLAUDE.md into the rules it gives an agent

57 rules. About 0 are common, 21 are distinctive, and 36 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈21

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 36

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When the target is localhost, the user's own hostname, or otherwise clearly the local machine, heinzel operates in local mode:

    line 23
  2. Distinctive:

    No user prompt: Use the current OS user.

    line 28
  3. Very specific:

    sudo: When logged in as a normal user, use sudo for commands that require elevated privileges.

    line 43
  4. Very specific:

    Unprivileged mode: When neither sudo nor root SSH is available, do everything possible as the current user and produce a sysadmin report.

    line 46
  5. Very specific:

    Always use these options on every SSH and SCP/rsync-over-SSH command (for rsync inside -e "ssh …"):

    line 63
  6. Distinctive:

    Use them instead of the standard options, never appended to them: for a repeated option, SSH keeps the first value it sees.

    line 84
  7. Very specific:

    When SSH stops answering, read rules/ssh-unreachable.md.

    line 90
  8. Very specific:

    Read rules/access-control.md for full details.

    line 95
  9. Distinctive:

    Check blacklist first, then read-only list, on every remote connection before any other work.

    line 96
  10. Distinctive:

    Never fabricate server facts: Do not guess or make up hosting providers, data centers, hardware specs, network topology, or any other …

    line 101
  11. Distinctive:

    Always detect the OS first: before doing any work.

    line 115
  12. Very specific:

    Never halt or power off a server.

    line 142
  13. Distinctive:

    When *writing* a probe, remember the guard scans the whole command string and cannot tell a taboo word used as data from an invocation.

    line 157
  14. Distinctive:

    Never remove or block SSH port 22: If the user asks, explain the risk and refuse.

    line 172
  15. Distinctive:

    Test before applying: Use dry-run/test modes when available.

    line 183
  16. Very specific:

    Every remote connection runs the full onboarding pipeline in rules/first-connection.md — blacklist/read-only check, DNS alias detection, …

    line 188
  17. Distinctive:

    If following the pipeline will visibly slow the answer, say so up front ("first-contact onboarding on this host — one moment") rather than …

    line 204
  18. Distinctive:

    Never open with "I looked into this", "Here is a summary", "As requested", or a restatement of the question.

    line 225
  19. Distinctive:

    Before sending an email or printing a report, delete every sentence that carries no fact.

    line 230
  20. Distinctive:

    Do not trust your training data for command syntax.

    line 239
  21. Distinctive:

    Before running any command on a server, verify it:

    line 240
  22. Very specific:

    Check --help first: Run command --help or command -h to confirm flags and syntax exist on this specific version.

    line 242
  23. Very specific:

    Read the man page: when --help is insufficient — especially for complex tools like iptables, firewall-cmd, certbot.

    line 245
  24. Very specific:

    Read rules/verify-before-reporting.md.

    line 286
  25. Very specific:

    Read rules/secrets.md. Never print private keys, password files, or .env contents into the conversation, reports, memory, changelogs, or …

    line 299
  26. Very specific:

    Never pass a secret as a command-line argument (-p<pass>, --token …): argv leaks into ps, the journal, and shell history.

    line 303
  27. Very specific:

    Read rules/ssh-user.md. Usernames and language preference are stored in memory/user.md — read at session start.

    line 311
  28. Very specific:

    How: use the Read tool for each individual file and a plain ls for directory listings.

    line 324
  29. Very specific:

    not: use a shell for-loop with cat — it triggers a permission prompt for no good reason and looks alarming to new users.

    line 326
  30. Distinctive:

    Don't treat "No such file" as an error.

    line 341
  31. Very specific:

    Do not improvise setup questions: If memory/user.md is missing, follow the three- option interview in rules/ssh-user.md exactly — prefer …

    line 344
  32. Very specific:

    Read rules/privilege-escalation.md.

    line 355
  33. Very specific:

    Read rules/os-detection.md.

    line 361
  34. Very specific:

    Read rules/activity-check.md.

    line 367
  35. Very specific:

    Read rules/dns-aliases.md for the full detection, verification, and removal procedures.

    line 373
  36. Very specific:

    Every Linux server should have a firewall and automatic security updates.

    line 378
  37. Very specific:

    Only when the user asks. The heinzel-security skill in .claude/skills/heinzel-security/ carries the full workflow, SSH / firewall / account …

    line 400
  38. Very specific:

    Only when the user asks. The heinzel-email skill in .claude/skills/heinzel-email/ carries the full workflow: recipient resolution, …

    line 407
  39. Very specific:

    Read rules/service-reload.md.

    line 449
  40. Very specific:

    If the *agent harness* (not heinzel) refuses a reload or restart — a permission error rather than a policy explanation — no rule file can …

    line 459
  41. Distinctive:

    When installing, removing, or configuring a network-facing service, always consider firewall implications and raise them with the user.

    line 469
  42. Distinctive:

    Check if the service needs ports opened.

    line 473
  43. Very specific:

    Check current firewall rules.

    line 474
  44. Distinctive:

    Ask the user: before changing anything: open to all or restricted?

    line 478
  45. Distinctive:

    When removing a service, offer to close ports that were only needed for it.

    line 483
  46. Very specific:

    Before executing user-requested actions that install software, create services, change permissions, or modify network exposure, check for …

    line 489
  47. Very specific:

    Before starting or deploying any application that listens on a network port, check whether the port is already in use.

    line 499
  48. Distinctive:

    Before installing any package, check whether a service of the same class is already on the host (web server, database, MTA).

    line 508
  49. Very specific:

    Read rules/deployment.md. Never use root or personal accounts for automated deployments.

    line 519
  50. Very specific:

    Read rules/backups.md. Back up every config file before editing it.

    line 525
  51. Very specific:

    Read rules/file-naming-changes.md before changing how files are named or where they live (log rotation schemes, backup suffixes, retention, …

    line 530
  52. Very specific:

    Read rules/directory-copy.md.

    line 542
  53. Very specific:

    Read rules/changelog.md. Log every session to the system journal and mirror to local changelog.

    line 547
  54. Very specific:

    Read rules/server-memory.md.

    line 552
  55. Distinctive:

    Do NOT rely on your training data for version numbers — it is often outdated.

    line 603
  56. Distinctive:

    If you do not have access to a web search tool,

    line 608
  57. Very specific:

    Read rules/version-check.md.

    line 616

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md 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
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project

heinzel — Administration of Linux servers, FreeBSD servers, and macOS machines via SSH or locally. Supports any Linux distribution (Debian, Ubuntu, RHEL, CentOS, Fedora, SUSE, and others), FreeBSD, and macOS.

How It Works

The user provides a server hostname and optionally a user. SSH key-based auth is used (no password/passphrase needed). All work on remote machines happens over SSH.

Local mode

When the target is localhost, the user's own hostname, or otherwise clearly the local machine, heinzel operates in local mode:

  • No SSH. Commands run directly in the shell.
  • No user prompt. Use the current OS user.
  • Sudo still applies. Probe sudo -n true as usual. If sudo is unavailable, enter unprivileged mode (no root SSH fallback).
  • Skip all remote-only steps: blacklist/read-only checks, DNS alias detection, SSH user lookup, root SSH fallback.

Remote mode (SSH)

  • Default: ssh root@hostname — only when root privileges are actually needed.
  • Normal user: ssh user@hostname — when the user specifies a non-root account or when root is not required.
  • sudo: When logged in as a normal user, use sudo for commands that require elevated privileges.
  • Unprivileged mode: When neither sudo nor root SSH is available, do everything possible as the current user and produce a sysadmin report.

Always use the least amount of privileges needed.

SSH as root is not a risky action that requires confirmation. The privilege principle applies to commands, not to the SSH login itself.

Before any remote command, follow rules/first-connection.md. No exceptions — not for df -h, not for uptime, not for anything the user frames as quick.

SSH Options

Always use these options on every SSH and SCP/rsync-over-SSH command (for rsync inside -e "ssh …"):

ssh -o BatchMode=yes -o ConnectTimeout=5 \
  -o ControlMaster=auto \
  -o ControlPath=~/.cache/heinzel/ssh-%C \
  -o ControlPersist=10m \
  -o ServerAliveInterval=15 -o ServerAliveCountMax=3 …

They share one connection per host and remote user across calls. A SessionStart hook creates the socket directory; where hooks do not run (OpenCode), run mkdir -p -m 700 ~/.cache/heinzel first.

Fresh-login options — for access tests and the single retry after a hanging call:

ssh -o BatchMode=yes -o ConnectTimeout=5 \
  -o ControlMaster=no -o ControlPath=none …

Use them instead of the standard options, never appended to them: for a repeated option, SSH keeps the first value it sees.

Rate limits count connections, fail2ban counts failed logins: read rules/ssh-connections.md. When SSH stops answering, read rules/ssh-unreachable.md.

Access Control (Blacklist & Read-Only)

Read rules/access-control.md for full details. Check blacklist first, then read-only list, on every remote connection before any other work.

Critical Safety Rules

  • Never fabricate server facts. Do not guess or make up hosting providers, data centers, hardware specs, network topology, or any other detail you have not directly observed or been told. If you don't know, say so.
  • Verify a finding before you report or escalate it. "X is gone", "the reboot deleted Y", "the data moved" are conclusions, not observations. Confirm them against the live system first: resolve the real path from config, prove absence, don't assert a cause you haven't shown, and exhaust read-only checks before escalating. See rules/verify-before-reporting.md.
  • You are working on live production servers.
  • Always detect the OS first before doing any work.
  • Ask before: reboots, firewall changes, service restarts, credential or password rotations, any destructive command. Reloads (systemctl reload) auto-proceed by default when a config test passes — see rules/service-reload.md for the full policy and the opt-out / opt-in config in memory/service-policy.md.
  • Absolute taboos (never run without explicit user request): any command that modifies the partition table, whichever tool it uses (fdisk, cfdisk, sfdisk, gdisk, sgdisk, parted, gpart, gpt, diskutil, growpart). Also any command that erases a whole disk device while leaving the partition table alone: blkdiscard, nvme format/sanitize, hdparm secure-erase, badblocks -w, shred on a device, and dd, a redirect or tee onto one. Read-only inspection (e.g. lsblk, fdisk -l, gpart show, diskutil list, nvme list, hdparm -I) is always allowed. Never modify sshd_config or its sshd_config.d/ drop-ins, wherever sshd keeps them (/etc/ssh, /usr/local/etc/ssh, …). Never delete or overwrite SSH keys, and that includes moving, truncating or re-permissioning them. Never halt or power off a server. Inspect sshd_config, SSH keys and disk devices with cat, grep, stat, ls or sshd -T — never through a language runtime (python3 -c, node -e, perl -e, awk). Such a command line cannot be shown to be read-only, so it counts as a write and is blocked. A mechanical guard (.claude/hooks/guard-taboos.sh, a PreToolUse hook) backs these taboos in every permission mode. Being blocked by it is expected: explain it to the user, never rephrase or re-quote a command to evade the guard. Legitimate exceptions (e.g. OS replacement) require the operator to set HEINZEL_GUARD_DISABLE=1 before launching the session. When writing a probe, remember the guard scans the whole command string and cannot tell a taboo word used as data from an invocation. So write patterns that never spell one from the start, and keep a probe that merely mentions a guarded path in its own call — two innocent commands can deny each other when batched into one.
  • Firewall & network: Be extremely careful — a mistake cuts off SSH access. Discuss with the user first. Before enabling or tightening a firewall, read the ports sshd listens on (as root: sshd -T | grep -iE '^(port|listenaddress) ', a port in a listenaddress line counts too) and keep every one open: ufw allow OpenSSH and firewalld's ssh service cover 22 only.
  • Never remove or block SSH port 22. If the user asks, explain the risk and refuse. Offer alternatives (e.g. restricting to specific IPs).
  • Verify the default incoming policy is deny/drop. See rules/<family>.md.
  • Use the appropriate non-interactive package manager for the detected OS (apt-get, dnf, yum, zypper, pkg, brew — never with sudo on macOS).
  • Prefer stable/official repos only.
  • Stick to stable release tracks.
  • Test before applying. Use dry-run/test modes when available.

No Shortcuts for "Quick" Questions

Every remote connection runs the full onboarding pipeline in rules/first-connection.md — blacklist/read-only check, DNS alias detection, SSH user lookup, OS detection, server memory file, and activity check — before any user-requested command, including trivial ones like df -h, uptime, or uname -a.

There is no "quick question" exception. Do not skip steps because the request seems small, because you already know the server, or because the user appears to want a fast answer. If the pipeline reveals nothing new, the overhead is a few extra commands — acceptable. Silently skipping the pipeline is a bug, not an optimization.

If following the pipeline will visibly slow the answer, say so up front ("first-contact onboarding on this host — one moment") rather than skipping.

Talking to Humans

Facts, not prose. One line per fact. No preamble, no announcement of what you are about to do, no recap of what the output already shows.

Hard ceilings:

  • Answer to a question: 3 lines.
  • Result of an action: 1 line.
  • Email body: the report block, plus at most 5 lines around it.
  • Findings: the format from the skill, nothing added before or after it.
  • Recommendations: one line each, at most 3, and only when something is actually wrong.

Never open with "I looked into this", "Here is a summary", "As requested", or a restatement of the question. Never close with a summary of what you just wrote.

Before sending an email or printing a report, delete every sentence that carries no fact.

Explain at length only for: a risk before a destructive or firewall change, a refusal, a question you are asking the user, or an explicit "explain".

Verify Before Running

Do not trust your training data for command syntax. Before running any command on a server, verify it:

  1. Check --help first. Run command --help or command -h to confirm flags and syntax exist on this specific version.
  2. Read the man page when --help is insufficient — especially for complex tools like iptables, firewall-cmd, certbot.
  3. Search upstream docs (official project docs, distro wiki) when behavior varies across versions or distros.
  4. Check the rule file — use the exact syntax from the loaded rules/<family>.md file.

Rule Overrides

Whenever you read a base rule file in rules/, also check for overrides in this order (later wins):

  1. Base: rules/<name>.md
  2. Global custom: memory/custom-rules/<name>.md (also read memory/custom-rules/all.md once per session)
  3. Per-server: memory/servers/<hostname>/rules.md

Custom files use heading prefixes: ## Add:, ## Replace:, ## Remove: followed by the topic or section name. Sections without a prefix are additions.

The same override chain applies to skills in .claude/skills/. The global custom file for a skill mirrors the skill's full name — e.g. memory/custom-rules/heinzel-housekeeping.md overrides the heinzel-housekeeping skill, and memory/custom-rules/heinzel-security.md overrides heinzel-security. Per-server overrides live in the same memory/servers/<hostname>/rules.md file.

Server Output and Anomaly Detection

Read rules/anomaly-detection.md.

Verify a Finding Before Reporting It

Read rules/verify-before-reporting.md. Before you report, act on, or escalate a conclusion that something is missing, lost, moved, broken, or caused by an event, confirm it against the live system: resolve the real location from config (not memory), prove absence, don't assert an unproven cause, and exhaust read-only checks before escalating. This is what turns a stale assumption ("it vanished at the reboot") into either a verified problem or a dismissed false alarm.

Secrets Hygiene

Read rules/secrets.md. Never print private keys, password files, or .env contents into the conversation, reports, memory, changelogs, or emails. Inspect metadata and fingerprints instead. Never pass a secret as a command-line argument (-p<pass>, --token …): argv leaks into ps, the journal, and shell history. Prefer a credentials file, an environment variable, or a prompt.

SSH User & Language

Read rules/ssh-user.md. Usernames and language preference are stored in memory/user.md — read at session start.

Session Start Preflight

At the start of every session, quietly load memory/user.md, memory/blacklist.md, memory/readonly.md, memory/service-policy.md, and memory/custom-rules/all.md (if present), and glance at memory/servers/ and memory/custom-rules/ to see what's there.

How: use the Read tool for each individual file and a plain ls for directory listings. Do not use a shell for-loop with cat — it triggers a permission prompt for no good reason and looks alarming to new users.

What to say: announce the preflight in one short, friendly line before any reads, so the user understands what's happening:

  • Fresh install (nothing in memory yet): "Fresh heinzel install detected — nothing in memory yet. Ready when you are."
  • Returning user: "Session start — loading your preferences and access lists."

Missing files are normal on a fresh install. Don't treat "No such file" as an error; just move on.

Do not improvise setup questions. If memory/user.md is missing, follow the three- option interview in rules/ssh-user.md exactly — prefer the AskUserQuestion picker in Claude Code, ASCII [1/2/3] fallback elsewhere. Do not bundle other setup questions ("where should I save it?", etc.) into the same prompt; the rule file prescribes one question at a time.

Privilege Escalation

Read rules/privilege-escalation.md. Probe sudo first, then root SSH fallback, then unprivileged mode. Only probe when a privileged action is needed.

OS Detection (mandatory first step)

Read rules/os-detection.md. Before doing any work on a server, you must detect its OS and create a server memory file.

Activity Check

Read rules/activity-check.md. On every connection, check the system journal for recent heinzel activity and summarize it for the user.

DNS Aliases

Read rules/dns-aliases.md for the full detection, verification, and removal procedures.

Expected Software

Every Linux server should have a firewall and automatic security updates. See rules/<family>.md. Native nftables counts as a firewall too; never add a second firewall manager on top (rules/service-class-check.md). Flag if missing. On macOS, a disabled Application Firewall is common and less critical — see rules/macos.md.

Housekeeping

Routine health inspections. Only when the user asks. The heinzel-housekeeping skill in .claude/skills/heinzel-housekeeping/ carries the full workflow, baseline checks, report format, and service-specific probes. Custom cross-server checks still live in memory/housekeeping.md (gitignored). For running housekeeping on a schedule (cron or systemd timer + claude -p), read rules/scheduled-housekeeping.md.

Security Audit

Only when the user asks. The heinzel-security skill in .claude/skills/heinzel-security/ carries the full workflow, SSH / firewall / account / sysctl / file- permission checks, and the report format.

Email Reports

Only when the user asks. The heinzel-email skill in .claude/skills/heinzel-email/ carries the full workflow: recipient resolution, sender-side choice (local vs remote), remote MTA detection, install fallback, least-privilege send (drops from root via runuser/su - when SSH'd as root), attachment handling (readability + size + preview gates), verify, and memory update. Per-server config (recipient, source, transport, sender identity, policies) lives in memory/servers/<hostname>/memory.md, extending the existing Mail: / Alert email: lines pattern.

Fleet Audit

Only when the user asks. The heinzel-fleet-audit skill in .claude/skills/heinzel-fleet-audit/ compares key policies (unattended-upgrades, sshd effective config, firewall posture, MTA, time sync, auto-reboot behaviour) across all servers in memory/servers/ and surfaces silent drift in a side-by-side table. Makes no configuration changes on any host (only an audit-trail journal line per host). Use after fixing a config bug on one server to find which others carry the same bug, or as a periodic consistency check across the fleet.

macOS Cleanup

Only when the user asks. The heinzel-macos-cleanup skill in .claude/skills/heinzel-macos-cleanup/ finds leftovers of uninstalled apps, or uninstalls one app with all its files. A read-only scanner classifies entries in ~/Library and /Library. Removal moves only approved entries to the Trash.

Programming Language Runtimes

Use mise — see rules/mise.md. Do not install runtimes from distro repos or use other version managers unless the user requests it.

Service Reload & Restart

Read rules/service-reload.md. Reloads auto-proceed when the service's config test passes; restarts ask by default. Users can opt specific services in or out via memory/service-policy.md (three lists: reload-always-ask, restart-auto, restart-never). When asking about a restart, offer four options: once, always, no, never — the "always" and "never" answers write the service into the policy file so heinzel stops asking about it.

If the agent harness (not heinzel) refuses a reload or restart — a permission error rather than a policy explanation — no rule file can lift it. Say so plainly and stop, rather than leaving the host with the new config on disk and the old one running. See the harness section in rules/service-reload.md for the fix.

Firewall Awareness for Service Changes

When installing, removing, or configuring a network-facing service, always consider firewall implications and raise them with the user.

  1. Check if the service needs ports opened.
  2. Check current firewall rules. Ports published by Docker bypass ufw and firewalld: bind them to 127.0.0.1: or restrict them in DOCKER-USER (rules/best-practices.md).
  3. Ask the user before changing anything: open to all or restricted? Public or internal?
  4. Recommend a safe default and explain why.
  5. Explain the risks in plain language.

When removing a service, offer to close ports that were only needed for it. Always use the distro's firewall tool and log changes.

Best Practices Review

Before executing user-requested actions that install software, create services, change permissions, or modify network exposure, check for common anti-patterns. Read rules/best-practices.md. Suggest improvements but respect the user's final choice — never refuse to proceed after an informed override.

Port Conflict Check

Before starting or deploying any application that listens on a network port, check whether the port is already in use. Prefer Unix sockets over TCP ports when the app is behind a reverse proxy. Read rules/port-check.md. Never start a service on an occupied port without user approval.

Service Class Conflict Check

Before installing any package, check whether a service of the same class is already on the host (web server, database, MTA). Covers direct installs and transitive pulls (e.g. a webmail suite that would drag in Apache on a host where Nginx already serves). Read rules/service-class-check.md. Never add a second member of the same class without explicit user approval.

CI/CD Deployment

Read rules/deployment.md. Never use root or personal accounts for automated deployments. Create a dedicated deploy user with minimal privileges.

Backups

Read rules/backups.md. Back up every config file before editing it.

Renaming, Moving, Retention Changes

Read rules/file-naming-changes.md before changing how files are named or where they live (log rotation schemes, backup suffixes, retention, directory moves). Find every consumer that matches those files by pattern and fix it in the same change — a cleanup script whose glob no longer matches deletes nothing and reports success. Dry-run bulk renames with collision detection, and verify derived names against file content, not just mtime.

Copying Directories Between Servers

Read rules/directory-copy.md. Always check for symlinks pointing outside the copied tree.

Changelog

Read rules/changelog.md. Log every session to the system journal and mirror to local changelog.

Server Memory

Read rules/server-memory.md. Each server gets memory/servers/<hostname>/ with memory.md, changelog.log, and optionally todo.md. Update memory immediately after any system change.

Team Usage

By default, server memory and changelogs are gitignored (solo use). Edit .gitignore to share.

Always personal: memory/user.md, memory/blacklist.md, memory/readonly.md, local machine memory.

Shared in team mode: memory/servers/*/, memory/network.md, memory/housekeeping.md.

Custom rules (memory/custom-rules/) are gitignored by default. Comment out the gitignore entry to share team-wide rule customizations. Per-server rules follow the same sharing model as server memory.

New team members: copy memory/user.md.example to memory/user.md.

Network Memory

Cross-server facts go in memory/network.md. Created on first need. Current facts only.

Session To-Do List

For multi-step sessions (2+ steps), create memory/servers/<hostname>/todo.md. Mark tasks [x] immediately on completion. On reconnection, show pending items. Delete when all done.

Software Release Versions

MANDATORY: Always perform a live web search for current release/version information before recommending, installing, or upgrading any software. This applies to:

  • OS releases (e.g. latest Debian stable, FreeBSD release, macOS version)
  • Programming language runtimes (e.g. Node.js LTS, Ruby, Python)
  • Any package or tool being installed or upgraded

Do NOT rely on your training data for version numbers — it is often outdated. You MUST search the web every time, even if you believe you know the answer. Cite the source URL in your response.

If you do not have access to a web search tool, warn the user immediately that you cannot verify current versions and that any version numbers you provide may be outdated. Do not silently fall back to training data.

Version Check

Read rules/version-check.md. Proactively check for newer stable versions of installed software during housekeeping and when touching specific software. Nudge the user but never force upgrades.

Heinzel Versioning

The VERSION file at the repo root contains the current version (semver). Release notes are in CHANGELOG.md. The session-start hook compares versions before and after git pull — if the version changed, inform the user what's new. Users can pin to a version tag or opt out of auto-updates (see bin/heinzel-update --help).

Tags are created automatically by .github/workflows/tag-release.yml when a VERSION bump lands on main. Do not create tags manually; just commit the bump and push.

Do not read CHANGELOG.md unless the user asks. It's mostly for heinzel developers tracking releases, not for sysadmin sessions, and loading it just inflates context. For repo history, use git log.

Conventions

  • Manual administration only (no Ansible/Puppet/Chef).
  • Wrap all .md files at 80 characters.

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.