Agent Skill
2/7/2026

skill-claude-code-scheduler

Schedule and manage Claude Code sessions

D
dnvriend
1GitHub Stars
2Views
npx skills add dnvriend/claude-code-scheduler

SKILL.md

Nameskill-claude-code-scheduler
DescriptionSchedule and manage Claude Code sessions

name: skill-claude-code-scheduler description: Schedule and manage Claude Code sessions

When to Use

  • Schedule and automate Claude Code CLI sessions
  • Manage jobs, tasks, runs, and profiles
  • Implement redundant worker patterns for AI-assisted coding
  • Interact with the scheduler's REST API
  • Use agentic coding patterns (/plan, /orchestrate, /qc, /finalize)

claude-code-scheduler

GUI application and CLI tool for scheduling and managing Claude Code CLI sessions.

Quick Start

# Launch GUI
claude-code-scheduler gui

# Check health
curl http://127.0.0.1:5679/api/health

# List jobs
claude-code-scheduler cli jobs list

# Run a job
curl -X POST http://127.0.0.1:5679/api/jobs/{id}/run

Data Model

Job (1) → Task (many) → Run (many)
  • Job: Container for related tasks
  • Task: A scheduled Claude Code command
  • Run: An execution record

Key Settings

SettingValue
REST API URLhttp://127.0.0.1:5679
ZAI Profile ID5270805b-3731-41da-8710-fe765f2e58be
GUI Port5679
Daemon Port8787

Data Storage

~/.claude-scheduler/
├── jobs.json
├── tasks.json
├── runs.json
├── profiles.json
└── settings.json

Common Operations

Create Job

curl -X POST -H "Content-Type: application/json" \
  -d '{"name":"My Job","profile":"5270805b-3731-41da-8710-fe765f2e58be"}' \
  http://127.0.0.1:5679/api/jobs

Create Task

curl -X POST -H "Content-Type: application/json" \
  -d '{"job_id":"<uuid>","name":"My Task","prompt":"your prompt here","model":"sonnet"}' \
  http://127.0.0.1:5679/api/tasks

Create Task via CLI (with profile shortcuts)

# Use --zai for Z.AI profile
claude-code-scheduler cli tasks create \
    --name "My Task" --prompt "your prompt here" --zai --job <job-id>

# Use --bedrock for AWS Bedrock profile
claude-code-scheduler cli tasks create \
    --name "My Task" --prompt "your prompt here" --bedrock --job <job-id>

Run Job

curl -X POST http://127.0.0.1:5679/api/jobs/{id}/run

Agentic Patterns

CommandPurpose
/planInterview user, create Job→Task breakdown
/orchestrateExecute job with parallel workers
/qcQuality check candidates
/finalizeMove winner, cleanup
/retry-until-greenRetry until QC passes

References

For detailed information, read these files:

  • {baseDir}/references/data-model.md - Complete data model and field definitions
  • {baseDir}/references/cli-commands.md - Full CLI command reference
  • {baseDir}/references/rest-api.md - REST API endpoints and examples
  • {baseDir}/references/installation.md - Installation, shell completion, prerequisites
  • {baseDir}/references/development.md - Development workflow, code style, security
  • {baseDir}/references/troubleshooting.md - Common issues and solutions
  • {baseDir}/references/aws-infrastructure.md - AWS IaC with Pulumi
  • {baseDir}/references/distributed-nodes.md - Worker nodes, SQS/SNS, monitoring
  • {baseDir}/references/agentic-patterns.md - Redundant worker patterns (/plan, /orchestrate)
Skills Info
Original Name:skill-claude-code-schedulerAuthor:dnvriend