c-schedule — скилл для Claude Code: задачи по расписанию с лимитом расходов
Ставит повторяющиеся задачи Claude на launchd или cron, следит за расходом и отдаёт результат в Telegram, файл или уведомление.
npx skills add daxaur/openpaw --skill c-schedule -a claude-codeЧто делает c-schedule
Скилл добавляет в OpenPaw управление расписанием: вы описываете задачу словами, а openpaw schedule add превращает её в задание системного планировщика. На macOS это plist в ~/Library/LaunchAgents/, на Linux — строка в crontab. Синтаксис человеческий: weekdays 8am, every 30 minutes, daily 21:00, но сырой cron вида 0 8 * * 1-5 тоже принимается.
Расходы ограничены дважды. Дневной потолок по умолчанию $5 — задание пропускается, если лимит будет превышен; у каждой задачи свой бюджет, по умолчанию $1.00. Все траты пишутся в ~/.config/openpaw/schedule-costs.json, история хранится 30 дней и старые записи удаляются сами. Проверить текущие цифры можно командой openpaw schedule costs, а новый потолок поставить через openpaw schedule set-cap 10.00.
Результат уходит в Telegram, в файл или в уведомление macOS. Файл получает копию всегда, даже если выбран другой канал. Для доставки в Telegram нужен настроенный мост — без него этот способ не заработает. Запускать задания вручную стоит до того, как доверять им расписание: openpaw schedule run <id> показывает, что именно вернёт модель.
Какие задачи решает
- поставить ежедневную сводку писем на утро
- следить за уведомлениями GitHub по вечерам
- проверять срочные письма каждые полчаса
- ограничить траты на автоматические запуски
- отключить задачу, не удаляя её настройки
Примеры запросов агенту
- Добавь задачу на будни в 8 утра: проверь почту и собери сводку важных писем.
- Поставь дневной лимит расходов 10 долларов.
- Покажи расходы по всем задачам и запусти задачу вручную.
Как установить c-schedule
1Через Skills CLI (Vercel)
npx skills add daxaur/openpaw --skill c-schedule -a claude-code2Вручную: положить файлы
~/.claude/skills/c-schedule/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/c-schedule/
1Через Skills CLI (Vercel)
npx skills add daxaur/openpaw --skill c-schedule -a codex2Вручную: положить файлы
.agents/skills/c-schedule/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add daxaur/openpaw --skill c-schedule -a cursor2Вручную: положить файлы
.cursor/skills/c-schedule/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install daxaur/openpaw c-schedule2Вручную: положить файлы
.github/skills/c-schedule/SKILL.md1Через Skills CLI (Vercel)
npx skills add daxaur/openpaw --skill c-schedule -a gemini-cli2Командой платформы
gemini skills install https://github.com/daxaur/openpaw --path skills/c-scheduleВручную: положить файлы
.devin/skills/c-schedule/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add daxaur/openpaw --skill c-schedule -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о c-schedule
Как установить c-schedule в Claude Code?
Выполните npx skills add daxaur/openpaw --skill c-schedule -a claude-code, затем проверьте, что файл появился по пути ~/.claude/skills/c-schedule/SKILL.md.
Что делает c-schedule?
Позволяет ставить задачи Claude на расписание через launchd или cron, ограничивать их бюджет и получать результат в Telegram, файл или уведомление.
Нужен ли Telegram для работы скилла?
Нет, это только один из способов доставки. Для него требуется настроенный Telegram-мост, а результат в файл сохраняется всегда.
Исходный текст
SKILL.md · MIT
--- name: c-schedule description: Smart scheduling — automate recurring Claude tasks with cost control. Deliver results to Telegram, file, or notification. Built into OpenPaw. tags: [schedule, automation, cron, recurring, proactive, cost-control] --- # Smart Scheduling Automate recurring tasks with Claude. Jobs run on a schedule via launchd (macOS) or cron (Linux), with built-in cost caps to prevent runaway spending. ## Managing Schedules ```bash # Add a scheduled job (inline) openpaw schedule add "weekdays 8am" --run "check email and summarize the important ones" openpaw schedule add "daily 9pm" --run "review today's GitHub notifications" openpaw schedule add "every 30 minutes" --run "check if any urgent emails arrived" --model haiku # Interactive mode (prompts for all options) openpaw schedule add # List all jobs openpaw schedule list # Remove a job openpaw schedule remove <id> # Manually trigger a job openpaw schedule run <id> # Enable/disable without removing openpaw schedule enable <id> openpaw schedule disable <id> # View cost usage openpaw schedule costs # Set daily cost cap openpaw schedule set-cap 10.00 ``` ## Schedule Syntax Human-readable formats: - `weekdays 8am` or `weekdays 08:00` - `daily 9pm` or `daily 21:00` - `weekends 10am` - `every 30 minutes` - `every 2 hours` - `monday 9am`, `friday 5pm`, etc. - Raw cron: `0 8 * * 1-5` ## Cost Control - **Daily cap**: $5/day by default — jobs are skipped if the cap would be exceeded - **Per-run budget**: Each job has its own budget cap (default $1.00) - **Cost tracking**: All costs logged to `~/.config/openpaw/schedule-costs.json` - **30-day history**: Old entries auto-pruned - **View anytime**: `openpaw schedule costs` ## Delivery Methods - **telegram** — results sent directly to your Telegram (requires Telegram bridge setup) - **file** — saved to `~/.config/openpaw/schedule-results/` (always saved as backup) - **notify** — macOS notification via terminal-notifier ## How It Works 1. Jobs are stored in `~/.config/openpaw/schedules.json` 2. Each job registers as a system scheduler: - **macOS**: launchd plist in `~/Library/LaunchAgents/` - **Linux**: crontab entry 3. When triggered, `openpaw schedule run <id>` is called 4. Claude runs with the job's prompt via the Agent SDK 5. Results are delivered to the configured channel 6. Cost is recorded ## Guidelines - Use **haiku** for simple, frequent checks (cheapest) - Use **sonnet** for routine tasks like email summaries - Use **opus** only for complex analysis (expensive) - Test jobs manually first: `openpaw schedule run <id>` - Start with a higher per-run budget and reduce once you know typical costs - Check `openpaw schedule costs` to monitor spending ## Common Recipes ```bash # Morning briefing to Telegram openpaw schedule add "weekdays 8am" --run "give me a morning briefing: check email, calendar, and any GitHub notifications" --delivery telegram # Evening project summary openpaw schedule add "daily 6pm" --run "summarize what I worked on today based on git commits and recent files" --delivery file # Urgent email monitor openpaw schedule add "every 30 minutes" --run "check for urgent emails and notify me if any" --model haiku --budget 0.25 --delivery notify ```
© daxaur · MIT · daxaur/openpaw