{"data":{"slug":"github-aipoch-medical-research-skills-scientific-skills-other-schedule-management-f01c96d0d303","title":"Local Schedule Management for Event Tracking and Conflict Detection","summary":"Add, track, and manage events locally with conflict detection, deadline tracking, and reminder generation. Events are stored in `events.jsonl`, and reminders are exported to `reminders.csv` with optional desktop notifications.","url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-schedule-management-f01c96d0d303","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-schedule-management-f01c96d0d303","markdown_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-schedule-management-f01c96d0d303.md","download_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-schedule-management-f01c96d0d303\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure Python 3.9 or higher is installed. For popup notifications, Windows PowerShell 5.1 or higher is required to run `scripts\/notify.ps1`. Generate reminders first before running the notifier script.","instructions":"---\nname: schedule-management\ndescription: Local schedule management for adding events, tracking deadlines, generating reminders, and detecting time conflicts when users need offline scheduling with optional popup notifications.\nlicense: MIT\nauthor: AIPOCH\n---\n> **Source**: [https:\/\/github.com\/aipoch\/medical-research-skills](https:\/\/github.com\/aipoch\/medical-research-skills)\n\n## When to Use\n- You need lightweight, **offline\/local-only** schedule management without any cloud sync.\n- You want to **add meetings\/events** and store them in a simple local data directory.\n- You need to **track deadlines** (modeled as events with `type=deadline`) and list them by time range.\n- You want to **detect scheduling conflicts** (overlapping time windows on the same date).\n- You need **local reminders** exported to a file and optionally shown as **desktop popup notifications**.\n\n## Key Features\n- Add and store events locally in `events.jsonl`.\n- List and filter events by time range.\n- Import events (operation-driven workflow).\n- Detect conflicts by checking overlapping time intervals.\n- Generate upcoming reminders into `reminders.csv`.\n- Optional popup notifications via a local script with deduplication using `notified.log`.\n- Strict validation for required fields and time format.\n\n## Dependencies\n- Python `>= 3.9`\n- (Optional, for popup reminders) Windows PowerShell `>= 5.1` to run `scripts\/notify.ps1`\n\n## Example Usage\n> Time format must be `YYYY-MM-DD HH:MM` (24-hour).\n\n### 1) Add an event with a reminder\n```bash\npython scripts\/schedule_tool.py \\\n  --operation add \\\n  --data-dir \".\/data\" \\\n  --title \"Project Sync\" \\\n  --start \"2026-02-10 09:00\" \\\n  --end \"2026-02-10 10:00\" \\\n  --type \"meeting\" \\\n  --location \"Room 3A\" \\\n  --notes \"Bring status updates\" \\\n  --tags \"work,weekly\" \\\n  --remind 30\n```\n\n### 2) List events\n```bash\npython scripts\/schedule_tool.py \\\n  --operation list \\\n  --data-dir \".\/data\"\n```\n\n### 3) Detect conflicts\n```bash\npython scripts\/schedule_tool.py \\\n  --operation conflicts \\\n  --data-dir \".\/data\"\n```\n\n### 4) Generate reminders export\n```bash\npython scripts\/schedule_tool.py \\\n  --operation reminders \\\n  --data-dir \".\/data\"\n```\n\nThis generates:\n- `.\/data\/events.jsonl`\n- `.\/data\/reminders.csv`\n\n### 5) (Optional) Show popup reminders with deduplication\n1. Generate reminders first:\n   ```bash\n   python scripts\/schedule_tool.py --operation reminders --data-dir \".\/data\"\n   ```\n2. Run the notifier periodically (e.g., via Task Scheduler):\n   ```powershell\n   powershell -ExecutionPolicy Bypass -File scripts\/notify.ps1 -DataDir \".\/data\"\n   ```\nNotifications are deduplicated using `.\/data\/notified.log` so each reminder time is shown only once.\n\n> Additional examples may be available in `references\/examples.md`.\n\n## Implementation Details\n- **Storage**\n  - Events are appended to `events.jsonl` in the specified `--data-dir`.\n  - Reminder exports are written to `reminders.csv` in the same directory.\n  - Popup notification deduplication uses `notified.log` in the data directory.\n\n- **Operations**\n  - `add`: validates required fields and writes a new event record.\n  - `import`: imports event records (format depends on the script\u2019s supported import mode).\n  - `list`: prints a summary of stored events (optionally filtered by time range).\n  - `conflicts`: checks for overlapping events and reports conflicts.\n  - `reminders`: computes upcoming reminder times and exports them.\n\n- **Time Parsing Rules**\n  - Accepted format: `YYYY-MM-DD HH:MM` (24-hour).\n  - Invalid time formats are explicitly rejected.\n\n- **Conflict Detection**\n  - Two events conflict if they occur on the same date and their time intervals overlap:\n    - Overlap condition: `startA < endB` and `startB < endA`\n  - Conflicts are reported to standard output.\n\n- **Deadlines**\n  - A deadline is represented as an event with `type=deadline`.\n  - Deadline tracking uses the same storage and listing mechanisms as other events.\n\n- **Failure Handling**\n  - Missing required fields terminates only the current operation (does not corrupt existing data).\n  - Validation errors are surfaced clearly (e.g., invalid time format).\n\n- **Security & Compliance**\n  - No network access and no external APIs.\n  - Reads\/writes are restricted to the user-specified local `--data-dir`.","use_cases":["Adding meetings\/events to a local data directory","Tracking deadlines as events with time ranges","Detecting scheduling conflicts on the same date","Generating reminders and optional desktop notifications"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/aipoch\/medical-research-skills\/blob\/686e09dfdb45d9fa1a08664f06bb93769b3c9d91\/scientific-skills\/Other\/schedule-management\/SKILL.md","source_commit":"686e09dfdb45d9fa1a08664f06bb93769b3c9d91","license":"MIT","version":null,"listing_approved_at":"2026-11-26","created_at":"2026-11-24T16:00:29.000000Z","updated_at":"2026-11-26T09:25:03.000000Z","seo_title":"Local Schedule Management for Event Tracking","seo_description":"Manage local schedules, add events, track deadlines, and detect time conflicts without cloud sync.","seo_keywords":["local schedule management","event tracking tool","deadline tracking system","schedule conflict detection","offline event management"]}}