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