About glab-schedule
glab schedule is a glab command family for managing GitLab CI/CD schedules. It can list, create, and delete schedules, and supports JSON output for structured listing and automation.
Key features
- 01List pipeline schedules
- 02Create and delete schedules
- 03Return schedule lists as JSON
- 04Paginate schedule results
- 05Validate variable keys on creation
Use cases
- 01Review schedule data in an agent audit
- 02Read schedule listings as structured JSON
- 03Create schedules with validated variables
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ vince-winkintel/ gitlab-cli-skills --skill glab-scheduleAfter installing, type/glab-schedulein Claude Code to confirm it loaded.
Bundled filesreferences/commands.md
Details
From the project READMEglab schedule
Overview
Work with GitLab CI/CD schedules.
USAGE
glab schedule <command> [command] [--flags]
COMMANDS
create [--flags] Schedule a new pipeline.
delete <id> [--flags] Delete the schedule with the specified ID.
list [--flags] Get the list of schedules.
run <id> Run the specified scheduled pipeline.
update <id> [--flags] Update a pipeline schedule.
FLAGS
-h --help Show help for this command.
-R --repo Select another repository. Can use either `OWNER/REPO` or `GROUP/NAMESPACE/REPO` format. Also accepts full URL or Git URL.
Quick start
glab schedule --help
Structured output
glab schedule list supports --output json / -F json for structured output, which is useful for agent automation.
The human list header uses the API-reported total across pages rather than treating the current page length as the total. JSON still contains only the fetched page of schedules; use --page and --per-page to inspect subsequent pages. Do not mistake the header's total for a fully fetched inventory, and do not create, update, run, or delete schedules as part of a read-only audit.
# List schedules with JSON output
glab schedule list --output json
glab schedule list -F json
Schedule variables
Schedule variable keys are validated before schedule creation. Empty keys are rejected, so check generated --variable <key>:<value> input before creating schedules.
Subcommands
See references/commands.md for full --help output.