c-schedule
关于
c-schedule automates recurring Claude tasks via cron/launchd with built-in cost controls. It enables scheduled runs for tasks like email summaries and notifications, delivering results to Telegram, files, or other outputs. This skill is built into OpenPaw for developers needing proactive automation with spending safeguards.
快速安装
Claude Code
推荐npx skills add daxaur/openpaw -a claude-code/plugin add https://github.com/daxaur/openpawgit clone https://github.com/daxaur/openpaw.git ~/.claude/skills/c-schedule在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
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
# 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 8amorweekdays 08:00daily 9pmordaily 21:00weekends 10amevery 30 minutesevery 2 hoursmonday 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
- Jobs are stored in
~/.config/openpaw/schedules.json - Each job registers as a system scheduler:
- macOS: launchd plist in
~/Library/LaunchAgents/ - Linux: crontab entry
- macOS: launchd plist in
- When triggered,
openpaw schedule run <id>is called - Claude runs with the job's prompt via the Agent SDK
- Results are delivered to the configured channel
- 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 coststo monitor spending
Common Recipes
# 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
GitHub 仓库
相关推荐技能
executing-plans
设计该Skill用于当开发者提供完整实施计划时,以受控批次方式执行代码实现。它会先审阅计划并提出疑问,然后分批次执行任务(默认每批3个任务),并在批次间暂停等待审查。关键特性包括分批次执行、内置检查点和架构师审查机制,确保复杂系统实现的可控性。
requesting-code-review
设计该Skill可在完成任务、实现主要功能或合并代码前自动调度代码审查子代理,确保实现符合需求和计划。它支持通过指定git SHA范围进行精准的代码变更审查,帮助开发者在关键节点及时发现潜在问题。核心原则是"早审查、勤审查",适用于开发流程的各个关键阶段。
connect-mcp-server
设计这个Skill指导开发者如何将MCP服务器连接到Claude Code,支持HTTP、stdio和SSE三种传输协议。它涵盖了从安装配置到认证安全的完整流程,适用于集成GitHub、Notion、数据库等外部服务。当开发者需要添加集成、配置外部工具或提及MCP相关功能时,这个Skill能提供实用的操作指南。
web-cli-teleport
设计该Skill帮助开发者根据任务特性选择Claude Code的Web或CLI界面,并指导如何在两种环境间无缝迁移会话。它能分析任务复杂度、迭代需求等要素,推荐最优工作界面和工作流。关键特性包括会话状态管理、环境切换指导和上下文优化建议。
