From 941772dd5cf4612516a38b140a3d4cc4a2c5b354 Mon Sep 17 00:00:00 2001 From: Matthias Johnson Date: Fri, 13 Feb 2026 23:14:49 -0700 Subject: [PATCH] Update CLAUDE.md to reflect edit mode and short IDs Co-Authored-By: Claude Opus 4.6 --- CLAUDE.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..2493d9b --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,42 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## Overview + +`systab` is a single-file Bash script that provides a cron/at/batch-like interface for systemd user timers. It creates, manages, and cleans up systemd `.service` and `.timer` unit files in `~/.config/systemd/user/`. Managed units are tagged with a `# SYSTAB_MANAGED` marker comment and a `# SYSTAB_ID=` short ID for human-friendly identification. + +## Running + +```bash +./systab [OPTIONS] +``` + +No build step. The script requires `bash`, `systemctl`, and optionally `notify-send` (for `-i`) and `mail` (for `-m`). + +## Architecture + +The script has two modes controlled by CLI flags: + +- **Job creation** (`-t