Back to Skills

c-schedule

daxaur
Updated 2 days ago
5 views
143
6
143
View on GitHub
Designscheduleautomationcronrecurringproactivecost-control

About

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.

Quick Install

Claude Code

Recommended
Primary
npx skills add daxaur/openpaw -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/daxaur/openpaw
Git CloneAlternative
git clone https://github.com/daxaur/openpaw.git ~/.claude/skills/c-schedule

Copy and paste this command in Claude Code to install this skill

Documentation

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 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

# 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 Repository

daxaur/openpaw
Path: skills/c-schedule
0
ai-agentanthropicautomationclaudeclaude-codecli

Related Skills

executing-plans

Design

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

View skill

requesting-code-review

Design

This skill dispatches a code-reviewer subagent to analyze code changes against requirements before proceeding. It should be used after completing tasks, implementing major features, or before merging to main. The review helps catch issues early by comparing the current implementation with the original plan.

View skill

connect-mcp-server

Design

This skill provides a comprehensive guide for developers to connect MCP servers to Claude Code using HTTP, stdio, or SSE transports. It covers installation, configuration, authentication, and security for integrating external services like GitHub, Notion, and custom APIs. Use it when setting up MCP integrations, configuring external tools, or working with Claude's Model Context Protocol.

View skill

web-cli-teleport

Design

This skill helps developers choose between Claude Code Web and CLI interfaces based on task analysis, then enables seamless session teleportation between these environments. It optimizes workflow by managing session state and context when switching between web, CLI, or mobile. Use it for complex projects requiring different tools at various stages.

View skill