mcpField
G
glab-schedule

glab-schedule

github.com/vince-winkintelCloud & DevOps4999 installsUpdated 1d ago
Repository

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

  1. 01List pipeline schedules
  2. 02Create and delete schedules
  3. 03Return schedule lists as JSON
  4. 04Paginate schedule results
  5. 05Validate variable keys on creation

Use cases

  1. 01Review schedule data in an agent audit
  2. 02Read schedule listings as structured JSON
  3. 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-schedule

After installing, type/glab-schedulein Claude Code to confirm it loaded.

Bundled filesreferences/commands.md

Details

From the project README

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

Comments

Markdown supported